Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to get the multicast address in a network

Reply
Thread Tools Display Modes

How to get the multicast address in a network

 
 
latha
Guest
Posts: n/a

 
      02-06-2006, 09:47 AM
Hi all,

I have one question.
How to get the multicast group addresses in which our system is also a
member.
I have used "host -l mcast.net " for printing the multicast addresses,
but
it was coming like

;; communications error to 172.16.200.3#53: end of file

172.16.200.3 is our Domain name server.

Can anyone help me to get the multicast group addresses.

Thanks in advance.

Regards,
latha.

 
Reply With Quote
 
 
 
 
prg
Guest
Posts: n/a

 
      02-06-2006, 03:20 PM

latha wrote:
> Hi all,
>
> I have one question.
> How to get the multicast group addresses in which our system is also a
> member.


On a Linux host (end station) you can use:
$ /sbin/ip maddress list
1: lo
inet 224.0.0.1
2: eth0
link 01:00:5e:00:00:01
inet 224.0.0.1

I have not joined any groups. See here for ip command ref:
http://snafu.freedom.org/linux2.2/do...00000000000000

> I have used "host -l mcast.net " for printing the multicast addresses,
> but
> it was coming like
>
> ;; communications error to 172.16.200.3#53: end of file
>
> 172.16.200.3 is our Domain name server.
>
> Can anyone help me to get the multicast group addresses.


It is not clear what info you are wanting about multicast. Do you wish
a list of _which_ hosts are joining which multicast groups? Just a
list of which multicast groups have any members?

Multicast group membership is dynamic and has no connection with DNS.

Routers running multicast routing protocols only take note of whether
_any_ hosts are listening to a multicast address. They do not maintain
a list of multicast-to-unicast IP mappings so have no idea _which_
hosts are listening. They do maintain a "list" of which interfaces
have listeners for each active group. Is this what you need?

Switches and multicast, on the other hand, require different treatment
to avoid flooding each port with multicast packets just because one
host has joined a group. They _may_ maintain a list of
multicast-to-port # addresses that can be queried if the switch is
running:

-- CGMP (Cisco Group Management Protocol)
-- IGMP Snooping
http://www.cisco.com/univercd/cc/td/...i.htm#xtocid15

-- GMRP:GARP (GARP [Generic Attribute Registration Protocol] Multicast
Registration Protocol [GMRP])
http://www.javvin.com/protocolGMRP.html

See here for an inclusive intro:
http://www.intelligraphics.com/artic...2_article.html

There are also several application layer protocols (especially MADCAP)
with which I have no experience. See the Cisco doc above. You are not
likely running these without knowing it. Then again, you never can be
sure ;-)

So how to get whatever info you are wanting will depend on your setup.
And remember, google is your friend.

cheers,
prg

 
Reply With Quote
 
peter
Guest
Posts: n/a

 
      02-06-2006, 03:34 PM
latha wrote:

> Hi all,
>
> I have one question.
> How to get the multicast group addresses in which our system is also a
> member.


netstat -g

 
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
Multicast joins with false source address Ralph B Linux Networking 0 09-20-2007 04:24 PM
Multicast Address sathya Linux Networking 1 04-28-2007 02:09 AM
Multicast Address sathya Linux Networking 0 04-26-2007 09:10 AM
network load balancing & multicast mac-address linuccio Linux Networking 0 01-24-2007 09:14 AM
Re: NLB's Multicast MAC Address Michael Holzemer Windows Networking 4 01-16-2004 04:11 PM



1 2 3 4 5 6 7 8 9 10 11