Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

mac address change issue

$
0
0

Hello All,

 

I am trying to change the mac address of a linux vm with a mac address that is outside the "00:50:56:XX:YY:ZZ" rage by following these steps:

-remove from the vmx config:

 

                       ethernet0.generatedAddress    

                       ethernet0.addressType    

                       ethernet0.generatedAddressOffset

-add to the vmx config: 

    ethernet0.addressType = "static"

    ethernet0.address = "new_mac_address"


I successfully changed the mac address, but now I can't access the vm from outside the network.

I was wandering if this is the correct way to change the mac address, if not, please advice.


I also tried running the following commands on the vm, but ended up with the same result.

  ifconfig eth0 down

  ifconfig eth0 hw ether new_mac_address

  ifconfig eth0 up

  ifconfig eth0 |grep HWaddr



Looking forward to seeing your toughs on this issue. Thanks,


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>