[En-Nut-Discussion] About Multicast packet receive
Joe Doubek
jdoubek at control4.com
Fri Jul 2 01:25:50 CEST 2004
I just wanted to note on this thread that all I needed to do to get
multicast running with the lan91c111 was to enable multicast in the
multicast hash table (bank 3 offset 0-7) and then change the
NutIpInput()
function in ipin.c to not filter out the multicast receives. You can
either
set the appropriate hash table bit or if you don't mind getting slammed
you
can globally enable all multicast traffic with the ALMUL bit in the
receive
control register (bank 0 offset 4). For a full implementation you will
also need to implement IGMP and join the multicast groups of interest,
otherwise my understanding is you will not cross routers with your
packets.
-Joe
-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Harald Kipp
Sent: Thursday, June 10, 2004 4:43 AM
To: Ethernut User Chat (English)
Subject: Re: [En-Nut-Discussion] About Multicast packet receive
Ives,
yes, depending on the type of controller you are using,
you need to modify dev/nicrtl.c, dev/cs8900.c,
dev/lanc111.c or dev/wlandrv.c.
Possibly more had to be done on the other layers
too, but I do not know much about IP multicast.
ff:ff:ff:ff:ff:ff isn't really multicast but the
broadcast address, which is supported by default.
Harald
At 10:28 10.06.2004 +0100, you wrote:
>harald
>did u mean i need to modify the driver to receive the multicast packet?
>u say about the driver not support multicast, but i able to receive
under
>ff:ff:ff:ff:ff:ff mac address,
>and also i able to send multicast packet, but not on receive it with if
it
>was not using standard ff:ff:ff:ff:ff:ff mac address. (like cisco
router
>broadcast).
>
>iVes
>
>
>
> > Ives,
> >
> > your observation is correct. In the current status
> > the Ethernet drivers do not support multicast.
> >
> > Ethernet controllers have special registers for
> > multicast mode, which need to be set during
> > initialization. In case you want to try that,
> > I'd be very interested in the results.
> >
> > Harald
> >
> >
> > At 09:27 10.06.2004 +0100, you wrote:
> > >I having problem on receive multicast UDP packet other then the
>destination
> > >ip 255.255.255.255 and *.*.*.255.
> > >but I was able to send boardcast UDP packet other then
255.255.255.255 by
>a
> > >little modify on ipout.c (net library) with multicast mac address.
> > >i do some tracing on packet arrive(ethernut board), found that all
>multicast
> > >packet other then x.x.x.255 or 255.255.255.255 been filter
out(maybe it
> > >only recognize ff:ff:ff:ff:ff:ff mac address as boardcast packet
and
>filter
> > >other out, but i am not sure what happen), It dont have any
response on
> > >ethin.c .
> > >
> > >any expert know what happenning, and how to enable me to do some
>multicast
> > >implementation.
> > >
> > >iVes
> > >_______________________________________________
> > >En-Nut-Discussion mailing list
> > >En-Nut-Discussion at egnite.de
> > >http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> >
> > _______________________________________________
> > En-Nut-Discussion mailing list
> > En-Nut-Discussion at egnite.de
> > http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> >
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list