Network layer attacks

What are different types of network layer attacks . Why firewall cannot prevent these attacks and specifically IPS is needed to block these attacks ? What techniques does IPS apply to mitigate the network layer attacks ?