[Freeswitch-users] rtp multicast paging

Brian Snipes bsnipes at snipes.org
Thu May 15 06:38:01 PDT 2008


On Fri, 2008-05-02 at 17:28 -0500, Brian Snipes wrote:
> Any ideas on getting multicast to go out a vlan interface on Linux?  I
> have a server with : 
> 
> eth0->192.168.1.2
> Vlan : eth0.5-> 192.168.5.2 and 192.168.5.4
> 
> With bind_server set to 192.168.5.4, if I start a multicast page all of
> the multicast paging packets go out from 192.168.1.2 - both the page
> data and the control packets.  I do see control packets going out on
> 192.168.5.2 but not the page data.  Multicast was added using :
> 
> route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0.5

Just an update for others and I will add to the wiki later today.  I had
to use the iproute2 ip command for adding routes and specifically set
the src to the primary ip on my vlan interface for multicast paging to
work.

ip route add 224.0.0.0/4 dev eth0.5 src 192.168.5.2

Without the src option it still sent packets out from the non-vlan ip.

Brian





More information about the FreeSWITCH-users mailing list