EmbeddedRelated.com
Forums

about uclinux network setting???

Started by Unknown October 30, 2007
i have a question. i implement uclinux on xilinx ml403.i turn on
promiscouse mode, but i only receive brocast packet,not promiscouse
mode packet, what's happen ? what's next step i will be do??? on
uclinux kernel or ethernet driver???

賴正岳 escribió:
> i have a question. i implement uclinux on xilinx ml403.i turn on > promiscouse mode, but i only receive brocast packet,not promiscouse > mode packet, what's happen ? what's next step i will be do??? on > uclinux kernel or ethernet driver???
Er... Have you connected your device to a hub, a switch or a router? In turn connected to another devices, a LAN, Internet, or what?
On 10 31 ,   12 42 , "Ignacio G.T." <igtorque.rem...@evomer.yahoo.es>
wrote:
> escribi=F3: > > > i have a question. i implement uclinux on xilinx ml403.i turn on > > promiscouse mode, but i only receive brocast packet,not promiscouse > > mode packet, what's happen ? what's next step i will be do??? on > > uclinux kernel or ethernet driver??? > > Er... Have you connected your device to a hub, a switch or a router? In > turn connected to another devices, a LAN, Internet, or what?
CONNECT TO A SWITCH,THE SAME COMPUTER, BUT NOT RECEIVE PACKET LIKE PROMISCOUSE.
kobelai15@gmail.com escribi&#4294967295;:
> On 10 31 , 12 42 , "Ignacio G.T." <igtorque.rem...@evomer.yahoo.es> > wrote: >> escribi&#4294967295;: >> >>> i have a question. i implement uclinux on xilinx ml403.i turn on >>> promiscouse mode, but i only receive brocast packet,not promiscouse >>> mode packet, what's happen ? what's next step i will be do??? on >>> uclinux kernel or ethernet driver??? >> Er... Have you connected your device to a hub, a switch or a router? In >> turn connected to another devices, a LAN, Internet, or what? > > CONNECT TO A SWITCH,THE SAME COMPUTER, BUT NOT RECEIVE PACKET LIKE > PROMISCOUSE.
If I understand you well, you are connecting your device to a switch, and then you are trying to monitor with it the traffic that goes between the other ports of the switch, right? That will not work: a switch filters the traffic, and only delivers to your device the layer 2 traffic that is directed to it, including layer 2 broadcast traffic. If you want to monitor all the traffic, you need to use a hub (which is "layer 1 device"), or use a switch that can be configured to deliver all the traffic to one specific port.