Home > other >  Multicast routing problem between vlans
Multicast routing problem between vlans

Time:10-01

On a Linux server (centos7. X) to create 3 Bridges
Configure the following
IP/root @ TAE_Node1 ~ # a
1: lo: & lt; The LOOPBACK, UP, LOWER_UP & gt; Mtu 65536 qdisc noqueue state UNKNOWN qlen 1
The link/loopback 00:00:00:00:00:00 BRD 00:00:00:00:00:00
Inet 127.0.0.1/8 scope host lo
Valid_lft forever preferred_lft forever
Inet6: : 1/128 scope host
Valid_lft forever preferred_lft forever
2: eth0: & lt; BROADCAST and MULTICAST, SLAVE, UP, LOWER_UP & gt; Mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000
The link/Mr F4:8 e: er, "e: d2 BRD ff: ff: ff: ff: ff: ff
3: bond0: & lt; BROADCAST, MULTICAST, MASTER, the UP, LOWER_UP & gt; Mtu 1500 qdisc noqueue master br0 state UP qlen 1000
The link/Mr F4:8 e: er, "e: d2 BRD ff: ff: ff: ff: ff: ff
4: br0: & lt; BROADCAST and MULTICAST, the UP, LOWER_UP & gt; Mtu 1500 qdisc noqueue state UP qlen 1000
The link/Mr F4:8 e: er, "e: d2 BRD ff: ff: ff: ff: ff: ff
Inet 192.168.1.220/24 BRD 192.168.1.255 scope global br0
Valid_lft forever preferred_lft forever
Inet6 fe80: : 5483: d9ff: feea: ce6e/64 scope link
Valid_lft forever preferred_lft forever
5: bond0.2 @ bond0: & lt; BROADCAST and MULTICAST, the UP, LOWER_UP & gt; Mtu 1500 qdisc noqueue master br2 state UP qlen 1000
The link/Mr F4:8 e: er, "e: d2 BRD ff: ff: ff: ff: ff: ff
6: br2: & lt; BROADCAST and MULTICAST, the UP, LOWER_UP & gt; Mtu 1500 qdisc noqueue state UP qlen 1000
The link/Mr F4:8 e: er, "e: d2 BRD ff: ff: ff: ff: ff: ff
Inet6 fe80: : f68e: 38 ff: fe72:8 ed2/64 scope link
Valid_lft forever preferred_lft forever
7: bond0.3 @ bond0: & lt; BROADCAST and MULTICAST, the UP, LOWER_UP & gt; Mtu 1500 qdisc noqueue master br3 state UP qlen 1000
The link/Mr F4:8 e: er, "e: d2 BRD ff: ff: ff: ff: ff: ff
8: br3: & lt; BROADCAST and MULTICAST, the UP, LOWER_UP & gt; Mtu 1500 qdisc noqueue state UP qlen 1000
The link/Mr F4:8 e: er, "e: d2 BRD ff: ff: ff: ff: ff: ff
Inet6 fe80: : f68e: 38 ff: fe72:8 ed2/64 scope link
Valid_lft forever preferred_lft forever

There is no connection br0 vlan
Br2 and br3 association vlan2 and vlan3 respectively

there is a virtual machine in br2 send multicast packets multicast address for 239.0.0.2, what what need to add the routing or set to transfer how multicast packets to the vlan br0 and has a vlan br3

I have no attempt to do the following effects (use tcpdump -i br3 are no multicast packets) :
1. Open the IP forwarding:
Echo 1 & gt; The/proc/sys/net/ipv4/ip_forward

2. Add the routing:
The route to the add -.net 239.0.0.2 netmask 255.255.255.255 dev br3
The route to the add -.net 239.0.0.2 netmask 255.255.255.255 dev br0

3. Also installed the pimd launched (but don't know how to configure the default configuration)
The kernel of multicast routing switch is already open
The cat/proc/sys/net/ipv4/conf/all/Mc_forwarding
1

CodePudding user response:

  • Related