[CentOS] centos 6.4 networking problem

Les Mikesell lesmikesell at gmail.com
Fri Apr 26 12:45:52 UTC 2013


On Fri, Apr 26, 2013 at 12:58 AM, Michel Donais <donais at telupton.com> wrote:
>> On Wed, 24 Apr 2013 07:50:38 -0400
>> Michel Donais wrote:
>>
>>> > What do you have in /etc/sysconfig/network-scripts?
>>
>>> ifcfg-eth0
>>> ifcfg-eth1
>>
>> What are the contents of these tegining;
>
> The content of these two files was the same as in my 5.9 server. The system
> was working properly at the begining. So I don't understant probably I made
> a bad modification some where.
>
> For now, I scrapped the 6.4 and push back to 5.9 because of a lack of time
> to get a better understanding of the situation.
> 6.0 and up seems to be far different from 5 am I wright?

Yes, they are different, but mostly in the way the device names are
managed.   Both essentially randomize the order of detection and the
numbers each device gets, but in 5.x having the right HWADDR= and mac
address in the ifcfg-eth? file was sufficient to rename the device to
match the DEVICE= in the file.   In 6.x the names are set according to
the rules in /etc/udev/rules.d/70-persistent-net.rules (which will be
recreated at reboot, possibly in a different order if you delete it
after a change).   The /etc/sysconfig/networking-scripts/ifcfg-xxx
files have to match the DEVICE= and HWADDR= entries to work.   There
is also some special handling for netbios names in a weak attempt at
consistency  that only works on certain Dell servers.

--
  Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list