10-31-2006 02:56 PM - edited 03-03-2019 02:32 PM
10-31-2006 03:05 PM
The intention of a black-hole route is to draw traffic to a destination, only to discard it. You achieve it by creating a route to null0. For example, if you configured the following 'ip route 10.0.0.0 255.0.0.0 null0', and redistributed it into a routing protocol, all traffic for 10.0.0.0/255.0.0.0 woudl head to the router where they would get dropped.
Paresh
10-31-2006 03:31 PM
what if we use no ip route...............
10-31-2006 03:45 PM
Not sure what you mean by that... you gotta have a route in order to point it to Null0.
PK
10-31-2006 05:04 PM
i mean instead of using a black hole route can we use a no ip route statement to remove the route for the destination.
10-31-2006 05:11 PM
i mean instead of using a black hole route can we use a no ip route statement to remove the route for the destination.
10-31-2006 05:55 PM
If you do that, then the only thing that will do is to discard any packets for any destinations not known by the router (assuming it does not have a default route). However, the rest of the network does not learn of the route that is being black-holed.. you need to create a route to Nullo and tell the rest of the network about it.
Paresh
11-05-2006 04:34 PM
Routing to null has the added value that no ICMP destination unreachable will be sent back to the sending station.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide