Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am trying to change the MAC address of my device. I tried the ifconfig way as well as the macchanger tool way. However although the MAC address changes on interface eth0. I do not get a DHCP based IP address. When I tried a nework-manager restart, then the old eth0 MAC is assigned and I get an IP.

Is there a way to get an IP based on my new random MAC?

Please help.

share|improve this question

marked as duplicate by Rinzwind, belacqua, green7, Raja, bcbc Apr 27 '13 at 18:16

This question was marked as an exact duplicate of an existing question.… ? – Rinzwind Apr 26 '13 at 8:08

I think, there is MAC filtering on router, switch, dhcp server. Also you may check there is static assign list MAC->IP or allow/deny list.

share|improve this answer

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