[zebra 23212] RIP: packet comes from unknown interface

Guido Trentalancia guido at trentalancia.com
Wed Feb 10 08:37:07 PST 2010


Hello !

I am trying to get zebra and ripd up and running, but I am experiencing
problems due to the following error (in the ripd logfile):

RIP: RECV packet from mypeeripaddress port 520 on unknown
RIP: packet comes from unknown interface

zebra.conf looks something like this:

hostname myhostname.mydomainname
log file /var/log/zebra.log
interface tunl0
ip address myipaddress/24
interface eth0
ip address myprivateipaddress/24
ip route 0.0.0.0/0 192.168.1.254

while ripd.conf looks something like:

hostname myhostname.mydomainname
!
debug rip events
debug rip packet
debug rip zebra
!
interface tunl0
interface eth0
!
router rip
version 2
network tunl0
network eth0
!
timers basic 300000 3600 300
log file /var/log/ripd.log

I get RIP version 2 packets coming in through the interface eth0 from
address mypeeripaddress. Interface eth0 is where the default route is
configured (i.e. is the Internet connectivity interface), although its
network address is different from mypeeripaddress and it is actually a
private ip network (e.g. something like 192.168.1.0).

I want the RIP packets coming from eth0 to be used to configure routing
on the interface tunl0 (which has belongs to a different network,
actually a public network). To be more precise, interface tunl0 is an
IP-IP tunnel:

tunl0     Link encap:IPIP Tunnel  HWaddr   
          inet addr:myipaddress  Mask:255.0.0.0
          UP RUNNING NOARP  MTU:512  Metric:1

Unfortunately, ripd is complaining with the above mentioned messages. It
seems to me that ripd is not accepting RIP packets from mypeeripaddress
because it is not on the same network of myprivateipaddress... Or
otherwise ??

Any idea ?

Regards,

Guido



More information about the Zebra mailing list