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
wiki:show_connected_multicasts [2017/06/19 20:31] walkeradminwiki:show_connected_multicasts [2023/03/09 22:35] (current) – external edit 127.0.0.1
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 33: Line 39:
 \\  \\ 
 \\  \\ 
-eth2            4      239.0.200.1+<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. 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.1497900683.txt.gz · Last modified: 2023/03/09 22:35 (external edit)