- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Cannot create static IP address for Ubuntu 10.4
- From: James Linder <jam@xxxxxxxxx>
- Date: Sun, 11 Dec 2011 09:51:27 +0800
On 11/12/2011, at 9:00 AM, slug-request@xxxxxxxxxxx wrote:
> 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.
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
This absolutely does work for me, on 10.04 and all following
James