[Xorp-users] Questions on RIP

Ben Greear greearb at candelatech.com
Mon Apr 20 17:00:21 PDT 2009


Ben Greear wrote:
> Hello!
> 
> I'm trying to modify RIP so that it works with virtual
> routers.
> 
> So far, I've changed the rip code to have one socket per port.
> 
> I see these opened in the FEA, and I see the multicast packets
> being transmitted on the network interfaces.
> 
> However, I do not ever see any packets received.
> 
> Are the sockets that send the mcast packets also supposed
> to be reading the packets from the peer?  I assume so,
> but wanted to check...
> 
> Thanks,
> Ben
> 

Nevermind..I figured it out.  I was binding to a specific local IP
instead of 0.0.0.0, which does not work for Multicast receive.

Fixed by setting reuseaddr and binding to ANY instead.

I'll post a patch when I get things cleaned up and a bit more tested.

Thanks,
ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list