Re: [SLUG] Cannot create static IP address for Ubuntu 10.4

2011-12-10 Thread Amos Shapira
My favourite way to achieve this is to assign a static DHCP lease on the
modem (I.e. set it by the MAC address) that way it's also manageable for
other kinds of devices, concentrated in one place and the dhcp server is
aware of the address being in use.
On Dec 10, 2011 12:22 PM, elliott-brennan m...@elliott-brennan.id.au
wrote:

 Hi all,

 I know this comes under the 'Doh' list but...

 I have a fresh Ubuntu 10.04 install. On this particular machine I want a
 static address - I'm going to try out OpenSim (long story for later).

 This machine runs off a hub which is in turn connected to my modem/router.

 I've edited the /etc/network/interfaces file as follows:

 auto lo
 iface lo inet loopback

 auto eth0
 iface eth0 inet static
 address 192.168.0.12
 netmask 255.255.255.0
 gateway 192.168.0.1


 but no success. The machine is simply not happy (I've also lost the
 network icon from the toolbar - another story) and doesn't want to connect
 to the network.

 Should I just give up and assign an address to the machine's mac address
 via the router or is there something simple (I'm guessing so) that I'm
 missing.

 Thanks in advance.

 Regards,

 Patrick



 --
 www.patrickological.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: 
 http://slug.org.au/faq/**mailinglists.htmlhttp://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Cannot create static IP address for Ubuntu 10.4

2011-12-10 Thread elliott-brennan

Thanks to everyone who replied.

It seems by way of consensus that a static ip 
assigned to the MAC is the simplest solution.


:)


Regards,

Patrick

On 11/12/11 07:51, Amos Shapira wrote:

My favourite way to achieve this is to assign a
static DHCP lease on the modem (I.e. set it by the
MAC address) that way it's also manageable for
other kinds of devices, concentrated in one place
and the dhcp server is aware of the address being
in use.



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html