Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just setup RH 7.2 and having networking trouble

Status
Not open for further replies.

iggystar

IS-IT--Management
Jul 12, 2001
126
US
I'm trying to assign an interface a certain static IP but on bootup I'm told that something else is occupying that IP.

Now my first time through I did make a config mistake that could be causing this problem, but according to the KDE Network Configurator nothing is sitting on that IP.

Anybody have any suggestions?

Any files out there I could edit? Maybe I added something to my host file that the network config isn't showing for example.

If you could make suggustions about what to check next I'd appreciate it.

If there are files that I could edit, if you could also tell me where those files live in a typical RH Linux install I'd appreciate it.

Thanks in advance.
 
Sound like you have another machine using the IP that you are trying to assign. On another machine try pinging that address. If it comes back live you need to change one of the address.
 
Try disconnecting the machine from the network and fire it up. If it's OK then it was complaining another interface on the network has the same address.

You don't need to reboot to do this, just run:

#> /etc/init.d/network stop

or

#> /etc/init.d/network start

to stop andf start networking.

If you want to keep the network system running and bring individual interfaces up and down, use:

#> ifdown eth0

and

#> ifup eth0



To identify what interfaces are running with what IP addresses, use the command:

#> ifconfig


There's isn't really a single config file to check but there are individual files for each interface containing the details in:

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

etc.



Rather than modify these directly, use the ifconfig command to configure these and all the associated files.


If you want to try a config gui, then I recommend 'linuxconf' rather than the kde tools.

Cheers,

Norwich
 
HA!

I was trying to give it .204 when the address should really be .202

What a stupid mistake.

They changed the interface in 7.2 from what I was used to so I assumed I screwed something up there.

Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top