Home page logo

nanog logo 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. :)

int e0
 description Your Internal LAN
 ip address
 ip policy route-map DEFROUTE
int s0
 description Upstream Path A
 ip address
int s1
 description Upstream Path B
 ip address
ip route
access-list 125 permit ip any 
route-map DEFROUTE permit 10
 match ip address 125
 set ip next-hop


* 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? 


Nick Lauriat

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]