Setting RH9 for static IP

Larry Brown larry.brown at dimensionnetworks.com
Mon May 31 17:31:27 UTC 2004


ex for /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.6
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes

just replace the addresses with the static address assigned you from your
ISP.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Stephen Kuhn
Sent: Monday, May 31, 2004 12:17 PM
To: General Red Hat Linux discussion list
Subject: Re: Setting RH9 for static IP


On Tue, 2004-06-01 at 02:13, Michael Sullivan wrote:
> I have a PC with RH9 installed on it, but because the hard drive is so
> small, I only did a server install on it.  My network receives DHCP
> addresses from the router.  It's thunderstorm season here in Oklahoma,
> and when the power goes off the router gets reset, along with all the
> DHCP addresses.  I was wondering if I could set up the server PC to
> always have the same address and not use DHCP, because if the power goes
> off in the middle of the night while we're asleep, we don't get our mail
> and people can't get to the website until I fix it in the morning.  If
> XFree86 was installed, I would just use neat, but there wasn't room for
> XFree86.  What file do I need to edit to set the server PC to always use
> the same local IP?
>
> -Michael Sullivan-

/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/eth0-conf

stephen kuhn - owner
==============================
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
------------------------------------------------------------------
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
------------------------------------------------------------------
Your sister swims out to meet troop ships.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list







More information about the redhat-list mailing list