Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My ISP refused to give out a new IP when I switched from just having one computer in the LAN to using a router in spite of me doing a few releases and renews. So I tried an a little unorthodox solution, I changed the router's MAC to the same as the computer's. I was thinking that it wouldn't work to connect the computer later but at least I would have the WLAN for the time being. However, when I plugged the computer back in it still worked. Now I have a LAN where the router and a DHCP-client in the LAN have the same MAC. I'm scratching my head trying to figure out how this works.

share|improve this question
add comment

3 Answers

up vote 5 down vote accepted

You set the MAC of the outbound WAN interface, which is not the same as the internal interface that you connect to your gateway with.

Try:

ping <gateway>; arp -a <gateway>

You will notice your router has two interfaces, one of which you configured to use the computers MAC. Only if you are on the same network segment you need to have different MACs - see Ignacio's answer.

share|improve this answer
add comment

Network devices on the same segment must have unique MAC addresses. The router splits the LAN and WAN into two different segments.

share|improve this answer
    
Oh, so the router and clients aren't part of the same segment. That would explain it. –  Rick May 2 '11 at 9:37
    
The router's LAN ports and the router's WAN port are on separate segments. –  Ignacio Vazquez-Abrams May 2 '11 at 9:37
add comment

Your router has at least two ports, one for the WAN (the "internet", so to say) and one for your (W)LAN, i.e. the internal network.

Both have two different MAC addresses. By assigning your router the MAC address of your computer, they don't have the same MAC in your LAN, but the router will "copy" the MAC address to its WAN port, therefore appearing to your ISP like it was your computer.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.