[cisco-nas] default gateway for specific subnet

Rivo Tahina RAZAFINDRATSIFA r.tahina at wanadoo.mg
Mon Jun 21 11:00:09 EDT 2004


Thank you Oli,
it works fine.

Kind regards.


At 07:38 21/06/04 +0200, you wrote:

> >
> > yes it is a source based route map, how to implement that?
>
>access-list 10 permit 192.188.254.0 0.0.0.255
>!
>route-map foo permit 10
>  match ip address 10
>  set ip next-hop 10.0.0.1
>!
>
>interface <ingress-interface>
>  ! this is where the packets from 192.188.254.0/24 enter the router
>  ip policy route-map foo
>
>hope it helps..  more info available at
>http://www.cisco.com/warp/public/cc/techno/protocol/tech/plicy_wp.htm
>http://www.cisco.com/warp/public/105/36.html
>http://www.cisco.com/warp/public/105/pbr_cmds_ce.html
>
>         oli
>
>
>
> > Kind regards.
> > At 16:52 18/06/04 -0400, you wrote:
> >> I think a source based route map is probably what they're looking
> >> for.
> >>
> >>
> >> -----Original Message-----
> >> From: cisco-nas-bounces at puck.nether.net
> >> [mailto:cisco-nas-bounces at puck.nether.net] On Behalf Of Chip Old
> >> Sent: Friday, June 18, 2004 5:34 AM
> >> To: cisco-nas at puck.nether.net
> >> Subject: Re: [cisco-nas] default gateway for specific subnet
> >>
> >> On Fri, 18 Jun 2004 07:08 +0400, Rivo Tahina RAZAFINDRATSIFA wrote:
> >>
> >>> I have a router with one default gateway, how can I tell this
> >>> router to use another default gateway for only specified subnet,
> >>> ip route 0.0.0.0 0.0.0.0 192.168.0.1
> >>> but I need the class 192.188.254.0/24 to use 10.0.0.1 as default
> >>> gateway.
> >>
> >> ip route 0.0.0.0 0.0.0.0 192.168.0.1
> >> ip route 192.188.254.0 255.255.255.0 10.0.0.1
> >>
> >> _______________________________________________
> >> cisco-nas mailing list
> >> cisco-nas at puck.nether.net
> >> https://puck.nether.net/mailman/listinfo/cisco-nas
> >>
> >> ---
> >> Incoming mail is certified Virus Free.
> >> Checked by AVG anti-virus system (http://www.grisoft.com).
> >> Version: 6.0.706 / Virus Database: 462 - Release Date: 14/06/2004
> >>
> >>
> >> ---
> >> Outgoing mail is certified Virus Free.
> >> Checked by AVG anti-virus system (http://www.grisoft.com).
> >> Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004
> >>
> >>
> >> _______________________________________________
> >> cisco-nas mailing list
> >> cisco-nas at puck.nether.net
> >> https://puck.nether.net/mailman/listinfo/cisco-nas
> >
> > _______________________________________________
> > cisco-nas mailing list
> > cisco-nas at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nas



More information about the cisco-nas mailing list