netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wireless router with 2 MACs: okay with mswin, not with Linux ?
@ 2006-09-25 21:14 Mark Lord
  0 siblings, 0 replies; only message in thread
From: Mark Lord @ 2006-09-25 21:14 UTC (permalink / raw)
  To: netdev, davem, linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-25 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25 21:14 Wireless router with 2 MACs: okay with mswin, not with Linux ? Mark Lord

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).