[Xorp-users] Cant get xorp to modify kernel routes
Pavlin Radoslavov
pavlin at icir.org
Mon Dec 4 21:47:15 PST 2006
Vikram <vikram.dhir at gmail.com> wrote:
> My configuration file looks like this:-
The next-hop for static route 16.25.0.0/16 is invalid. It is set to
0.0.0.0 while it should be the IP address of a directly connected
router.
FYI, if you want to configure a route that points toward a
particular network interface, then you can use interface-route
instead.
Regards,
Pavlin
> /*XORP Configuration File, v1.0*/
> protocols {
> static {
> disable: false
> route 16.25.0.0/16 {
> next-hop: 0.0.0.0
> metric: 1
> }
> }
> }
> interfaces {
> restore-original-config-on-shutdown: false
> interface eth0 {
> disable: false
> discard: false
> description: "eth0"
> vif eth0 {
> disable: false
> address 10.20.50.150 {
> prefix-length: 16
> broadcast: 10.20.255.255
> disable: false
> }
> }
> }
> interface eth1 {
> disable: false
> discard: false
> description: "eth1"
> vif eth1 {
> disable: false
> address 192.168.0.10 {
> prefix-length: 24
> broadcast: 192.168.0.255
> disable: false
> }
> }
> }
> }
> --------------
> I checked up in xorpsh and the routes r not showing up in the RIB.
>
> What do u think is the problem???
>
> vpd
More information about the Xorp-users
mailing list