|
Home > Archive > CCNP > June 2001 > route maps question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
route maps question
|
|
| mbeaver 2001-06-15, 2:38 am |
| Can i pass this one through you folks:
routerC#show route-map clearwater
route-map clearwater, permit, sequence 10
Match clauses:
interface Ethernet0
Set clauses:
ip next-hop 1.1.1.1
Policy routing matches: 0 packets, 0 bytes
route-map clearwater, permit, sequence 15
Match clauses:
ip address (access-lists): 3
Set clauses:
ip next-hop 2.2.2.2
Policy routing matches: 0 packets, 0 bytes
route-map clearwater, permit, sequence 20
Match clauses:
Set clauses:
ip next-hop 3.3.3.3
Policy routing matches: 0 packets, 0 bytes
RouterC#show access-list 3
Standard IP access list 3
permit 4.4.4.4
following route map has been applied to e0 as an ip policy, what would be the next-hop for a packet received on e0 with an address of 4.4.4.4 | |
| peterd 2001-06-15, 4:37 am |
| Hi,
1.1.1.1 ?
once the first check is 'passed' then the rest of them aren't checked.
So anything coming in off E0 will pass the first check, do whatever is is the associated 'set' and exit the list.
Well, I think so...
but I'm open to correction.
regards
Peter | |
| mbeaver 2001-06-15, 4:40 am |
| well thats what i thought too but boson say 2.2.2.2. I don't see why it passes through the first match statement.
Are boson wrong here? | |
| peterd 2001-06-15, 4:50 am |
| Ye gods! that was quick!
Either Boson are wrong or the actual command for the first element is incorrect in some way and we can't see it. Maybe it 'looks' right but isn't, if you see what I mean.
My excuse is that I have limited experience of these things, I'm a poke'n'hope man!
Regards
Peter | |
| richard21 2001-06-16, 6:22 am |
| My 2 cents :
The first match statement seems to indicate that a packet with source address the int e0 of the router should be policy routed and sent to 1.1.1.1 .
The second statement says that a packet with
source address 4.4.4.4 should be policy routed and sent to the next hop 2.2.2.2 .
The second statement has no match statement .
The question refers to a packet received on int e0 and with source address 4.4.4.4 .
This matches the second match statement ,which means that the next hop will be 2.2.2.2 .
So I think Boson is right here .
Regards . |
|
|
|
|