Static IP

Scott Mertens smertens at mho.com
Tue Apr 12 17:37:01 UTC 2005


On Tue, 2005-04-12 at 10:21 -0700, Rick Stevens wrote:
> Scott Mertens wrote:
> > On Tue, 2005-04-12 at 10:00 -0700, Rick Stevens wrote:
> > 
> >>Scott Mertens wrote:
> >>
> >>>New Linux User:  Red Hat Enterprise Linux ES release 4 (Nahant)
> >>>
> >>>I am in the process of setting up Printer sharing on this Linux box for
> >>>WIN XP users. I think some of my problems might be resolved if I can set
> >>>up a static IP for this box.  Currently it gets one from a Linksys
> >>>router connected to ISP.
> >>>
> >>>How can I tell Linux to use a static IP, but use DNS and other info
> >>>provided by ISP/Linksys router?
> >>
> >>First off, get into the router and write down the DNS info it uses.
> >>Also check the router's "DHCP Pool" (those are the addresses that the
> >>DHCP server will give out) and the router's IP address and netmask.
> >>
> >>Run "redhat-config-network" (or "RedHatIcon->System Settings->Network"
> >>from the Gnome GUI) and configure the NIC for a fixed IP address.  You
> >>will want to select a fixed IP that is NOT in the DHCP pool for the
> >>router.  Your netmask will probably be 255.255.255.0, but use the one
> >>you saw that the router was using.  Your default gateway will be the
> >>router (usually 192.168.0.1) and you'll put in the DNS servers you
> >>grabbed from the router.  That should be it.
> > 
> > 
> > Thanks, I'll give that a try.
> 
> Go for it, Scott.  We'll be waiting for a status report.

Is there just a file I can edit?  My practice is to always make a backup
of files before editing, and I'm not sure the GUI will do that.  Also
running the following as you suggest throws an error.

[root at RHServer01 ~]# redhat-config-network
-bash: redhat-config-network: command not found

THX

> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
> - VitalStream, Inc.                       http://www.vitalstream.com -
> -                                                                    -
> -               500: Internal Fortune Cookie Error                   -
> ----------------------------------------------------------------------
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe




More information about the Redhat-install-list mailing list