MAC address change question




I recently travelled to Seattle for a meeting and decided to play with
changing my MAC address and seeing how that would affect my network
access.

My configuration:

HP Pavilion zd8000 laptop
Mandriva 2006 Linux

Now, if I change my MAC address, either directly using ifconfig or with
macchanger, everything *seems* to work right locally on the machine,
but none of the DHCP servers I've played with will give me an ip address.
This was true for the wireless server at my hotel room, and for the Cingular
service here at SeaTac (where I'm waiting for a plane).

This is true even if I put the change early in the boot up sequence.

If I change my MAC address back to the "real" hardware address, Cingular
will give me an ip address no questions asked.


So for example, if I:

<boot up with network down>

% /etc/init.d/network start
% ifup wlan0 (I don't have my wireless come
up automatically)

I get an ip address from the dhcp server
just fine.

Then:

% /etc/init.d/network stop
% macchanger -e -a wlan0
% /etc/init.d/network start
% ifup wlan0

I get a time out and no dhcp response,
even though ifconfig wlan0 gives the
new mac number as the HWaddress.

Then:

% /etc/init.d/network stop
% macchanger -m <original number>
% /etc/init.d/network start
% ifup wlan0

I get an address from the dhcp server!

Everything I know to check looks fine with
respect to the change in MAC address having
been done correctly.

I don't understand why this doesn't work.
Obviously I need to learn something. Any
pointers would be appreciated!

Thanks in advance,

billo
.



Relevant Pages

  • Re: Mac Hostname on Network
    ... hostnames to the names of random Windows PCs on the network. ... it looks for a DHCP server, specifying its own name as the DHCP Client ... Along comes your Mac and asks the DHCP server for an IP address. ... name assigned by the network as its hostname. ...
    (comp.sys.mac.system)
  • Re: Mac Hostname on Network
    ... hostnames to the names of random Windows PCs on the network. ... it looks for a DHCP server, specifying its own name as the DHCP Client ... if your DNS was configured so that the LAN was called ... Along comes your Mac and asks the DHCP server for an IP address. ...
    (comp.sys.mac.system)
  • Re: DoS against DHCP
    ... Contingent on you having changemac or some other way to randomize a new mac ... >you (a single malicious machine connected to the network) actively take up all ... >before any competing machines (or DoS the competing machine directly until the ... >DHCP server releases the IP address to you). ...
    (Vuln-Dev)
  • RE: DHCP Server solutions
    ... and to disallow any other conenction or MAC address. ... on the network, because no packets would travel if unauthorized. ... > server to be able to leave the local network segment. ... > DHCP server so I could get to the internet (I was unable to ...
    (Security-Basics)
  • Re: mac address issue
    ... mac address that was different in some way that just resulted in the DHCP ... Sounds like the client is sent our a DHCP request, ... your DHCP server is replying with an offer, but the client is sending back ... Modeled after the famous Black Hat event ...
    (Security-Basics)