Hi Detlev,Stefano, yes I really appreciate this mailing list! (and sorry if some questions are not too much ELDK related...)
Well, Module interfaces and sniffer are connected to the same Ethernet HUB, in this way the sniffer can see every input/output packet from Eth1 and Eth2. So, All my test were done NOT on two physical separated network. Stefano, are you sure about the fact that is not allowed to have both interfaces sharing the same segment? Anyway, there's in your opinion a workaround to avoid this double ARP packet? Best Regards, Luigi -----Messaggio originale----- Da: Detlev Zundel [mailto:[email protected]] Inviato: mercoledì 17 novembre 2010 13.29 A: Luigi Rizzi Cc: [email protected] Oggetto: Re: [ELDK] ARP Messages Hi Luigi, you seem to like our mailing list although the questions you have are really not at all ELDK specific ;) > I'm facing a strange behave on the ARP answers from my TQM885D module > (U-boot 1.3.0-rc2 and kernel 2.4.25). When I connect both Ethernet > interfaces, for example configured as follow: > > Eth1: IP 192.168.0.126 MAC 00:23:DE:CC:12:01 > Eth2: IP 192.168.11.126 MAC 00:23:DE:CC:12:02 > > If an ARP request arrives from the net the module sends two answers > (from the two interfaces) with the same IP and different MACs. > > Here the packets I can see on the Ethernet sniffer: > > Source Destination Protocol Info > ---------------------------------------------------------------------------- -------------------------------------------------------------------- > CompaqHp Broadcast ARP Who has 192.168.0.126? > 00:23:DE:CC:12:01 CompaqHp ARP 192.168.0.126 is at 00:23:DE:CC:12:01 > 00:23:DE:CC:12:02 CompaqHp ARP 192.168.0.126 is at 00:23:DE:CC:12:02 How is the sniffer connected? To eth1 only? Then it seems strange that you actually see a packet with the MAC of eth2 there. Somehow I do not believe that without a special setup the MAC of eth2 is used for packets on eth1 link... > Anyone can tell me the reason why I'm getting also the second answer > (of course a wrong answer) ? The answer can only be given once we know your whole network setup, i.e. what iptables do you have active, what routing tables do you have, do you have a bridging setup active, does one of the interfaces do proxy-arp, etc. You need to provide all those informations before we can help. Cheer Detlev -- We support democracy, but that doesn't mean we have to support governments that get elected as a result of democracy. -- George W. Bush - March 30, 2006 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: [email protected] _______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
