Ubuntu and static IP address
Karl F. Larsen
klarsen1 at gmail.com
Fri Sep 25 12:25:19 UTC 2009
David Fox wrote:
> On Thu, Sep 24, 2009 at 2:52 PM, Karl F. Larsen <klarsen1 at gmail.com> wrote:
>> NoOp wrote:
>
>> karl at Jaunty:~$ cat /etc/network/interfaces
>> auto lo
>> iface lo inet loopback
>> # iface eth0 inet static
>> # address 192.168.2.6
>> # netmask 255.255.255.0
>> #gateway 192.168.0.1
>
> Offhand, your problem is that all the important bits are commented
> out. Thus, they are ignored. No wonder it won't work. Uncomment the
> important stuff, save and exit, do sudo ifdown eth0, then sudo ifup
> eth0, and it should work, assuming your addresses are all right.
>
>
>
>
>
>
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
More information about the ubuntu-users
mailing list