[Xorp-users] Xorp, pimsm and ethertap

Calum caluml@gmail.com
Fri, 24 Feb 2006 21:52:49 +0000


Hello Mike,

I'm not sure about changing next-hop.
That leaves my config looking like:
protocols {
        bgp {
            bgp-id: 10.0.0.122  <-------- this is the local IP, right?
            local-as: 4
            peer "10.0.0.121" { <-------- This is the remote IP?
                as: 1
                peer-port: 179
                local-port: 179
                holdtime: 90
                delay-open-time: 0
                client: false
                confederation-member: false
                disable: false
                ipv4-unicast: true
                ipv4-multicast: false
                ipv6-unicast: false
                ipv6-multicast: false
                next-hop: 10.0.0.122 <----- This should be the remote IP?
                local-ip: "10.0.0.122" <------ This is the local IP ?
            }
        }

which looks odd with the same next-hop and local-ip. To me, anyway.

My current setup is

local = 10.0.0.122 (running xorp)
----tapinterface----
remote = 10.0.0.121 (running quagga bgpd)

I have an established BGP session up as shown on 10.0.0.121
quagga: # sh ip bgp neighbors 10.0.0.122
BGP neighbor is 10.0.0.122, remote AS 4, local AS 1, external link
  BGP version 4, remote router ID 10.0.0.122
  BGP state = Established, up for 00:00:48
Showing the advertised routes on that hosts shows the routes.
xorp# show bgp routes on the xorp box shows them all received.
They're just not making it into the kernel on 10.0.0.122

xorp-box > show bgp peers
Peer 1: local 10.0.0.122/179 remote 10.0.0.121/179


xorp-box # ifconfig taphush
taphush   Link encap:Ethernet  HWaddr CE:BC:C7:A6:C4:ED
          inet addr:10.0.0.122  Bcast:10.0.0.123  Mask:255.255.255.252


How does xorp handle an interface disappearing, and coming back, out
of interest?