[Xorp-users] OSPF Multipath Routes
Robert Borz
robert.borz at web.de
Fri Nov 26 04:39:40 PST 2010
Hello,
I'm currently having a shot at Xorp as an alternative to Quagga, but I'm unable to configure OSPF so that the result will be a multipath route with multiple gateways.
Here's my test setup: Two routers (A and B) interconnected by two physical ethernet cards each.
First line on A has 172.16.1.1/24, second one has 172.16.2.1/24. There's also an additional dummy interface having 192.168.100.1/32.
First ethernet line on B has 172.16.1.2/24, second line has 172.16.2.2/24. Here's an dummy interface, too, having the IP address 192.168.100.2/32.
With my Quagga setup, the resulting routing tables are like this:
Host A:
192.168.100.2 proto zebra metric 20
nexthop via 172.16.1.2 dev eth0 weight 1
nexthop via 172.16.2.2 dev eth1 weight 1
172.16.2.0/24 dev eth1 proto kernel scope link src 172.16.2.1
172.16.1.0/24 dev eth0 proto kernel scope link src 172.16.1.1
Host B (MikroTik machine):
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
...
2 ADo 192.168.100.1/32 172.16.2.1 110
172.16.1.1
...
But exchanging Quagga on host A by Xorp (config.boot see below) results in this routing table:
192.168.100.2 via 172.16.1.2 dev eth0 proto xorp metric 11 notify
172.16.2.0/24 dev eth1 proto kernel scope link src 172.16.2.1
172.16.1.0/24 dev eth0 proto kernel scope link src 172.16.1.1
The routes on Host B stay the same, regardless of Host A runs Quagga or Xorp.
Doesn't Xorp support multipath routes with OSPF? Or is it just an configuration issue?
Regards,
Robert Borz
------------------------------ boot.config ------------------------------
interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
disable: false
vif eth0 {
disable: false
address 172.16.1.1 {
prefix-length: 24
broadcast: 172.16.1.255
disable: false
}
}
}
interface eth1 {
disable: false
vif eth1 {
disable: false
address 172.16.2.1 {
prefix-length: 24
broadcast: 172.16.2.255
disable: false
}
}
}
interface dummy0 {
disable: false
vif dummy0 {
disable: false
address 192.168.100.1 {
prefix-length: 32
disable: false
}
}
}
}
protocols {
ospf4 {
router-id: 192.168.100.1
area 0.0.0.0 {
interface eth0 {
vif eth0 {
address 172.16.1.1 {
disable: false
}
}
}
interface eth1 {
vif eth1 {
address 172.16.2.1 {
disable: false
}
}
}
}
area 192.168.100.1 {
interface dummy0 {
vif dummy0 {
address 192.168.100.1 {
}
}
}
}
}
}
-------------------------------------------------------------------------
___________________________________________________________
WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2
More information about the Xorp-users
mailing list