Changing MAC Address on a NIC Card
Tags:
Example: 'ifconfig -a' shows: - - - - - - - - - hme0: flags=1000843mtu 1500 index 2 inet 192.168.1.120 netmask ffffff00 broadcast 192.168.1.255 ether 8:0:20:cf:ea:9f qfe0: flags=1000803 mtu 1500 index 10 inet 192.168.1.150 netmask ffffff00 broadcast 192.168.1.255 ether 8:0:20:cf:ea:9f - - - - - - - - - notice the ether (MAC) address is the same for each interface... to force the MAC address, run ifconfig qfe0 ether 8:0:20:cf:ea:9a and now 'ifconfig -a' shows: - - - - - - - - - hme0: flags=1000843 mtu 1500 index 2 inet 192.168.1.120 netmask ffffff00 broadcast 192.168.1.255 ether 8:0:20:cf:ea:9f qfe0: flags=1000803 mtu 1500 index 10 inet 192.168.1.150 netmask ffffff00 broadcast 192.168.1.255 ether 8:0:20:cf:ea:9a - - - - - - - - - these changes will not persist after a reboot. To set each interface to a different MAC address permanently, run: eeprom local-mac-address\?=true and upon reboot, the MAC addresses will be unique for each interface.
»
- Add new comment
- 1965 reads
