From: Godswill Oletu (oletu@inbox.lv)
Date: Wed Nov 09 2005 - 22:54:29 GMT-3
Dustine,
nei 4.4.4.4 update-source loopback0
Tell this router that, when it is negotiating bgp session with neighbor
4.4.4.4, it should present the ip address on interface loopback0 as its
source address.
If you debug bgp on this router or on the remote router, you will discover
that this router is actually using the ip address of loopback0 as its source
address.
But for this router to reach neighbor 4.4.4.4, it will go to your IGP
routing table and pick the next hop address to reach 4.4.4.4 and will send
the traffic to neighbor 4.4.4.4 through the next hop address in your
routing table. If that next hop address is through the tunnel14, then the
traffic will go through the tunnel14 interface.
So, the answer to your question will a No.
But if you do "ip route 4.4.4.4 255.255.255.255 tunnel 14'
Then, bgp traffic will attempt to reach neighbor 4.4.4.4 via tunnel 14.
HTH
Godswill Oletu
----- Original Message -----
From: <dusth@comcast.net>
To: <ccielab@groupstudy.com>
Sent: Thursday, November 10, 2005 7:05 PM
Subject: BGP and Tunnel
> Hi all, I need some clarification on how does bgp know to traverse inside
the tunnel and what parameter of the tunnel interface tell that for bgp end
points? I do not have access to the lab right now so I can not verify the
config.
> Here is the example:
> r1:
> interface tunnel 14
> ip unnumber loopback 0
> tunnel source 1.1.1.1
> tunnel destination 4.4.4.4
> bgp 10
> nei 4.4.4.4 remote-as 10
> nei 4.4.4.4 update-source loopback0
> Does the ip unnumber of the tunnel or the tunnel source & destination tell
router that bgp traffic need to traverse inside the tunnel?
>
> Thanks in advance,
> Dustin
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:06 GMT-3