RE: IP route 0.0.0.0 vs 255.255.255

From: Salau,Olayemi (Olayemi.Salau@southampton.gov.uk)
Date: Thu May 24 2007 - 06:08:26 ART


Hello Frog,

0.0.0.0 0.0.0.0 means default route out thru 2.2.2.2
0.0.0.0 255.255.255.255 means any destination route out thru 2.2.2.2

The first is like generating or originating default route towards the
destination while the second is just matching any destination route not
included in the RIB.

The router will prefer to use the default route (/0 over /32) if you
have both in the RIB. This behaviour is reverse of the longest prefix
match for dynamic routing.

In the case the interface using the /0 is down, then it uses the route
via the interface through /32

Many Thanks



This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART