cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
622
Views
0
Helpful
3
Replies

Route-map wrong!

Hello together

I am testing route-map in GNS3 but my trace does not go whereby R3: 16.16.16.2.

What should I change?

Thanks in advance

 

R1#

interface FastEthernet0/0

 ip address 192.168.1.1 255.255.255.0

 duplex half

!

interface FastEthernet2/0

 ip address 15.15.15.1 255.255.255.252

!

interface FastEthernet3/0

 ip address 16.16.16.1 255.255.255.252

 ip policy route-map pbr

!

router eigrp 1

 network 15.15.15.0 0.0.0.3

 network 16.16.16.0 0.0.0.3

 network 192.168.1.0

 no auto-summary

 eigrp router-id 1.1.1.1

 neighbor 15.15.15.2 FastEthernet2/0

 neighbor 16.16.16.2 FastEthernet3/0

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!

access-list 101 permit ip host 192.168.1.11 host 8.8.8.8

!

route-map pbr permit 20

 match ip address 101

 set ip next-hop 16.16.16.2

!

PC1> trace 8.8.8.8

trace to 8.8.8.8, 8 hops max, press Ctrl+C to stop

 1   192.168.1.1   14.411 ms  15.883 ms  13.341 ms

 2   15.15.15.2   48.863 ms  43.685 ms  46.043 ms

 3   *13.13.13.2   76.037 ms (ICMP type:3, code:3, Destination port unreachable)

1 Accepted Solution

Accepted Solutions

Hi @qumarce-habibzadeh ,

The route-map is fine, but it is applied to the wrong interface. Remove the "ip policy route-map pbr" from fa3/0 and put it on the interface facing the PC (fa0/0).

 

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

3 Replies 3

Hi @qumarce-habibzadeh ,

The route-map is fine, but it is applied to the wrong interface. Remove the "ip policy route-map pbr" from fa3/0 and put it on the interface facing the PC (fa0/0).

 

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi Harold!

Thanks a lot for your tip. It is going perfect on!

PC1> trace 8.8.8.8
trace to 8.8.8.8, 8 hops max, press Ctrl+C to stop
1 192.168.1.1 44.025 ms 30.353 ms 17.088 ms
2 16.16.16.2 45.774 ms 44.807 ms 45.397 ms
3 *12.12.12.2 78.242 ms (ICMP type:3, code:3, Destination port unreachable)

 

You are very welcome @qumarce-habibzadeh and thanks for the feedback.

Regards,
Harold Ritter, CCIE #4168 (EI, SP)