Tom Diehl on 17 Dec 2003 14:01:02 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Re: switching to static ip


On Wed, 17 Dec 2003, Michael Lazin wrote:

> I have a sparcstation running aurora linux 1.0 that is configured with 
> a dynamic IP address.  I need to switch it to a static IP.  Any help 
> would be appreciated.

Just a guess but see if you have /etc/sysconfig/network-scripts/ifcfg-eth0
If you do just set the appropriate variables do an "ifdown eth0" "ifup eth0"
and all should be well. Something like 

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

Should do it. Obviously season to taste.

HTH,

..............Tom
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug