[Xorp-users] XORP RIP enabled. Why are static routes required?
Pavlin Radoslavov
pavlin@icir.org
Tue, 19 Apr 2005 11:16:46 -0700
> I tried to run the XORP router without click and the problem lies with the
> RIP. It's not constructing the routing table properly.
Swati,
I tried your exact setup (two client machines, two XORP routers
between them), and RIP worked for me. I verified it by running
traceroute before and after starting XORP on both routers.
I started with your config file, removed the Click part, and then
just changed the interface names and the IP addresses. At the end I
am including both configuration files for reference purpose.
FYI, it appears that it is OK if the "export connected" metric is
zero.
Hence, you may want to verify again your setup. E.g., make sure that
you have the "export connected" on both your routers. Also, if you
have more than one IP address on some of the routers' interfaces,
then you may have to configure all those addresses inside the rip
configuration statement.
Finally, to help you debug the problem you may want to use the
following xorpsh operational commands to show the rip routes that go
into the rib, the connected routes inside rib, and the final routes
that go into the fea:
show route table ipv4 unicast rip
show route table ipv4 unicast connected
show route table ipv4 unicast final
Good luck!
Pavlin
===================
interfaces {
interface dc1 {
description: "data interface"
disable: false
default-system-config
}
interface dc2 {
description: "control interface"
disable: false
default-system-config
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
protocols {
rip {
/* Redistribute routes for connected interfaces */
export connected {
metric: 0
tag: 0
}
/* Run on specified network interface addresses */
interface dc1 {
vif dc1 {
address 10.3.0.1 {
disable: false
}
}
}
interface dc2 {
vif dc2 {
address 10.2.0.2 {
disable: false
}
}
}
}
}
===================
interfaces {
interface dc0 {
description: "data interface"
disable: false
default-system-config
}
interface dc2 {
description: "control interface"
disable: false
default-system-config
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
protocols {
rip {
/* Redistribute routes for connected interfaces */
export connected {
metric: 0
tag: 0
}
/* Run on specified network interface addresses */
interface dc0 {
vif dc0 {
address 10.4.0.1 {
disable: false
}
}
}
interface dc2 {
vif dc2 {
address 10.3.0.2 {
disable: false
}
}
}
}
}
===================