vol 2 (lab-6)

I have a doubt regarding section 3.3 in lab 6 of Vol-2. As per solutions,(pasted below)

 


=====    R2     ===========

router ospf 1

redistribute bgp 200 metric 20 subnets

!

router bgp 200

!

address-family ipv4

neighbor 150.1.109.9 route-map FROM_R9 in

neighbor 150.1.109.9 route-map TO_R9 out

neighbor 150.1.109.9 send-label

exit-address-family

!

route-map FROM_R9 permit 10

set ip next-hop 150.1.9.9

!

route-map TO_R9 permit 10

set ip next-hop 20.1.2.2

==================================

 

 

When i try to set next hop as 20.1.2.2, it gives error that it can send its own ip address. I actually dont understand the logic behind setting next hop as 20.1.2.2 through route-map and then sending it through "neighbor" command to R9.

 

Please help me!

Sign In or Register to comment.