[Xorp-users] Xorp, pimsm and ethertap
Calum
caluml@gmail.com
Fri, 24 Feb 2006 23:36:17 +0000
Hello Pavlin,
The "unable to ping" problem was just a firewall rule, and isn't an
issue any more.
Yes, the thing I am thinking about is not just up/down, but actually
killing the process that creates the tap.
Let me try it out, and see what happens:
bash # kill 24904
bash # ifconfig taphush
taphush: error fetching interface information: Device not found
bash # ip link show taphush
Device "taphush" does not exist.
bash #
Nothing untoward appeared in the window that is running xorp_rtrmgr in.
However, xorp seems to be unaware that it's gone.
# bin/xorpsh
Welcome to XORP on torro
root@torro> show interfaces
taphush/taphush: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
physical index 12
ether 4a:12:38:a6:de:7c
Running commit causes this sort of thing:
[ 2006/02/24 23:23:08 INFO xorp_bgp BGP ] Sending: Notification
Packet: Hold Timer Expired(4)
[ 2006/02/24 23:23:08 ERROR xorp_bgp:25341 LIBCOMM +354 comm_sock.c
comm_sock_bind4 ] Error binding socket (family = 2, my_addr =
10.0.0.122, my_port = 0): Cannot assign requested address
Which is fair enough.
If I start the process back up...
# ./start-tap
# ifconfig taphush
taphush Link encap:Ethernet HWaddr 42:98:7F:BF:54:95
inet addr:10.0.0.122 Bcast:10.0.0.123 Mask:255.255.255.252
> show bgp peers detail
Peer 1: local 10.0.0.122/179 remote 10.0.0.121/179
Peer ID: 10.0.0.1
Peer State: ESTABLISHED
Admin State: START
So it seems to pick it back up fairly painlessly.
Anyway, back to the main problem. :)
I've set the next-hop and local-ip both to 1.0.0.122, but I'm not
seeing any routes via route -n.
Do I need to specify what routes I will allow to be accepted or something?
Or do I need to add a network statement for the /30 link between the
two routers or something like that?
C
> show bgp routes
Status Codes: * valid route, > best route
Origin Codes: i IGP, e EGP, ? incomplete
Prefix Nexthop Peer AS Path
------ ------- ---- -------
* 10.0.0.0/30 10.0.0.121 10.0.0.1 1 i
* 10.0.0.4/30 10.0.0.121 10.0.0.1 1 i
...... snip lots of lines.
So I'm getting the routes in from AS 1 ( 10.0.0.121).
But route -n at the shell doesn't show any of them.