[Xorp-users] xorpsh and ip route not matching

Jean Michel MacKay mackay.jm at gmail.com
Fri Sep 28 11:28:24 PDT 2012


Hi everyone,
I seem to getting some weird results from xorpsh, where it doesn't match
the expected results but that are shown in 'ip route'. Don't mind the
excessive metrics for RIP, just some tweaks to the rib.

Here's what I get

show route table ipv4 unicast final terse
Destination        P Prf  Metric 1  Next hop
10.0.0.0/24        r 110     23884  10.0.1.2
10.0.1.0/24        c   0         0  eth0/eth0
10.0.2.0/24        r 110     16942  10.0.5.2
10.0.3.0/24        r 110     16942  10.0.5.2
10.0.4.0/24        r 110     16942  10.0.5.2
10.0.5.0/24        c   0         0  eth1/eth1
10.0.6.0/24        c   0         0  eth2/eth2
10.0.7.0/24        r 110     23884  10.0.1.2
10.0.8.0/24        r 110     23884  10.0.1.2
10.0.9.0/24        r 110     23884  10.0.1.2
10.0.10.0/24       r 110     23884  10.0.1.2
10.0.11.0/24       r 110     20413  10.0.1.2
10.0.12.0/24       r 110     16942  10.0.1.2


ip route
10.0.12.0/24 via 10.0.1.2 dev eth0  proto xorp  metric 16942 notify
10.0.4.0/24 via 10.0.5.2 dev eth1  proto xorp  metric 16942 notify
10.0.5.0/24 dev eth1  proto kernel  scope link  src 10.0.5.1
10.0.6.0/24 dev eth2  proto kernel  scope link  src 10.0.6.1
10.0.7.0/24 via 10.0.6.2 dev eth2  proto xorp  metric 11 notify
10.0.0.0/24 via 10.0.6.2 dev eth2  proto xorp  metric 1 notify
10.0.8.0/24 via 10.0.6.2 dev eth2  proto xorp  metric 11 notify
10.0.9.0/24 via 10.0.6.2 dev eth2  proto xorp  metric 21 notify
10.0.1.0/24 dev eth0  proto kernel  scope link  src 10.0.1.1
10.0.10.0/24 via 10.0.6.2 dev eth2  proto xorp  metric 21 notify
10.0.2.0/24 via 10.0.5.2 dev eth1  proto xorp  metric 16942 notify
10.0.11.0/24 via 10.0.6.2 dev eth2  proto xorp  metric 1 notify
10.0.3.0/24 via 10.0.5.2 dev eth1  proto xorp  metric 16942 notify

Anyone ever see something like this?

Here's my OSPF and RIP tables.

show route table ipv4 unicast ospf terse
Destination        P Prf  Metric 1  Next hop
10.0.0.0/24        o 110         1  10.0.6.2
10.0.7.0/24        o 110        11  10.0.6.2
10.0.8.0/24        o 110        11  10.0.6.2
10.0.9.0/24        o 110        21  10.0.6.2
10.0.10.0/24       o 110        21  10.0.6.2
10.0.11.0/24       o 110         1  10.0.6.2
10.0.12.0/24       o 110     16943  10.0.6.2

show route table ipv4 unicast rip terse
Destination        P Prf  Metric 1  Next hop
10.0.0.0/24        r 110     23884  10.0.1.2
10.0.2.0/24        r 110     16942  10.0.5.2
10.0.3.0/24        r 110     16942  10.0.5.2
10.0.4.0/24        r 110     16942  10.0.5.2
10.0.7.0/24        r 110     23884  10.0.1.2
10.0.8.0/24        r 110     23884  10.0.1.2
10.0.9.0/24        r 110     23884  10.0.1.2
10.0.10.0/24       r 110     23884  10.0.1.2
10.0.11.0/24       r 110     20413  10.0.1.2
10.0.12.0/24       r 110     16942  10.0.1.2

Cheers,
JM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20120928/53c23209/attachment.html 


More information about the Xorp-users mailing list