Ubuntu and static IP address
Karl F. Larsen
klarsen1 at gmail.com
Thu Sep 24 21:52:43 UTC 2009
NoOp wrote:
> On 09/24/2009 04:45 AM, Karl F. Larsen wrote:
> ...
>> Do you have a static IP address on your computer now?
>>
>> Please send cat /etc/network/interfaces and let us see what
>> is simple.
>>
>> Karl
>
> $ cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
>
> # iface ppp0 inet ppp
> # provider ppp0
>
> iface eth0 inet static
> address 192.168.4.100
> netmask 255.255.255.0
> gateway 192.168.4.1
> mtu 1492
>
> auto eth0
>
>
I tried this and it failed on my computer. Here is what I
tried with the static settings # out so I can again get Internet
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
#auto eth0
The why it didn't work is a real mystery to me. I am using
9.04 with network manager.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
More information about the ubuntu-users
mailing list