View Single Post
  #1   (View Single Post)  
Old 19th April 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default Can mrouted be used between vlans?

Hi,

currently I'm using IGMPProxy to get multicast packets between vlans, but this has a disadvantage in that packets can only flow upstream on one interface.

I've attempted configuring mrouted to do a similar thing but for some reason it doesn't work and unfortunately the log files are not being very helpful.


Here's my config:

Code:
phyint vlan1
phyint vlan2
I have also tried doing things like:

Code:
phyint vlan1 boundary 239.255.255.0/24
and

Code:
phyint vlan1 metric 1 threshold 1
phyint vlan2 metric 1 threshold 1
Looking at the /etc/mrouted.conf file there are a few examples out of which I got the above config.


Running "mrouted -d" gives the output:

Code:
19:58:12.779 Getting vifs from /etc/mrouted.conf
19:58:12.780 Installing vifs in mrouted...
[...]
pruning off
19:58:12.781 Installing vifs in kernel...
[...]
vifs_with_neighbors = 0

Virtual Interface Table
Vif  Name  Local-Address                               M  Thr  Rate   Flags
 0 vlanX  <ip>      subnet: <subnet>       1   1      0   querier
19:58:12.782 warning - SIOCGETVIFCNT fails

Multicast Routing Table (8 entries)
 Origin-Subnet      From-Gateway    Metric Tmr In-Vif  Out-Vifs
 <subnet>                      1     0   6    0* 1* 2* 3* 4* 5* 7* 
[...]

19:58:20.861 update 0 starting at 8 of 8
multicast routing is enabled in /etc/sysctl.conf too.

I'm wondering if I've misunderstood something and that mrouted is more like a dynamic routing protocol for multicast to be used between routers rather then in a single system between subnets?


Would someone mind helping me with this?


Thanks.
Reply With Quote