Help - Search - Members - Calendar
Full Version: Newbie - Help - Setting Rh9 To A Static Ip.
Linuxhelp > Support > Technical Support

Can someone please help me. I have tried and search many forums and site but still unable to resolve my problem.

I am on adsl connection - ip is dynamically assign by isp.

I am very new with rh9.

I am trying to setup my linux box to connect to the internet while its on a static ip.

My adsl router/modem is set to dhcp off.

I tried to set my box to be on a static ip by
ifcfg eth0

Whatever i tried, i get the following error message:
ERROR, some hosts are using address 192.168.1.x

Any idea how can i connect to the internet on a static ip?


I can access the internet when i turn my router/modem dhcp to ON and turn my rh9 box to dhcp mode.


Thank you in advance for any help.
As root try:
ifconfig eth0 192.168.1.x netmask up

You will have to manaully configure the /etc/resolv.conf file with the nameserver data from the router page. Then set the gateway to the routers IP address like:

route add default gw ( or what ever the router is configured for)

Offhand I'm not sure what the ifcfg script is calling to receive that error.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.