Operating System - Linux
1825810 Members
2501 Online
109688 Solutions
New Discussion

Re: Bring up a Linux server

 
SOLVED
Go to solution
Ian Derringer
Regular Advisor

Bring up a Linux server

Hi,
I have this Linux RHAS 2.1 fully configured and currently running on my LAN. I need to loan this Linux server to another site with totally different network IP schema. I've changed the IP address, submask, and the DNS settings to theirs (hosts, resolv.conf, fstab, and eth0, ie). But I'm still having trouble getting this server up and I'm seeing all kinds of errors that has to do with the network. Am I missing something else?? Please help!! Thank you in advance

Ian
6 REPLIES 6
Huc_1
Honored Contributor
Solution

Re: Bring up a Linux server

Check all the files in
/etc/sysconfig/network-scripts/
and also check /etc/sysconfig/iptables

Jean-Pierre Huc
Smile I will feel the difference
Nobody's Hero
Valued Contributor

Re: Bring up a Linux server

could you post the resolv.conf ?
UNIX IS GOOD
Gopi Sekar
Honored Contributor

Re: Bring up a Linux server


how did you change IP address and other information, its more likely that some of the files are not updated.

did you use redhat config tool to do this? if not try redhat-config-network tool which gives options to change all network related settings.

if you are still not comfortable, please post what is the error message you are getting on the system.
Never Never Never Giveup
Ian Derringer
Regular Advisor

Re: Bring up a Linux server

could you post the resolv.conf ?
**************************
nameserver 192.168.x.x
domain xxxx.com
****************************
The server had static IP address. Now, we're just using DHCP instead.

Thanks,
Ian
Stuart Browne
Honored Contributor

Re: Bring up a Linux server

If you are using DHCP, then the '/etc/resolv.conf' should be re-created upon getting new network settings.

The only reasons that wouldn't happen would be if the file's permissions are too tight (should be 644), or the option "NOPEERDNS=yes" is in the '/etc/sysconfig/network-scripts/ifcfg-ethX' file.
One long-haired git at your service...
Gopi Sekar
Honored Contributor

Re: Bring up a Linux server


ok if you are now using DHCP, then remove any existing entries from /etc/resolv.conf which might still reflect old server settings.

also check ifconfig output for any error packets or drops, and if possible post it here.

Also check /etc/sysconfig/networking/devices/ifcfg-ethX for BOOTPROTO=dhcp and remove any other static IP address entries

Regards,
Gopi
Never Never Never Giveup