nanog mailing list archives
Re: default routes on Ciscos
From: David Papp <david () oanet com>
Date: Fri, 11 Jul 1997 09:19:58 -0600 (MDT)
You can do it using route-maps. Here's a quick and dirty example I will quickly type up. Route-maps are a source type routing rather than destination based. So you are grabbing packets with your source IP and any destination IP and tell them to go out Path B instead of the default path A. (I hope I didn't screw up any of the orders, I am merely trying to demonstrate a simple example, corrections are welcome. :) --------------------------->8----------------------------- ! int e0 description Your Internal LAN ip address 192.168.100.1 255.255.255.0 ip policy route-map DEFROUTE ! int s0 description Upstream Path A ip address 192.168.150.2 255.255.255.0 ! int s1 description Upstream Path B ip address 192.168.200.2 255.255.255.0 ! ip route 0.0.0.0 0.0.0.0 192.168.150.1 ! access-list 125 permit ip 192.168.100.0 0.0.0.255 any ! route-map DEFROUTE permit 10 match ip address 125 set ip next-hop 192.168.200.1 ! --------------------------->8--------------------------------- ...David * David Papp | 4907-99 Street | Phone: +1.403.430.0811 * * Manager | Edmonton, Alberta | Fax: +1.403.436.9963 * * OA Internet Inc. | Canada, T6E 4Y1 | Email: david () oanet com * On Fri, 11 Jul 1997, Nick Lauriat wrote:
Hi there! Just curious if anyone out there knows of a way to configure default routes on a per interface basis on a Cisco. So that different interfaces had different default routes statically defined. Any thoughts? Thanks! Nick Lauriat
Current thread:
- default routes on Ciscos Nick Lauriat (Jul 11)
- Re: default routes on Ciscos David Papp (Jul 11)
- Re: default routes on Ciscos DAVE NORDLUND (Jul 14)
- Re: default routes on Ciscos Jeremy Hall (Jul 14)
- Re: default routes on Ciscos Paul A Vixie (Jul 19)
- <Possible follow-ups>
- Re: default routes on Ciscos Srinivas Vegesna (Jul 14)