[Babel-users] not routing

Michael Grant mgrant at grant.org
Thu Nov 5 21:15:40 UTC 2009


ok, I've done with you suggest, I also ran babel-pinger -p 42.  I'm
not getting the second default route from the A router on the B
router.

I suppose I am looking for something like "default via 10.38.8.1 dev
eth0.1 proto 42" on router B.

On both routers the babel.conf looks like:
redistribute local deny
redistribute ip 0.0.0.0/0 le 0 metric 128

Here is some output from router B:

root at grant:~# ip route show
10.38.8.0/24 dev eth0.1  proto kernel  scope link  src 10.38.8.4
192.168.1.0/24 dev eth0.2  proto kernel  scope link  src 192.168.1.10
10.10.0.0/16 dev br-lan  proto kernel  scope link  src 10.10.0.1
default via 192.168.1.1 dev eth0.2
default dev lo  proto 42  scope link  metric 65534

root at grant:~# ip rule
0:      from all lookup local
100:    from all lookup 42
32766:  from all lookup main
32767:  from all lookup default

root at grant:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.38.8.0       *               255.255.255.0   U     0      0        0 eth0.1
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0.2
10.10.0.0       *               255.255.0.0     U     0      0        0 br-lan
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0.2
default         *               0.0.0.0         U     65534  0        0 lo

root at grant:~# ip route show
10.38.8.0/24 dev eth0.1  proto kernel  scope link  src 10.38.8.4
192.168.1.0/24 dev eth0.2  proto kernel  scope link  src 192.168.1.10
10.10.0.0/16 dev br-lan  proto kernel  scope link  src 10.10.0.1
default via 192.168.1.1 dev eth0.2
default dev lo  proto 42  scope link  metric 65534

root at grant:~# tail /var/log/babel.log
My id 02:1d:73:ff:fe:de:ae:2c seqno 64937
Neighbour fe80::21d:73ff:fede:1fa dev eth0.1 reach ffc0 rxcost 96 txcost 96.
0.0.0.0/0 metric 224 refmetric 128 id 02:1d:73:ff:fe:de:01:fa seqno
15272 age 38 via eth0.1 neigh fe80::21d:73ff:fede:1fa nexthop
10.38.8.1 (installed)



More information about the Babel-users mailing list