Join multicast group tool?

This is a discussion on Join multicast group tool? within the Linux Networking forums, part of the Linux Forums category; Hi all, I am trying to configure a simple linux host in order to test multicast on my network. What ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-13-2007
response3
 
Posts: n/a
Default Join multicast group tool?

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
  #2 (permalink)  
Old 11-13-2007
Ashish Shukla आशीष शुक्ल
 
Posts: n/a
Default Re: Join multicast group tool?

,--- 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
  #3 (permalink)  
Old 11-13-2007
response3
 
Posts: n/a
Default Re: Join multicast group tool?

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0