From: Mark Lord <mlord@pobox.com>
To: netdev@vger.kernel.org, davem@davemloft.net,
linux-kernel@vger.kernel.org
Subject: Wireless router with 2 MACs: okay with mswin, not with Linux ?
Date: Mon, 25 Sep 2006 17:14:38 -0400 [thread overview]
Message-ID: <451846BE.5030704@pobox.com> (raw)
Hi all,
I'm posting this from a hotel which has a wireless AP (B+G) for guests.
It took me several hours to figure out how to get the connection working
with my 2.6.18 notebook -- works just fine with other guests' mswin machines.
WEP is used, and is set up and working just fine: I can access the AP's
built-in web interface without any troubles. But..
The AP has two MAC addresses:
# arping -c1 192.168.1.1 -I eth1
ARPING 192.168.1.1 from 192.168.1.53 eth1
Unicast reply from 192.168.1.1 [00:11:F5:BA:67:AA] 2.164ms
Unicast reply from 192.168.1.1 [00:11:F5:77:38:C2] 5.696ms
Sent 1 probes (1 broadcast(s))
Received 2 response(s)
#
The first MAC can connect locally to the AP, but not outside.
The second MAC can connect locally and/or outside.
Linux only seems to ever use the first (no good) MAC for the AP,
rather than the second. Whenever I try an outside access, the AP
sends a gratuitous ARP reply, telling my machine to use the other MAC.
This seems to be ignored by Linux, but heeded by Windows.
For now, I've just written a small script to detect such a situation,
and to set a static ARP mapping for the second MAC. This works, but is way
beyond "normal usage" for most people.
Surely there's a flag or something to have the kernel cope with this?
????
--
Mark Lord
Real-Time Remedies Inc.
mlord@pobox.com
reply other threads:[~2006-09-25 21:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=451846BE.5030704@pobox.com \
--to=mlord@pobox.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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).