Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 770
  • Last Modified:

multicasting

Hi,

Say if I want to multicast some data to a group of IPs, what will be the destination address in my IP field for such packets ?

For unicast, the destination address will be the IP of the destination and for broadcast, it will be the network address, it will be 255.255.255.255...how about  in the case of multicast packet ?

How multicast works ???
0
its_ns_04
Asked:
its_ns_04
1 Solution
 
michko-auCommented:
Multicasting is much like broadcasting, however the router only distributes packets to the segments with machines 'subscribed' to the multicast group. The address will be something like 224.0.0.1

This link should help: http://tldp.org/HOWTO/Multicast-HOWTO.html
0
 
its_ns_04Author Commented:
The how to link which you have mentioned doesn't say what to what addresses the machine will send packets to..

It simply says on configuring multicasting....

I am looking for something like, if i need to send some message to a group of address such as 192.168.1.3, 192.168.1.8,192.168.1.30.192.168.4.5, how does it send ???
0
 
giltjrCommented:
You/your program decides what the IP address is.

Typically the client program will talk to the server program using a unicast address, the server will then tell the clients what multicast IP address and port to listen on.

The multicast IP subnet/range is 224.0.0.0/4 (from 224.0.0.0 to 239.255.255.255)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
harbor235Commented:
Initially communication begins via unicast to the source, once the receiver and the devices in between join the appropriate group and build the multicast trees, the traffic is then directed to the source group IP.  The group IP can be any address out of the reservered Mulicast IP,  here is a link for best pratices assigning multicast addresses and thier approriate ranges.

http://tools.ietf.org/html/rfc3171

harbor235 ;}  
0
 
kadadi_vCommented:
More Info:

http://en.wikipedia.org/wiki/IP_multicast

Regards,
vijay
0
 
SteveJCommented:
it_ns_04,

Do you understand what the experts are telling you? Multicast addresses are assigned if you want them to be global. EIGRP uses a multicast address, for example, and it's published. If you write an application that uses multicast, you could apply for an address that your application would "own".

Here are some you may recognize:

224.0.0.0       Base address (reserved)
224.0.0.1       The All Hosts multicast group addresses all hosts on the same network segment.
224.0.0.2       The All Routers multicast group addresses all routers on the same network segment.
224.0.0.5       The Open Shortest Path First (OSPF) AllSPFRouters address is used to send Hello packets to all OSPF routers on a network segment.
224.0.0.6       The OSPF AllDRouters address is used to send OSPF routing information to designated routers on a network segment.
224.0.0.9       The Routing Information Protocol (RIP) version 2 group address is used to send routing information to all RIP2-aware routers on a network segment.
224.0.0.10       The Enhanced Interior Gateway Routing Protocol (EIGRP) group address is used to send routing information to all EIGRP routers on a network segment.
224.0.0.13       Protocol Independent Multicast (PIM) Version 2
224.0.0.18       Virtual Router Redundancy Protocol (VRRP)
224.0.0.19 - 21       IS-IS over IP
224.0.0.22       Internet Group Management Protocol (IGMP) Version 3
224.0.0.102       Hot Standby Router Protocol Version 2
224.0.0.251       Multicast DNS (mDNS) address
224.0.0.252       Link-local Multicast Name Resolution (LLMNR) address
224.0.1.41       H.323 Gatekeeper discovery address

Good luck
Steve
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now