Thanks for the reply Alex. I'll try to modify IPOutgoingPacket() to support the sending of multicast packets. If anyone knows of another way of sending multicast packets, please don't hesitate to let us know.
Thanks Peter ________________________________________ From: Alexis Malozemoff [EMAIL PROTECTED] Sent: Sunday, December 07, 2008 5:04 PM To: Peter Ochodo Cc: Muthucumaru Maheswaran, Prof.; gini@cs.mcgill.ca Subject: Re: [gini] how do I broadcast a multicast packet? IPOutgoingPacket() is probably treating 224.0.0.1 as any other IP address since multicasting isn't implemented, which is why it sends out the ARP packets. Alex On Sat, Dec 6, 2008 at 3:42 PM, Peter Ochodo <[EMAIL PROTECTED]> wrote: > Hi Sir, > > I am trying to send an igmp query from the router to hosts in a subnet. After > bundling up the igmp packet into an ip packet, then invoking > > IPOutgoingPacket(out_pkt, dst_ip, igmpPacketLength, 1, IGMP_PROTOCOL); > //{please note that dst_ip is 224.0.0.1, and IGMP_PROTOCOL = 2} > > then opening up wireshark, I note that the router uses the arp protocol to > send a broadcast asking for the mac address of a host with IP address > 224.0.0.1! I'd like the router to broadcast the packet in the subnet, and let > the interested hosts pick up the packet. > > Thanks > > Peter > > > > _______________________________________________ > gini mailing list > gini@cs.mcgill.ca > http://mailman.cs.mcgill.ca/mailman/listinfo/gini > _______________________________________________ gini mailing list gini@cs.mcgill.ca http://mailman.cs.mcgill.ca/mailman/listinfo/gini