Forcing static address in 12.04

JARA MELAGRANI, Mariano [wz] marianojara at afip.gob.ar
Wed Jun 10 14:50:20 UTC 2015


On 08/06/2015 10:17 p.m., rikona wrote:> Hello Karl,
> Sunday, June 7, 2015, 10:31:13 PM, Karl wrote:
>> > On Sun, 2015-06-07 at 21:42 -0700, rikona wrote:
<big snip> 
>> > and *if* you put correct configuration details in. Please post
>> > the current contents of /etc/network/interfaces.
> auto lo
> iface lo inet loopback
> 
> auto eth0
> iface eth0 inet static
> address 192.168.144.8
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.144.233
> gateway 192.168.144.233
> dns-nameservers 192.168.144.233
> 
> The above were the suggestions from the last net article[with my info
> in there].
> 

There´s something wrong there, maybe you meant something like this:

address 192.168.144.8
netmask 255.255.255.0
network 192.168.144.0
broadcast 192.168.144.255
gateway 192.168.144.233
dns-nameservers 192.168.144.233

or

address 192.168.144.8
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.144.233
dns-nameservers 192.168.144.233

<snip>
> Now I need to get networking back...
> 
> Thanks very much for the help!
> 
> -- rikona

-- 
Mariano Jara Melagrani



More information about the ubuntu-users mailing list