The Null interface Router is “bit bucket” p or can be considered as “black hole “interface where all unwanted traffic is sent to be discarded. It is mostly used for filtering the un-wanted traffic because traffic can be discarded by simply by routing it to null interface.
Although the same objective can be achieved through using the access-lists but they require more CPU usage. Unlike loop back interfaces there could be only one null interface and it accepts only one configuration command “no ip unreachable”.
The Null interface is virtual interface and is always up these interfaces never forward or receive traffic rather packets routed to this interface are dropped. This is Cisco router mechanism that helps to presents routing loops, EIGRP (Enhanced interior gateway routing protocol creates a route to Null0 when it summarizes a group of routes.
There is no need to assign IP address to Null interface rather creates a static route and put the next hop Null interface (Null0).
If we do not want the user on (10.10.2.0) to reach (10.10. 3.0) we can add static route on router 2 that will send all the traffic destined for (10.10. 3.0) network to null interface.
The null interface is usually used for preventing the routing loops, when we configure summarization in OSPF ABR (Area Border router) and ASBR (Autonomous Border router) generates the summary routes but they are not real in redirects them to Null interface and it’s called discard routes. A Null route is the route where matching packets are dropped instead of forwarding them to any destination.
In order to verify the configuration of null interface use “show interface null0” command as shown below.
During the DOS attack the null route can be temporarily placed as next hop which will cause that device to drop all the traffic for all unwanted traffic.
Same Like Cisco System Unix system also uses null interfaces where all the output send to /dev/null disappears, In Linux world it is not always interested to see the output of command.
The Summary address command is used only in ASBRs (Autonomous border routers) since the connected routes are being redistributed the router itself uses null 0 as a discard route.
Download What is Null Interface in a Cisco Router? in pdf – Click here