Resetting network devices between ifconfig level and desktop level

Bill Nottingham notting at redhat.com
Thu May 5 18:27:55 UTC 2011


Dan Williams (dcbw at redhat.com) said: 
> On Thu, 2011-05-05 at 18:45 +0100, Aaron Gray wrote:
...
> > >> $ ifconfig
> > >> eth0      Link encap:Ethernet  HWaddr 00:26:18:E4:99:77
...
> > >> eth1      Link encap:Ethernet  HWaddr 00:24:01:ED:05:35
...
> > $ cat ifcfg-eth0
> > # nVidia Corporation MCP61 Ethernet
> > DEVICE=eth0
> > ONBOOT=no
> > TYPE=Ethernet
> > BOOTPROTO=dhcp
> > NAME="System eth0"
> > UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
> > IPV6INIT=no
> > USERCTL=no
> > DEFROUTE=yes
> > IPV4_FAILURE_FATAL=yes
> > HWADDR=00:1B:B9:D0:B4:6E
> > PEERDNS=yes
> > PEERROUTES=yes
> > DHCP_CLIENT_ID=192.168.1.1
> > ~~~
> > 
> > this is listing DHCP_CLIENT_ID as 192.168.1.1 when it should be
> > 192.168.0.1 and there is no file for eth1
> 
> Do you recall filling the client ID entry in during the install?  AFAICT
> the only places that possibly set that are the user through
> nm-connection-editor; neither NM nor Anaconda appears to set that item
> automatically.

The other interesting part is that the HWADDR in that ifcfg file doesn't
actually correspond to any device on your system.

Bill


More information about the devel mailing list