- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 09:22 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?
Solved! Go to Solution.
- Labels:
-
VPN
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 11:34 AM
The route with longer prefix match will take precedence, i.e. packets destined to the host 172.10.10.10 will use the 192.168.2.1 gateway. Packets toward other destinations will use the default gateway of 192.168.1.1.
This is because the route statement pointing to the 172.10.10.10/32 is more specific than the other one, which actualy is not specific at all, it points to any destination, not known to the system.
Hope I was helpful.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 11:34 AM
The route with longer prefix match will take precedence, i.e. packets destined to the host 172.10.10.10 will use the 192.168.2.1 gateway. Packets toward other destinations will use the default gateway of 192.168.1.1.
This is because the route statement pointing to the 172.10.10.10/32 is more specific than the other one, which actualy is not specific at all, it points to any destination, not known to the system.
Hope I was helpful.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 04:30 PM
great thanks...that answered my question!
