No networking after spoofing mac address
Posted: 20. May 2014, 16:53
Hi,
I wasn't sure where to put this - i seems to be a rather general problem concerning networking with a linux guest on a windows host - so there are several possible boards. Sorry if I picked the wrong one.
Whenever I change the MAC address of my (Debian) Linux guest (Tiny Core Linux behaves the same way) with ifconfig, I cannot get networking back up / can no longer communicate with the host or other vms on the same host-only network. This does not occur if the MAC is spoofed at boot time (by editing /etc/network/interfaces).
The card with the fake physical address pulls a new ip address from DHCP just fine, but is not able to talk to anyone. Unfortunately, the project i'm working on requires a rather dynamic approach, which is why i don't want to "hardcode" my spoofed addresses into the interfaces-file nor use virtualbox to change the "real" mac address of the virtual nic.
I'm strongly suspecting myself of forgetting something, but for now I just can't wrap my head around this.
Thanks for any replys!
I wasn't sure where to put this - i seems to be a rather general problem concerning networking with a linux guest on a windows host - so there are several possible boards. Sorry if I picked the wrong one.
Whenever I change the MAC address of my (Debian) Linux guest (Tiny Core Linux behaves the same way) with ifconfig, I cannot get networking back up / can no longer communicate with the host or other vms on the same host-only network. This does not occur if the MAC is spoofed at boot time (by editing /etc/network/interfaces).
The card with the fake physical address pulls a new ip address from DHCP just fine, but is not able to talk to anyone. Unfortunately, the project i'm working on requires a rather dynamic approach, which is why i don't want to "hardcode" my spoofed addresses into the interfaces-file nor use virtualbox to change the "real" mac address of the virtual nic.
I'm strongly suspecting myself of forgetting something, but for now I just can't wrap my head around this.
Thanks for any replys!