Re: NIC starts but won't save IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Brian Johnson wrote:
shane c branch (scbranch@xxxxxxxxxx) wrote:



Brian Johnson wrote:


I have a machine that I normally access through ssh that I've been working on and
now when I reboot it or restart networking, the IP address (and default gateway
routing) doesn't initialize properly

ifconfig shows eth0 without an IP address and if I do:

ifconfig eth0 192.168.2.11
route add default gw 192.168.2.1

eveything works!

I've looked through the network scripts and ifcfg-eth0 file in
/etc/sysconfig/network-scripts and compared them to other systems I have and I can't
figure out what is idfferent on this machine that screws up my networking config

Can anyone help?



also check /etc/sysconfig/networking/default/profiles there are scripts in there that might be conflicting with the ones in .../network-scripts

--

regards,

shane



Thanks for the idea.

Found them in /etc/sysconfig/networking/profiles/default on my other machines.  They
look like copies of the config files from elsewhere:

# ls default
hosts  ifcfg-eth0  ifcfg-eth1  network  resolv.conf

They were missing on my problem machine but creating them on my problem machine
doesn't seem to solve my problem

--
Brian Johnson
* This is where my witty signature line would be if I bothered to edit this line :) *

interesting. i had the same problem on one of my machines, and once i had both files with synch information it went away.

there was one other thing you might check. be sure that you don't have athe dchp client running. i had a problem with that too. the machine had to be dchp until they told me what subnet it was to go on. when i got the new static address and set up, it would hold it for about 8 hours, then it would get replaced by the dchp address. once i killed that client, it went away....and i think that's when i found the second set of ifcfg scripts.


--


regards,

shane


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux