Change the HWADDR to MACADDR.
This change is persistent across reboots.
Tested OK on RHEL 5.5.
[root@localhost /]# cat /etc/sysconfig/networking/devices/ifcfg-eth0 # Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) DEVICE=eth0 BOOTPROTO=none MACADDR=00:0C:29:11:22:33 ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.18.123 GATEWAY=192.168.18.1 TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes [root@localhost /]# [root@localhost /]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0C:29:11:22:33 inet addr:192.168.18.123 Bcast:192.168.18.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe11:2233/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:562 errors:0 dropped:0 overruns:0 frame:0 TX packets:47 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:54763 (53.4 KiB) TX bytes:6646 (6.4 KiB) [root@localhost /]#
No comments:
Post a Comment