in

IEOC - INE's Online Community

Welcome to INE's Online Community - IEOC - a place for CCIE and CCENT candidates to connect, share, and learn. Our Online Community features CCIE forums and discussions for all tracks including Routing & Switching, Voice, Security, Service Provider, Wireless,, and Storage. Through these online communities you can discuss your questions with thousands of your peers, hundreds of CCIE's and INE's own team of world renowned CCIE instructors and authors, Brian Dennis - Quintuple CCIE #2210, Brian McGahan – Triple CCIE #8593, Petr Lapukhov - Quad CCIE #16379, and Mark Snow - Dual CCIE #14073.
Congratulations!
Latest post 02-09-2012 5:23 AM by qqabdal. 21 replies.
Page 1 of 2 (22 items) 1 2 Next >
Sort Posts: Previous Next
  • 02-08-2012 4:29 PM

    CCIE Vol1 routing and Switching --BGP Over GRE (7.13)


    R2  ------------------------------------CORE-----------------------------------R6
    f0/0                                                                                               f0/0  
    155.1.23.2                                                                                 155.1.146.6

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

    R2 is advertising 222.22.2.0/30 in BGP and R6 is advt 118.0.0.0/30 in BGP.
    No BGP in the core and no redistributaion is allowed from BGP to IGP in core.

    Requriment :- R2 should ping to 118.0.0.0/30 with source as LOOPBACK IP
    and R6 should ping to 222.22.2.0/30 with source as LOOPBACK IP

    On R2

    Int tu 0
    Ip address 10.10.10.1/24
    tunnel src 155.1.23.2
    tunnel dest 155.1.146.6

    ruter BGP 200
    nei 155.1.146.6 remote-as 100
    nei 155.1.146.6 route-map fromR4 in
    net 150.1.2.2 mask 255.255.255.255 <----Advt loopback in BGP


    route-map fromR4
    set ip next hop 10.10.10.2

    On R6

    Int tu 0
    Ip address 10.10.10.2/24
    tunnel src 155.1.146.6
    tunnel dest 155.1.23.2

    ruter BGP 200
    nei 155.1.23.2 remote-as 100
    nei 155.1.23.2 route-map fromR4 in
    net 150.1.6.6 mask 255.255.255.255 <----Advt loopback in BGP

    route-map fromR4
    set ip next hop 10.10.10.1

    I have done the above mentioned configuration and everthing is working fine(Tunnel are UP)

    However if i change the nexthop on R2 to 10.10.10.1 and on R6 to 10.10.10.2 its not working.

    As per my understanding its should work.

    Please help to find the resaon behind this.

    • Post Points: 50
  • 02-08-2012 5:26 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

     

    I'm not sure I totally understand what you're asking here, but if you change the direction of your route-map on both routers, it's possible to change the local next-hop as updates are sent out to the neighbor. 

     

    ruter BGP 200
    nei 155.1.146.6 remote-as 100
    nei 155.1.146.6 route-map to-R4 out
    net 150.1.2.2 mask 255.255.255.255 <----Advt loopback in BGP


    route-map to-R4 
    set ip next hop 10.10.10.1

     

    Int tu 0

    Ip address 10.10.10.1/24

    tunnel src 155.1.23.2
    tunnel dest 155.1.146.6

     

     

    I believe that in every person is a kind of circuit which resonates to intellectual discovery—and the idea is to make that resonance work

    — Carl Sagan

    • Post Points: 20
  • 02-08-2012 5:48 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    Can you also provide the full drawing of your topology? Your BGP connections look strange, R2 and R4 are on ASN 200, but they are peering with router in ASN 100...

    A topology diagram could clarify what's going on..

    Thanks

    • Post Points: 20
  • 02-08-2012 5:56 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    R2(F0/0 155.1.23.2)-------------------------CORE------------------------R4(F0/0 155.1.146.4)

     

    • Post Points: 5
  • 02-08-2012 5:57 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    R2(F0/0 155.1.23.2)-------------------CORE------------------R4(F0/0 155.1.146.4)

     

    EBGP in between R2 and R4.

    • Post Points: 5
  • 02-08-2012 6:05 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    Its typo mistakes in ASN number.following is the configuration

    On R2

    Int tu 0
    Ip address 10.10.10.1/24
    tunnel src 155.1.23.2
    tunnel dest 155.1.146.6

    ruter BGP 200
    nei 155.1.146.6 remote-as 100
    nei 155.1.146.6 route-map fromR2 in
    net 150.1.2.2 mask 255.255.255.255 <----Advt loopback in BGP


    route-map fromR2
    set ip next hop 10.10.10.2

    On R6

    Int tu 0
    Ip address 10.10.10.2/24
    tunnel src 155.1.146.6
    tunnel dest 155.1.23.2

    ruter BGP 100
    nei 155.1.23.2 remote-as 100
    nei 155.1.23.2 route-map fromR6 in
    net 150.1.6.6 mask 255.255.255.255 <----Advt loopback in BGP

    route-map fromR6

    set ip next hop 10.10.10.1

    • Post Points: 5
  • 02-08-2012 6:10 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    Its typo mistakes in ASN number.following is the configuration

    On R2

    Int tu 0
    Ip address 10.10.10.1/24
    tunnel src 155.1.23.2
    tunnel dest 155.1.146.6

    ruter BGP 200
    nei 155.1.146.6 remote-as 100
    nei 155.1.146.6 route-map fromR2 in
    net 150.1.2.2 mask 255.255.255.255 <----Advt loopback in BGP


    route-map fromR2
    set ip next hop 10.10.10.2

    On R6

    Int tu 0
    Ip address 10.10.10.2/24
    tunnel src 155.1.146.6
    tunnel dest 155.1.23.2

    ruter BGP 100
    nei 155.1.23.2 remote-as 200
    nei 155.1.23.2 route-map fromR6 in
    net 150.1.6.6 mask 255.255.255.255 <----Advt loopback in BGP

    route-map fromR6

    set ip next hop 10.10.10.1

    • Post Points: 5
  • 02-08-2012 6:14 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    If you try to change the next hop ip addresses like you are trying to, it will not work. Think like this if i need to reach 150.1.6.6 from R2 and next hop is 10.10.10.1 that means to reach that destination use next hop ip address of myself (tunnel int) instead of R6, so it will just loop back to it self and pings will fail because i dont have 150.1.6.6. try this same problem but just for testing create another Loopback on R2 with same ip address 150.1.6.6 and see it should then ping but in reality it will be successful because you have a loopback locally. same thing for R6. So either change the direction of route-map if you want to use the latter next hop ip addresses or try to use next-hop-self command and see what happens. i hope this helps.

    • Post Points: 20
  • 02-08-2012 6:18 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    topology attached

    • Post Points: 20
  • 02-08-2012 7:55 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    Attachment cannot be seen, could you reup it?

    I actually dont get why you have the inbound route-map.

    On R2 you have a inbound route-map that says "everything that you get from this neighbor, send it to 10.10.10.2.".

    But 10.10.10.2 is at R6 (the machine where the update came from and from whom you know the network!?).

    Is that right?

     

    Regards!

    Markus.

    CCNP | CCIP | CCDP | CCNA Security | Cisco Certified Specialist | JNCIA

    CCIE Written - DONE!

     ------------------------------------------------------------------------------

    http://chasingmyccie.wordpress.com/

    • Post Points: 35
  • 02-08-2012 8:09 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    Markus,

    If the next hop is not changed to tunnel's IP address in this case traffic will get droped becuase the transit routers are not running BGP so there are 2 ways to resolve that, either redistribute BGP into IGP or create a tunnel over you IGP and form neighborship over that. since in his case he has tunnel but neighborship is not being formed using tunnel IPs it has to be changed through route-maps. If neighborship was using tunnel IPs we could next-hop-self for iBGP neighborship.

     

    Tahir

    • Post Points: 5
  • 02-08-2012 8:16 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    Hi Markus,

    Folloing is the simplified configuration (with Route-map name)

     

    On R2

    Int tu 0
    Ip address 10.10.10.1/24
    tunnel src 155.1.23.2
    tunnel dest 155.1.146.6

    ruter BGP 200
    nei 155.1.146.6 remote-as 100
    nei 155.1.146.6 route-map fromR6 in
    net 150.1.2.2 mask 255.255.255.255 <----Advt loopback in BGP


    route-map fromR6
    set ip next hop 10.10.10.2

    On R6

    Int tu 0
    Ip address 10.10.10.2/24
    tunnel src 155.1.146.6
    tunnel dest 155.1.23.2

    ruter BGP 100
    nei 155.1.23.2 remote-as 200
    nei 155.1.23.2 route-map fromR2 in
    net 150.1.6.6 mask 255.255.255.255 <----Advt loopback in BGP

    route-map fromR2

    set ip next hop 10.10.10.1

    ------------------------------------------------------------

    What u r saying is correct.

    My confusion is it i set nextHOP as 10.10.10.1 on R2 from route that are getting from R6 its not working.

    As per my understanding by setting the nextHOP as 10.10.10.1 i am forcing the traffic to use tunnel 0 to to rech network behind R6 ie.118.0.0.0/30

    • Post Points: 5
  • 02-08-2012 8:23 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    As per my understanding by setting the nextHOP as 10.10.10.1 i am forcing the traffic to use tunnel 0 to to rech network behind R6 ie.118.0.0.0/30

    • Post Points: 20
  • 02-08-2012 8:37 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    no your understanding is not correct in this case, if you set next hop 10.10.10.1 on R2 it will not work, by setting next hop to your own interface facing the neighbor does not not make is reachable, its not like setting the outgoing interface. when setting next hop ip address its always the ip address of your neighbor, just like static routes.

    • Post Points: 20
  • 02-08-2012 8:47 PM In reply to

    Re: CCIE Vol1 routing and Switching --BGP Over GRE (7.13)

    ooh..Thanks for the great explanation.

    I will try to set out going  interfcace as tunnel interface  instead of next Hop IP address and let  you know.

    Thanks

    Ganpat

     

     

    • Post Points: 35
Page 1 of 2 (22 items) 1 2 Next >
IEOC CCIE Forums Internetwork Expert CCIE Training
About IEOC | Terms of Use | RSS | Privacy Policy
© 2011 INE. All Rights Reserved