trouble with redhat-network-config and ifconfig
i have to change my ethernet card's MAC addr ,to avoid changing it every time after reboot ,i add the
ifconfig commands:
ifconfig eth0 down
ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
ifconfig eth0 up
to the file
/etc/rc.d/rc.local
However it dosen't work .That's one thing i'am puzzled ,and the following is another :
if i run the ifconfig command directly in the console ,it dosen't work!
However, the redhat-config-network can work only if the 'ifconfig' commands have been added to the file /etc/rc.d/rc.local.
So how does redhat-config-network do the job changing MAC address and give such a puzzle ??
Thanks
|