May I take a stab, recognizing my experience here is limited to my reading.
Original questions:
1. If 172.1.1.1 is down, can the traffic sourced by 172.16.0.0 will be
routed, or it would be drop?
CL: I don't know. My guess is the traffic would be black-holed. Same as if,
in the regular routing process, and interface was down.
2. Where should be the other traffic route? Is it routed or drop?
CL: based on the construction of your original route-map, all other traffic
would be dropped. Like an access list, a route map list has an implicit deny
at the end. To correct this ( if that is your intention ) you would need to
add a third section to the route map
e.g. route-map test permit 30
this line would pass all remaining traffic into the regular routing process.
* > 3. If question 1 is drop, how should I do to route that traffic?
CL: answer as part f #2
A further comment:
> > access-list 1 permit 172.16.0.0 0.0.255.255
> access-list 2 permit 172.16.112.0 0.255.255.255
CL: I am not sure what access-list 2 accomplishes, particularly in the
context of your route-map construction. All traffic from the 172.16.0.0
network would be covered by access-list 1, which in turn is processed as
part of the route-map test 10 section. Nothing from the 172.16.0.0 network
would ever reach the route-map test 20 section.
Also, 172.16.112.0 0.255.255.255 is a bit uncharacteristic. It is
effectively the same as saying 172.0.0.0 0.255.255.255, but less easy to
read, and hence a bit more confusing.
Chuck
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of vtam
Sent: Monday, December 04, 2000 5:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Policy routing question
But the route table is learn through dynamic routing, so i cannot specify
the next_hop. So are there any solution? Thanks.
"Brian" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> vtam,
>
> You must specify multiple hops on the "set ip next-hop" line.........like:
>
> route-map test permit 10
> match ip address 1
> set ip next-hop 172.1.1.1 172.1.1.2
>
> if 172.1.1.1 is down, it will use 172.1.1.2
>
> Brian
>
>
>
> On Mon, 4 Dec 2000, vtam wrote:
>
> > I don't really know how the policy routing run.
> > This is my quetion: i want to apply policy routing according to the
source,
> > but when the set next-hop is not accessible, it should be route as
normal
> > routing process( route according to dest. ip address).
> >
> > This is the config i do.
> >
> > int ser 1/0
> > ip policy route-map test
> >
> > access-list 1 permit 172.16.0.0 0.0.255.255
> > access-list 2 permit 172.16.112.0 0.255.255.255
> >
> > route-map test permit 10
> > match ip address 1
> > set ip next-hop 172.1.1.1
> >
> > route-map test permit 20
> > match ip address 2
> > set ip next-hop 172.1.1.3
> >
> >
> >
> > I want to ask some question:
> > 1. If 172.1.1.1 is down, can the traffice sourced by 172.16.0.0 will be
> > routed, or it would be drop?
> > 2. Where should be the other traffic route? Is it routed or drop?
> > 3. If question 1 is drop, how should i do to route that traffic?
> >
> > Thanks.
> >
> >
> > _________________________________
> > FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> > Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
> >
>
> -----------------------------------------------
> Brian Feeny, CCNP, CCDP [EMAIL PROTECTED]
> Network Administrator
> ShreveNet Inc. (ASN 11881)
>
> _________________________________
> FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>
_________________________________
FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]