User Tools

Site Tools


wiki:show_connected_multicasts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:show_connected_multicasts [2017/06/19 20:29] walkeradminwiki:show_connected_multicasts [2017/07/17 12:49] walkeradmin
Line 5: Line 5:
  
 ---- ----
-To show if an interface is actively listening to any multicast streams, we can show this by using the netstat command:+This page discusses two tools. <color #ed1c24>netstat</color> and <color #ed1c24>ip</color> 
 +\\  
 +\\  
 +To show if an interface is actively listening to any multicast streams, we can show this by using the <color #ed1c24>netstat</color> command: (<color #ed1c24>netstat -ng</color>
 +\\  
 +\\  
 +If <color #ed1c24>netstat</color> is not available, you will have to install <color #ed1c24>net-tools</color> (yum install net-tools)
 \\  \\ 
 <file> <file>
Line 29: Line 35:
 eth1            1      ff02::1 eth1            1      ff02::1
 </file> </file>
 +\\ 
 +This is a packager (v8) that I have setup a service on. That service is an ABR service containing four streams, so the line:
 +\\ 
 +\\ 
 +<color #ed1c24>eth2            4      239.0.200.1</color>
 +\\ 
 +\\ 
 +Is interesting to me, I can see that from address 239.0.200.1 (the MFEL multicast output) Interface 2 is connected to four multicasts.
 +\\ 
 +\\ 
 +Another tool we can use is <color #ed1c24>ip maddr</color> this gives more information.
 +\\ 
 +<file>
 +1:      lo
 +        inet  224.0.0.1
 +        inet6 ff02::1
 +2:      eth2
 +        link  01:00:5e:00:c8:01
 +        link  33:33:00:00:00:01
 +        link  01:00:5e:00:00:01
 +        inet  239.0.200.1 users 4
 +        inet  224.0.0.1
 +        inet6 ff02::1
 +3:      eth3
 +        link  01:00:5e:00:00:01
 +        inet  224.0.0.1
 +        inet6 ff02::1
 +4:      eth4
 +        link  33:33:00:00:00:01
 +        link  01:00:5e:00:00:01
 +        inet  224.0.0.1
 +        inet6 ff02::1
 +5:      eth5
 +        link  01:00:5e:00:00:01
 +        inet  224.0.0.1
 +        inet6 ff02::1
 +6:      eth0
 +        link  33:33:00:00:00:01
 +        link  01:00:5e:00:00:01
 +        inet  224.0.0.1
 +        inet6 ff02::1
 +7:      eth1
 +        link  01:00:5e:00:00:01
 +        inet  224.0.0.1
 +        inet6 ff02::1
 +</file>
 +\\ 
 +\\ 
 +On interface 2, we can see the same information, but just formatted in a different way:
 +\\ 
 +\\ 
 +eth2\\ 
 +link  01:00:5e:00:c8:01\\ 
 +link  33:33:00:00:00:01\\ 
 +link  01:00:5e:00:00:01\\ 
 +<color #ed1c24>        inet  239.0.200.1 users 4</color>\\ 
 +inet  224.0.0.1\\ 
 +inet6 ff02::1\\ 
 +\\ 
 +\\ 
wiki/show_connected_multicasts.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1