Static Network Address, Routing Issue
Vic Ayres
vic at ayresonline.co.uk
Sun Nov 21 21:03:51 UTC 2004
On Sun, 2004-11-21 at 15:43 -0500, Joe Zicarelli wrote:
> Hello,
>
> I have just done a fresh Custom (minimal) Warty install. Using DHCP,
> networking works fine. However, I wish to give it a static IP
> address. After reading 'man interfaces', I thus edited my
> /etc/network/interfaces: (Note that I have added line numbers here)
>
> 01 # This file describes the network interfaces available on your system
> 02 # and how to activate them. For more information, see interfaces(5).
> 03
> 04 # The loopback network interface
> 05 auto lo
> 06 iface lo inet loopback
> 07
> 08 # The primary network interface
> 09 auto eth0
> 10 #iface eth0 inet dhcp
> 11 iface eth0 inet static
> 12 address 192.168.1.2
> 13 netmask 225.225.225.0
<snip>
This last line should be :-
netmask 255.255.255.0
--
Vic Ayres
More information about the ubuntu-users
mailing list