Ubuntu and static IP address

David Fox dfox94085 at gmail.com
Fri Sep 25 02:11:58 BST 2009


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.






-- 
thanks for letting me change the magnetic patterns on your hard disk.




More information about the ubuntu-users mailing list