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

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
netconfig
or
ifcfg eth0 192.168.1.3/4/5/6/7/8/9
or
redhat-config-network

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.
michaelk
As root try:
ifconfig eth0 192.168.1.x netmask 255.255.255.0 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 192.168.1.1 ( 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-2017 Invision Power Services, Inc.