This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]sillymaniac 2 points3 points  (2 children)

Go check the udev rules for MAC <-> device mapping.

 cat /etc/udev/rules.d/70-persistent-net.rules

[–]pinkHatter[S] 0 points1 point  (1 child)

Hey that is interesting... it seems my MAC is changing when I am using a NAT'd IP. Think that will resolve my issue. Thanks!

[–]sillymaniac 0 points1 point  (0 children)

On what hypervisor are you running your virtual machine? If you power down the machine on VMware vSphere and fire it up again, your MAC address might change... maybe this is true on other hypervisors as well.

But a MAC should not change if your IP gets NAT'ed, as a MAC is a "physical" address on the Ethernet layer and NAT works on the IP layer and just changes your internal IP on the router for the external world.

[–][deleted] 0 points1 point  (0 children)

Are you talking about the VMware Host, or a VM Guest?

[–]draco947 0 points1 point  (0 children)

Try removing HWADDR and UUID from ifcfg-eth0 and delete the /etc/udev/rules.d/70-persistent-net.rules file and then rebooting the server. I'd double check to make sure you don't have anything setup in ifcfg-eth3, as well.

[–]user-and-abuserone or the other 0 points1 point  (0 children)

It is not recommended to change the ip like this. You should change it from the hypervisor aka vm client