Forcing static address in 12.04

rikona rikona at
Wed Jun 10 22:11:29 UTC 2015

Hello Mariano,

Wednesday, June 10, 2015, 7:50:20 AM, Mariano wrote:

> 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
>> netmask
>> network
>> broadcast
>> gateway
>> dns-nameservers
>> 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
> netmask
> network
> broadcast
> gateway
> dns-nameservers

A brief history. Originally couldn't force an IP address because the
GUI tool would not allow it. Searching the net gave several slightly
different suggestions to try using the 'interfaces' file to set up
networking. The above *format* was the one suggested in the last inet
article I found, which did not work. I have NEVER set 'network' or
'broadcast' to set up networking - I just was following the published
suggestion. Apparently not needed...

Also learned that .233 is used as a broadcast address. Didn't know
that - I've been using it for a number of years on several boxes and
it always 'just worked'. :-) IIRC it was a default in older Netgear
routers; worked, so kept using it. But I now see that .255 might be
better for an actual broadcast address.

Thanks for the suggestions and comments...



More information about the ubuntu-users mailing list