Networking Forums

Networking Forums > Computer Networking > Linux Networking > Join multicast group tool?

Reply
Thread Tools Display Modes

Join multicast group tool?

 
 
response3
Guest
Posts: n/a

 
      11-13-2007, 08:47 PM
Hi all,

I am trying to configure a simple linux host in order to test
multicast on my network. What I would like to do is be able to have
the host join a specific multicast group via IGMP and be able to
respond to ICMP Echo messages sent to that multicast group. Does
anyone know a way to do this? Thanks.

Brian

 
Reply With Quote
 
 
 
 
Ashish Shukla आशीष शुक्ल
Guest
Posts: n/a

 
      11-13-2007, 09:04 PM
,--- response3 writes:
| Hi all,

| I am trying to configure a simple linux host in order to test
| multicast on my network. What I would like to do is be able to have
| the host join a specific multicast group via IGMP and be able to
| respond to ICMP Echo messages sent to that multicast group. Does
| anyone know a way to do this? Thanks.

Install and run avahi[1], a mDNS[1] stack. The daemon will join IPv4
multicast group 224.0.0.251 . Now, try pinging IPv4 address,
224.0.0.251, you'll get response from your box and from other boxes on
your network.

In Linux, in order to receive broadcast and multicast pings, your
probably need to set sysctl 'net.ipv4.icmp_echo_ignore_broadcasts' to
0 .

# sysctl net.ipv4.icmp_echo_ignore_broadcasts=0

For IPv6, no need to install Avahi to test multicast, simply 'ping6'
'ff02::1' (all-hosts) multicast address.

---->8---->8----
abbe [~] chatteau $ ping6 ff02::1%eth2
PING ff02::1%eth2(ff02::1) 56 data bytes
64 bytes from fe80::208:5cff:fe5b:f413: icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from fe80::208:5cff:fe5b:f413: icmp_seq=2 ttl=64 time=0.041 ms
64 bytes from fe80::208:5cff:fe5b:f413: icmp_seq=3 ttl=64 time=0.042 ms

--- ff02::1%eth2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.033/0.038/0.042/0.008 ms
----8<----8<----

References
[1] - http://www.avahi.org/
[2] - http://en.wikipedia.org/wiki/Zeroconf

| Brian

HTH
--
Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
 
Reply With Quote
 
response3
Guest
Posts: n/a

 
      11-13-2007, 09:55 PM
On Nov 13, 2:04 pm, wahj...@gmail.com (Ashish Shukla )
wrote:
> ,--- response3 writes:
>
> | Hi all,
>
> | I am trying to configure a simple linux host in order to test
> | multicast on my network. What I would like to do is be able to have
> | the host join a specific multicast group via IGMP and be able to
> | respond to ICMP Echo messages sent to that multicast group. Does
> | anyone know a way to do this? Thanks.
>
> Install and run avahi[1], a mDNS[1] stack. The daemon will join IPv4
> multicast group 224.0.0.251 . Now, try pinging IPv4 address,
> 224.0.0.251, you'll get response from your box and from other boxes on
> your network.
>
> In Linux, in order to receive broadcast and multicast pings, your
> probably need to set sysctl 'net.ipv4.icmp_echo_ignore_broadcasts' to
> 0 .
>
> # sysctl net.ipv4.icmp_echo_ignore_broadcasts=0
>
> For IPv6, no need to install Avahi to test multicast, simply 'ping6'
> 'ff02::1' (all-hosts) multicast address.
>
> ---->8---->8----
> abbe [~] chatteau $ ping6 ff02::1%eth2
> PING ff02::1%eth2(ff02::1) 56 data bytes
> 64 bytes from fe80::208:5cff:fe5b:f413: icmp_seq=1 ttl=64 time=0.033 ms
> 64 bytes from fe80::208:5cff:fe5b:f413: icmp_seq=2 ttl=64 time=0.041 ms
> 64 bytes from fe80::208:5cff:fe5b:f413: icmp_seq=3 ttl=64 time=0.042 ms
>
> --- ff02::1%eth2 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 1998ms
> rtt min/avg/max/mdev = 0.033/0.038/0.042/0.008 ms
> ----8<----8<----
>
> References
> [1] -http://www.avahi.org/
> [2] -http://en.wikipedia.org/wiki/Zeroconf
>
> | Brian
>
> HTH
> --
> Ashish Shukla http://wahjava.wordpress.com/
> -- - --- - - - --- -- --- - --- -- --- --


Thank you. Is there a way to set this application to join a specific
group, other than the default?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi to ALL. I just join this group. jesicalydahas@gmail.com Broadband 4 12-19-2007 04:33 PM
HOW DO I JOIN A WAN GROUP? INDEE Wireless Networks 2 10-10-2005 02:13 PM
Source IP Address of Multicast Join Packets nd_no@yahoo.com Linux Networking 4 03-03-2005 10:35 AM
IPRIP could not join the multicast group 224.0.0.9 Scot Wireless Networks 0 12-12-2004 06:29 PM
multicast join group error : No such device Pirabhu Raman Linux Networking 2 11-09-2004 02:38 PM



1 2 3 4 5 6 7 8 9 10 11