Ubuntu and static IP address

NoOp glgxg at sbcglobal.net
Thu Sep 24 15:56:59 UTC 2009


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





More information about the ubuntu-users mailing list