static IP & DHCP problems on LAN

Rashkae ubuntu at tigershaunt.com
Tue Mar 12 00:34:28 UTC 2013


On 03/11/2013 04:41 PM, Adam Funk wrote:

> # normal operation
> auto eth0
> iface eth0 inet static
>        address 192.168.123.4
>        netmask 255.255.255.0
>        gateway 192.168.123.
>        dns-nameservers 194.168.4.100 194.168.8.100
>
> # superhub operation
> # auto eth0
> # iface eth0 inet static
> #        address 192.168.0.4
> #        netmask 255.255.255.0
> #        gateway 192.168.0.1
> #        dns-nameservers 194.168.4.100 194.168.8.100

So far so good.

If the computer is getting a DHCP address from the server, it must 
therefore be starting dhclient.  Can you confirm after the IP address 
has run?  (ps -e | grep dhclient)

(you should comment out those un-used network interfaces first, I don't 
know if a dhclient will be left running if they fail to start or not.)


I see nothing in the eth0 stanza that would start dhclient, but since 
this seems to be happening on a schedule, the next place to look is are 
your cronjobs.

Look for any file (especially any named root) in /var/spool/cron/crontabs

Then look to see what scrips are currently in your system cron daily. 
On my debian system, at least, those are set to run at 6:25am  (so that 
would be your early morning, yes?)

Script files in /etc/cron.daily/






More information about the ubuntu-users mailing list