On Fri, May 14, 2010 at 10:05 PM, RSCL Mumbai <[email protected]> wrote:
> On Thu, May 13, 2010 at 10:10 PM, Arun Khan <[email protected]> wrote:
>
>> On Thu, May 13, 2010 at 8:09 PM, RSCL Mumbai <[email protected]>
>> > If anyone can throw any light on this, it would be of help.
>> >
>>
>> find /etc -type f -exec egrep -Hin eth0 {} \;
>>
>> will identify the udev file in your system.
>>
>> Edit the relevant lines and you can map eth0 to the new MAC address.
>>
> Currently, I change the MAC address in:
> /etc/sysconfig/network-scripts/ifcfg-eth1
> &
> /etc/udev/rules.d/xxxx (some file called persistent-net?? not sure of the
> exact name.)

I was referring to the persistent udev rules.  I follow the KISS (Keep
it Simple and Stupid) rule and make the change in one and only one
place; the udev persistent rules.

I guess you are using a Fedora/RHEL distro, removing the MAC address
line in ifcfg-eth* files should work after making the change in the
udev persistent rule.

-- Arun Khan
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to