I need to spoof the MAC address in Solaris 10, running in a ESXi VM. The MAC I need is outside the range permitted by vSphere.
So I add an "ether" entry to /etc/hostname.e1000g0 so the file says
and reboot. To my horror, the netmask is now ff000000. It was fffffe00 before. so I add
and reboot. ifconfig -a looks fine at first glance, but can't ping the IP. To my horror, the broadcast address is now 10.255.255.255, instead of 10.182.217.255.
What can I do to set the MAC addy with config files in Solaris 10? I have tried a rc.local approach using SMF to fire it off. What an absolute pain it is to work with SMF. I'd rather do this using config files. In Windows and Linux I would have done this in 10 seconds - but Solaris has beaten me up badly. Help please.