How to set up static IP in 12.04 and avoid these start-up delays?

Tom H tomh0665 at gmail.com
Thu Oct 4 12:40:27 UTC 2012


On Thu, Oct 4, 2012 at 8:29 AM, Chris Green <cl at isbd.net> wrote:
> On Thu, Oct 04, 2012 at 02:40:21PM +0300, Marius Gedminas wrote:
>>
>> Can you show the contents of your /etc/network/interfaces?
>
>     auto lo
>     iface lo inet loopback
>
>     iface eth0 inet static
>     address 192.168.1.2
>     netmask 255.255.255.0
>     network 192.168.1.0
>     broadcast 192.168.0.255
>     gateway 192.168.1.1
>     dns-domain zbmc.eu
>     dns-search zbmc.eu
>     dns-nameservers 127.0.0.1 195.74.113.58 194.72.0.114
>
>     auto eth0
>
>     # The USB network interface
>     auto eth1
>     iface eth1 inet dhcp

1) Your broadcast address should be "192.168.1.255".

2) You don't need to have the "broadcast..." or "network..." lines in
"/etc/network/interfaces".

3) Is "auto eth1" slowing down boot?




More information about the ubuntu-users mailing list