From: "Denys" <denys@visp.net.lb>
To: "Rune Torgersen" <runet@innovsys.com>,
<linuxppc-embedded@ozlabs.org>, <netdev@vger.kernel.org>
Subject: Re: Ethernet weirdness on 82xx
Date: Sun, 2 Sep 2007 14:12:01 +0300 [thread overview]
Message-ID: <20070902110957.M44221@visp.net.lb> (raw)
In-Reply-To: <DCEAAC0833DD314AB0B58112AD99B93B0353A6AB@ismail.innsys.innovsys.com>
Thats normal.
Check arp_filter sysctl :
arp_filter - BOOLEAN
1 - Allows you to have multiple network interfaces on the same
subnet, and have the ARPs for each interface be answered
based on whether or not the kernel would route a packet from
the ARP'd IP out that interface (therefore you must use source
based routing for this to work). In other words it allows control
of which cards (usually 1) will respond to an arp request.
0 - (default) The kernel can respond to arp requests with addresses
from other interfaces. This may seem wrong but it usually makes
sense, because it increases the chance of successful communication.
IP addresses are owned by the complete host on Linux, not by
particular interfaces. Only for more complex setups like load-
balancing, does this behaviour cause problems.
arp_filter for the interface will be enabled if at least one of
conf/{all,interface}/arp_filter is set to TRUE,
it will be disabled otherwise
IMHO default setting can mess up things in some conditions.
On Fri, 31 Aug 2007 16:35:19 -0500, Rune Torgersen wrote
> I'm not sure if this is by design or an actual bug.
>
> We have a system witb an 8280 with two active ethernets (fcc2 and
> fcc3) We are running kernel 2.6.18.1 (and won't be upgrading in a
> while) out of arch/ppc
>
> Eth0 and eth1 are in totally different subnets.
> We happened to have both ehternets connected to the same network,
> and I ran a arping agains the IP on eth0. Both ports (eth0 and eth1)
> responded with the same address, but different macs....
>
> sudo /sbin/arping -c1 172.23.12.114
> ARPING 172.23.12.114 from 172.23.15.21 eth0
> Unicast reply from 172.23.12.114 [00:30:D7:00:14:55] 0.838ms
> Unicast reply from 172.23.12.114 [00:30:D7:00:14:54] 0.890ms
> Sent 1 probes (1 broadcast(s))
> Received 2 response(s)
>
> It only gets both responses on the first (broadcast) query from
> arping All responses afterward is then from the wrong port....
>
> The ethernet setup on the target box:
>
> eth0 Link encap:Ethernet HWaddr 00:30:D7:00:14:54
> inet addr:172.23.12.114 Bcast:172.23.15.255
> Mask:255.255.248.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:473244 errors:0 dropped:2 overruns:0 frame:0
> TX packets:186655 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:162928671 (155.3 Mb) TX bytes:42222862 (40.2 Mb)
> Base address:0x8500
>
> eth1 Link encap:Ethernet HWaddr 00:30:D7:00:14:55
> inet addr:192.168.0.100 Bcast:192.168.0.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1553 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:203182 (198.4 Kb) TX bytes:168 (168.0 b)
> Base address:0x8600
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.
next prev parent reply other threads:[~2007-09-02 11:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 21:35 Ethernet weirdness on 82xx Rune Torgersen
2007-09-02 11:12 ` Denys [this message]
2007-09-04 14:06 ` Rune Torgersen
2007-09-02 11:14 ` Denys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070902110957.M44221@visp.net.lb \
--to=denys@visp.net.lb \
--cc=linuxppc-embedded@ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=runet@innovsys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).