Re: Punching a hole in policy routing

From: Earl Smith (ews@parkcity.net)
Date: Thu Jan 06 2000 - 21:51:49 EST


Thank you very much. I will give it a try.

--On Fri, 7 Jan 2000 03:34:33 +0100, Jesper Skriver said...
> On Thu, Jan 06, 2000 at 09:02:44PM -0500, Earl Smith wrote:
>> I have a 2620 that has two T1s connected to two different
>> providers in preparation for multihoming (no, I don't intend to
>> take full views). Provider A routes me a /23. Provider B routes
>> me a /24. The 2620 has 2 WICs and 1 Ethernet.

>> What's the secret?
>
> Subnet A: 1.1.1.0/23
> Subnet B: 2.2.2.0/24
>
> access-list 100 permit 1.1.1.0 0.0.1.255 2.2.2.0 0.0.0.255
> access-list 100 permit 2.2.2.0 0.0.0.255 1.1.1.0 0.0.1.255
> access-list 101 permit 1.1.1.0 0.0.1.255 any
> access-list 102 permit 2.2.2.0 0.0.0.255 any
>
> route-map POLICY deny 5
> match ip address 100
> !
> route-map POLICY permit 10
> match ip address 101
> set interface Serial1/0
> !
> route-map POLICY permit 20
> match ip address 102
> set interface Serial1/1
> !
> interface Ethernet0/0
> ip policy route-map POLICY
>
> /Jesper
>
> --
> Jesper Skriver, jesper(at)skriver(dot)dk
> Work: Network manager @ AS3292 (Tele Danmark DataNetworks)
> Private: Geek @ AS2109 (A much smaller network ;-)
>
> One Unix to rule them all, One Resolver to find them,
> One IP to bring them all and in the zone to bind them.
>

---End reply

-- 
Regards,

Earl

**************************************************** Earl Smith Systems Administrator Parkcity Net Off: (435) 658-2398 Fax: (435) 658-0702 PO Box 980654, Park City, UT 84098 ***************************************************



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:08 EDT