[Xorp-users] Basic static route configuration problem
Alan Patterson
alankp1 at optusnet.com.au
Wed Dec 19 02:18:03 PST 2007
I hope someone can help me with a problem I am having with static routes
on the LiveCD version of Xorp 1.4. I have the following simple
configuration file:
interfaces {
restore-original-config-on-shutdown: false
interface xl0 {
disable: false
discard: false
description: "LAN 1"
vif xl0 {
disable: false
address 192.168.10.99 {
prefix-length: 24
broadcast: 192.168.10.255
disable: false
}
}
}
interface xl1 {
disable: false
discard: false
description: "LAN 2"
vif xl1 {
disable: false
address 192.168.20.100 {
prefix-length: 24
broadcast: 192.168.20.255
disable: false
}
}
}
interface lo0 {
disable: false
discard: false
description: "Loopback interface"
vif lo0 {
disable: false
}
}
}
protocols {
static {
route 192.168.30.0/24 {
next-hop: 192.168.10.100
metric: 1
}
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
Communication between hosts on the two directly connected networks
192.168.10.0/24 and 192.168.20.0/24 works fine, but packets to the
192.168.30.0/24 network are not forwarded to 192.168.10.100. The command
'show route table .....' returns a completely empty table. What have I
got wrong?
Thanks for any help,
Alan
More information about the Xorp-users
mailing list