pix: route question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 09:24 AM - edited 03-11-2019 03:49 AM
quick question...
if i have 2 route statements:
route outside 0.0.0.0 0.0.0.0 192.168.1.1
and another one
route outside 172.10.10.10 255.255.255.255 192.168.2.1...
will the first route take precedence over the second one?
- Labels:
-
NGFW Firewalls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 09:41 AM
whether it's pix or ios, the most specific route should take precedence. in this case, the 172.10.10.10 route takes precedence.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 09:44 AM
great...thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 09:55 AM
as routing is always firstly match the longest prefix in this case 2nd one 255.255.255.255 prefix is /32
if you add any route later whose prefix length is less like /24 or /0 then always /32 route would be prefer
Hope this will clear & if pl rate
