Multicast Streaming Issue
Posted: 13 Apr 2013 11:01
Preview: Re: IPv4 Multicast switching isn't working between ports wit
fattyc wrote:I have the answer now .
The first thing to get right is the version of multicast per the VLAN.
In the instance on my clients network , the cluster using muticast was Redhat using fencing. This uses Multicast version 3. The version you are testing on may have a different version, make sure you ascertain the correct version .
So , on 9700 switches and as per the VLAN using multicast , setup the following :-
Switch on multicast globally
The assumption is the VLAN xx is either connected or trunked between 9700 switch .
ip multicast vlan xx status enable
ip multicast vlan xx querying enable
ip multicast vlan xx version 3
ip multicast vlan xx querier-forwarding enable
If you check show ip multicast source
you will show two addresses
Group address host address tunnel address vlan port
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/1
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/2
Show the same on other 9700 it will show this in inverse
This is indicative of things now working as bioth cluster pairs are still searching for partner multicast server .
Next, change the IP tables TTL parameter on the Redhat multicast server
For the multicast solution for the fax server, when applying the iptables rule, don’t forget to apply the two previous rules otherwise they will be erased.
These two rules are:
iptables -t nat -A PREROUTING -p tcp --dport 25 -i bond0 -j REDIRECT --to-port 8825
iptables -t nat -A PREROUTING -p tcp --dport 80 -i bond0 -j REDIRECT --to-port 8080
So do as follow (for the Fax server):
service iptables stop
iptables -t nat -A PREROUTING -p tcp --dport 25 -i bond0 -j REDIRECT --to-port 8825
iptables -t nat -A PREROUTING -p tcp --dport 80 -i bond0 -j REDIRECT --to-port 8080
iptables -t mangle -A OUTPUT -d <multicast address> -j TTL --ttl-set 32
service iptables save
service iptables restart
For the VMS you just have to setup the TTL value rule:
service iptables stop
iptables -t mangle -A OUTPUT -d <multicast address> -j TTL --ttl-set 32
service iptables save
service iptables restart
For the VMS, also check that the iptables is enabled at startup
chkconfig --list iptables
If it returns:
service iptables supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add iptables')
Do
chkconfig --add iptables
Then it will return
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
and it is OK.
To know the multicast address launch: “service cman status” and you will see the multicast address in the details.
Then check show ip multicast source on 9700 switch
Group address host address tunnel address vlan port
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/1
On the other 9700 you will see
Group address host address tunnel address vlan port
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/2
Hope this helps
Greg
Hello Fattyc,
We too are facing the issue with the multicast streaming. We have a core switch (6850E) and 9 end switches (6250) stacked together in groups of 3. We are using this system for IPTV network. There are 50+ multicast streams. But we are facing the issue with the below 6 multicast streams.
1 239.192.1.16:5000
2 239.192.1.15:5000
3 239.192.1.19:5000
4 239.192.1.8:5000
5 239.192.1.18:5000
6 239.192.1.17:5000
Out of these 6 streams, there are only 3-4 streams visible on the edge switches. The other streams are missing.
I'm really fed up with this issue. Please suggest me a solution for this. We have already contacted the Alcatel Support but they are still working on this issue.
===========================================================================================================================================
core-> show configuration snapshot
! Stack Manager :
! Chassis :
system name vxTarget
system timezone +03:00
system daylight savings time disable
! Configuration:
! VLAN :
vlan 1 enable name "IPTV"
vlan 2 enable name "MGMT"
vlan 2 port default 1/21
vlan 2 port default 1/23
vlan 2 port default 1/24
vlan 3 enable name "VLAN 3"
! VLAN SL:
! IP :
ip service all
ip interface dhcp-client vlan 1 ifindex 1
ip interface "IPTV" address 192.168.1.1 mask 255.255.255.0 vlan 1 ifindex 2
ip interface "MGMT" address 192.168.2.254 mask 255.255.255.0 vlan 2 ifindex 3
! IPX :
! IPMS :
ip multicast status enable
ip multicast querying enable
ip multicast zapping enable
ip multicast query-interval 20
ip multicast vlan 1 status enable
ip multicast vlan 2 status disable
ip multicast vlan 1 querying enable
ip multicast vlan 1 zapping enable
ip multicast vlan 1 query-interval 20
ip multicast vlan 1 querier-forwarding disable
! AAA :
aaa authentication default "local"
aaa authentication console "local"
! PARTM :
! AVLAN :
! 802.1x :
! QOS :
! Policy manager :
! Session manager :
session timeout cli 596523
session prompt default "core->"
! SNMP :
! RIP :
! OSPF :
! BFD-STD :
! ISIS :
! IPv6 :
! IPSec :
! IP multicast :
! RIPng :
! OSPF3 :
! BGP :
! Health monitor :
! Interface :
interfaces 1/21 hybrid fiber pause rx
interfaces 1/22 hybrid fiber pause rx
interfaces 1/23 hybrid fiber pause rx
interfaces 1/24 hybrid fiber pause rx
! Udld :
! Netsec :
! Link Aggregate :
! Port Mapping :
! VLAN AGG:
! 802.1Q :
vlan 1 802.1q 1/21 "TAG PORT 1/21 VLAN 1"
vlan 2 802.1q 1/22 "TAG PORT 1/22 VLAN 2"
vlan 1 802.1q 1/23 "TAG PORT 1/23 VLAN 1"
vlan 1 802.1q 1/24 "TAG PORT 1/24 VLAN 1"
! Spanning tree :
bridge mode 1x1
! Bridging :
! Bridging :
! Port mirroring :
port mirroring 1 destination 1/11
port mirroring 1 source 1/22 bidirectional
! UDP Relay :
! Server load balance :
! System service :
swlog console level info
! SSH :
! VRRP :
! Web :
! AMAP :
! Lan Power :
! NTP :
! RDP :
! VLAN STACKING:
! Ethernet-OAM :
! EFM-OAM :
! ERP :
! SAA :
! Loopback-detection :
! DHCP Server :
! WCCP :
ip wccp admin-state enable
! LLDP :
! Link-fault-propagation :
! DHL :
! PPPOE-IA :
===========================================================================================================================================
9thfloor-> show configuration snapshot
! Stack Manager :
! Chassis :
system name vxTarget
system timezone +00:00
! Configuration:
! VLAN :
vlan 1 enable name "IPTV"
vlan 2 enable name "MGMT"
vlan 2 port default 1/25
vlan 2 port default 1/26
! VLAN SL:
! IP :
ip service all
ip interface "IPTV" address 192.168.1.9 mask 255.255.255.0 vlan 1 ifindex 1
ip interface "MGMT" address 192.168.2.252 mask 255.255.255.0 vlan 2 ifindex 2
! IPMS :
ip multicast status enable
ip multicast querying enable
ip multicast zapping enable
ip multicast query-interval 20
ip multicast querier-forwarding enable
ip multicast vlan 1 status enable
ip multicast vlan 2 status disable
! AAA :
aaa authentication default "local"
aaa authentication console "local"
! PARTM :
! 802.1x :
! QOS :
! Policy manager :
! Session manager :
session prompt default "9thfloor->"
! SNMP :
! RIP :
! IPv6 :
! IP multicast :
! IPRM :
ip static-route 0.0.0.0/0 gateway 192.168.1.1 metric 1
! RIPng :
! Health monitor :
! Interface :
! Udld :
! Port Mapping :
! Link Aggregate :
! VLAN AGG:
! 802.1Q :
vlan 1 802.1q 1/25 "TAG PORT 1/25 VLAN 1"
vlan 1 802.1q 1/26 "TAG PORT 1/26 VLAN 1"
! Spanning tree :
bridge mode 1x1
! Bridging :
! Bridging :
! Port mirroring :
! UDP Relay :
! System service :
swlog console level info
! SSH :
! Web :
! AMAP :
! LLDP :
! Lan Power :
! NTP :
! RDP :
! VLAN STACKING:
! EFM-OAM :
! Loopback-detection :
fattyc wrote:I have the answer now .
The first thing to get right is the version of multicast per the VLAN.
In the instance on my clients network , the cluster using muticast was Redhat using fencing. This uses Multicast version 3. The version you are testing on may have a different version, make sure you ascertain the correct version .
So , on 9700 switches and as per the VLAN using multicast , setup the following :-
Switch on multicast globally
The assumption is the VLAN xx is either connected or trunked between 9700 switch .
ip multicast vlan xx status enable
ip multicast vlan xx querying enable
ip multicast vlan xx version 3
ip multicast vlan xx querier-forwarding enable
If you check show ip multicast source
you will show two addresses
Group address host address tunnel address vlan port
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/1
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/2
Show the same on other 9700 it will show this in inverse
This is indicative of things now working as bioth cluster pairs are still searching for partner multicast server .
Next, change the IP tables TTL parameter on the Redhat multicast server
For the multicast solution for the fax server, when applying the iptables rule, don’t forget to apply the two previous rules otherwise they will be erased.
These two rules are:
iptables -t nat -A PREROUTING -p tcp --dport 25 -i bond0 -j REDIRECT --to-port 8825
iptables -t nat -A PREROUTING -p tcp --dport 80 -i bond0 -j REDIRECT --to-port 8080
So do as follow (for the Fax server):
service iptables stop
iptables -t nat -A PREROUTING -p tcp --dport 25 -i bond0 -j REDIRECT --to-port 8825
iptables -t nat -A PREROUTING -p tcp --dport 80 -i bond0 -j REDIRECT --to-port 8080
iptables -t mangle -A OUTPUT -d <multicast address> -j TTL --ttl-set 32
service iptables save
service iptables restart
For the VMS you just have to setup the TTL value rule:
service iptables stop
iptables -t mangle -A OUTPUT -d <multicast address> -j TTL --ttl-set 32
service iptables save
service iptables restart
For the VMS, also check that the iptables is enabled at startup
chkconfig --list iptables
If it returns:
service iptables supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add iptables')
Do
chkconfig --add iptables
Then it will return
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
and it is OK.
To know the multicast address launch: “service cman status” and you will see the multicast address in the details.
Then check show ip multicast source on 9700 switch
Group address host address tunnel address vlan port
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/1
On the other 9700 you will see
Group address host address tunnel address vlan port
239.192.78.x 192.168.x.x 0.0.0.0 xx 1/2
Hope this helps
Greg
Hello Fattyc,
We too are facing the issue with the multicast streaming. We have a core switch (6850E) and 9 end switches (6250) stacked together in groups of 3. We are using this system for IPTV network. There are 50+ multicast streams. But we are facing the issue with the below 6 multicast streams.
1 239.192.1.16:5000
2 239.192.1.15:5000
3 239.192.1.19:5000
4 239.192.1.8:5000
5 239.192.1.18:5000
6 239.192.1.17:5000
Out of these 6 streams, there are only 3-4 streams visible on the edge switches. The other streams are missing.
I'm really fed up with this issue. Please suggest me a solution for this. We have already contacted the Alcatel Support but they are still working on this issue.
===========================================================================================================================================
core-> show configuration snapshot
! Stack Manager :
! Chassis :
system name vxTarget
system timezone +03:00
system daylight savings time disable
! Configuration:
! VLAN :
vlan 1 enable name "IPTV"
vlan 2 enable name "MGMT"
vlan 2 port default 1/21
vlan 2 port default 1/23
vlan 2 port default 1/24
vlan 3 enable name "VLAN 3"
! VLAN SL:
! IP :
ip service all
ip interface dhcp-client vlan 1 ifindex 1
ip interface "IPTV" address 192.168.1.1 mask 255.255.255.0 vlan 1 ifindex 2
ip interface "MGMT" address 192.168.2.254 mask 255.255.255.0 vlan 2 ifindex 3
! IPX :
! IPMS :
ip multicast status enable
ip multicast querying enable
ip multicast zapping enable
ip multicast query-interval 20
ip multicast vlan 1 status enable
ip multicast vlan 2 status disable
ip multicast vlan 1 querying enable
ip multicast vlan 1 zapping enable
ip multicast vlan 1 query-interval 20
ip multicast vlan 1 querier-forwarding disable
! AAA :
aaa authentication default "local"
aaa authentication console "local"
! PARTM :
! AVLAN :
! 802.1x :
! QOS :
! Policy manager :
! Session manager :
session timeout cli 596523
session prompt default "core->"
! SNMP :
! RIP :
! OSPF :
! BFD-STD :
! ISIS :
! IPv6 :
! IPSec :
! IP multicast :
! RIPng :
! OSPF3 :
! BGP :
! Health monitor :
! Interface :
interfaces 1/21 hybrid fiber pause rx
interfaces 1/22 hybrid fiber pause rx
interfaces 1/23 hybrid fiber pause rx
interfaces 1/24 hybrid fiber pause rx
! Udld :
! Netsec :
! Link Aggregate :
! Port Mapping :
! VLAN AGG:
! 802.1Q :
vlan 1 802.1q 1/21 "TAG PORT 1/21 VLAN 1"
vlan 2 802.1q 1/22 "TAG PORT 1/22 VLAN 2"
vlan 1 802.1q 1/23 "TAG PORT 1/23 VLAN 1"
vlan 1 802.1q 1/24 "TAG PORT 1/24 VLAN 1"
! Spanning tree :
bridge mode 1x1
! Bridging :
! Bridging :
! Port mirroring :
port mirroring 1 destination 1/11
port mirroring 1 source 1/22 bidirectional
! UDP Relay :
! Server load balance :
! System service :
swlog console level info
! SSH :
! VRRP :
! Web :
! AMAP :
! Lan Power :
! NTP :
! RDP :
! VLAN STACKING:
! Ethernet-OAM :
! EFM-OAM :
! ERP :
! SAA :
! Loopback-detection :
! DHCP Server :
! WCCP :
ip wccp admin-state enable
! LLDP :
! Link-fault-propagation :
! DHL :
! PPPOE-IA :
===========================================================================================================================================
9thfloor-> show configuration snapshot
! Stack Manager :
! Chassis :
system name vxTarget
system timezone +00:00
! Configuration:
! VLAN :
vlan 1 enable name "IPTV"
vlan 2 enable name "MGMT"
vlan 2 port default 1/25
vlan 2 port default 1/26
! VLAN SL:
! IP :
ip service all
ip interface "IPTV" address 192.168.1.9 mask 255.255.255.0 vlan 1 ifindex 1
ip interface "MGMT" address 192.168.2.252 mask 255.255.255.0 vlan 2 ifindex 2
! IPMS :
ip multicast status enable
ip multicast querying enable
ip multicast zapping enable
ip multicast query-interval 20
ip multicast querier-forwarding enable
ip multicast vlan 1 status enable
ip multicast vlan 2 status disable
! AAA :
aaa authentication default "local"
aaa authentication console "local"
! PARTM :
! 802.1x :
! QOS :
! Policy manager :
! Session manager :
session prompt default "9thfloor->"
! SNMP :
! RIP :
! IPv6 :
! IP multicast :
! IPRM :
ip static-route 0.0.0.0/0 gateway 192.168.1.1 metric 1
! RIPng :
! Health monitor :
! Interface :
! Udld :
! Port Mapping :
! Link Aggregate :
! VLAN AGG:
! 802.1Q :
vlan 1 802.1q 1/25 "TAG PORT 1/25 VLAN 1"
vlan 1 802.1q 1/26 "TAG PORT 1/26 VLAN 1"
! Spanning tree :
bridge mode 1x1
! Bridging :
! Bridging :
! Port mirroring :
! UDP Relay :
! System service :
swlog console level info
! SSH :
! Web :
! AMAP :
! LLDP :
! Lan Power :
! NTP :
! RDP :
! VLAN STACKING:
! EFM-OAM :
! Loopback-detection :