[Xorp-users] RIP configuration
Frederic Gilloteau
Frederic.Gilloteau at alcatel.fr
Tue Jul 24 03:21:20 PDT 2007
Hello Pavlin,
I had explicitly add the connected policy statement with no success.
My eth0 network is exported very well through RIP, only eth1 does not work.
Any other idea ? :-)
Thanks
Fred
==> Here is my config.boot file :
/*XORP Configuration File, v1.0*/
protocols {
rip {
interface eth0 {
vif eth0 {
address 192.168.92.1 {
metric: 1
horizon: "split-horizon-poison-reverse"
disable: false
passive: false
accept-non-rip-requests: true
accept-default-route: true
advertise-default-route: true
route-timeout: 180
deletion-delay: 120
triggered-delay: 3
triggered-jitter: 66
update-interval: 30
update-jitter: 16
request-interval: 30
interpacket-delay: 50
}
}
}
interface eth1 {
vif eth1 {
address 172.20.0.90 {
metric: 1
horizon: "split-horizon-poison-reverse"
disable: false
passive: false
accept-non-rip-requests: true
accept-default-route: true
advertise-default-route: true
route-timeout: 180
deletion-delay: 120
triggered-delay: 3
triggered-jitter: 66
update-interval: 30
update-jitter: 16
request-interval: 30
interpacket-delay: 50
}
}
}
export: "connected"
}
}
policy {
policy-statement connected {
term export {
from {
protocol: "connected"
}
}
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
disable: false
discard: false
description: "ethernet"
vif eth0 {
disable: false
address 192.168.92.1 {
prefix-length: 24
broadcast: 192.168.92.255
disable: false
}
}
}
interface eth1 {
disable: false
discard: false
description: ""
vif eth1 {
disable: false
address 172.20.0.90 {
prefix-length: 16
broadcast: 172.20.255.255
disable: false
}
}
}
}
-----Original Message-----
From: Pavlin Radoslavov [mailto:pavlin at icir.org]
Sent: lundi 23 juillet 2007 20:18
To: Frederic Gilloteau
Cc: xorp-users at xorp.org
Subject: Re: [Xorp-users] RIP configuration
> I try to configure RIP on two interfaces :
> Eth0 : 192.168.92.1 (with vif eth0)
> Eth1 : 172.20.0.90 (with vif eth1)
>
> I have configured these interfaces in the 'interfaces section' and in
> the 'RIP section'.
>
> My problem is that RIP is propagated on eth0 with success (seen with
> tcpdump -i eth0) but no route about the network associated to eth1
> (172.20.0.0) is propagated through RIP.
>
> Using 'show rip status all' I can read :
>
> RIP on eth0 eth0 192.168.92.1
> Status: enabled
>
> RIP on eth1 eth1 172.20.0.90
> Status: enabled [gated by disabled FEA interface/vif/address]
>
> I have activated the fea section ...
>
> Moreover, in the logs of xorp_rtrmgr, I can sometimes read INFO :
> Detected iftree change on eth1 eth1 172.20.0.90 setting transport enable
false .
>
> Do you have any idea ?
I think you need to explicitly export the connected routes into RIP:
policy {
/* Describe connected routes for redistribution */
policy-statement connected {
term export {
from {
protocol: "connected"
}
}
}
}
protocols {
rip {
export: "connected"
...
}
}
Regards,
Pavlin
> Thanks in advance
>
> Regards
>
> Fred
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
More information about the Xorp-users
mailing list