-
1
- #1
Hi all. Before I start into the question I just want to say thanks for all of the help that people have given me in this newsgroup and with emails. It is all really appriciated.
I have asked this question before here and have gotten good information. I am just a little confused about what is happening.
I have a SCO Open Server 5. I want to change its IP address. Right now it is at a 198 scheme. I am able to ping the loop back address, the server's ip address, the gateway ip address and any pc on the network. When I type netstat -rn to see the local routing table this is what I see:
Destination Gateway Flags Refs Use Interface
default 198.x.x.1 UGS 0 8116 net0
127.0.0.1 127.0.0.1 UH 2 12 lo0
198.x.x.0 198.x.x.4 UC 1 0 net0
198.x.x.4 127.0.0.1 UGHS 4 46 lo0
224 198.x.x.4 UCS 0 0 net0
Everything works fine with this ip scheme. I go into the gui interface to change the IP address of the NIC. It automatically changes the /etc/tcp file. I have changed the /etc/hosts file to have the new ip addresses of the network in it. I then manually change to the /etc/default/tcp file so that it has the correct netmask and broadcast address. When I reboot I get an error message from the portmapper at the 198 ip address. When I type the netstat -rn I get everything except the default route. I add the default address as 10.10.1.1 which is the gateway for the new ip scheme. The problem is that I can't ping the machine's ip address. I can ping 127.0.0.1 and 10.10.1.1, but not 10.10.1.4 or the name of the machine. I have gotten information on all of the files that are responcible for ip addresses and have checked them all and it is still not acting right. Is there a script somewhere in SCO that creates the default ip route? How can I make sure that the new ip address becomes the default route?
I am getting extremely frustrated with this whole process. I must be missing something because I can't imagine that it should be this tough to change an IP address of this server. I would really appriciate any help.
Thank you in advance,
Andy Richards
arichards@bccz.com
I have asked this question before here and have gotten good information. I am just a little confused about what is happening.
I have a SCO Open Server 5. I want to change its IP address. Right now it is at a 198 scheme. I am able to ping the loop back address, the server's ip address, the gateway ip address and any pc on the network. When I type netstat -rn to see the local routing table this is what I see:
Destination Gateway Flags Refs Use Interface
default 198.x.x.1 UGS 0 8116 net0
127.0.0.1 127.0.0.1 UH 2 12 lo0
198.x.x.0 198.x.x.4 UC 1 0 net0
198.x.x.4 127.0.0.1 UGHS 4 46 lo0
224 198.x.x.4 UCS 0 0 net0
Everything works fine with this ip scheme. I go into the gui interface to change the IP address of the NIC. It automatically changes the /etc/tcp file. I have changed the /etc/hosts file to have the new ip addresses of the network in it. I then manually change to the /etc/default/tcp file so that it has the correct netmask and broadcast address. When I reboot I get an error message from the portmapper at the 198 ip address. When I type the netstat -rn I get everything except the default route. I add the default address as 10.10.1.1 which is the gateway for the new ip scheme. The problem is that I can't ping the machine's ip address. I can ping 127.0.0.1 and 10.10.1.1, but not 10.10.1.4 or the name of the machine. I have gotten information on all of the files that are responcible for ip addresses and have checked them all and it is still not acting right. Is there a script somewhere in SCO that creates the default ip route? How can I make sure that the new ip address becomes the default route?
I am getting extremely frustrated with this whole process. I must be missing something because I can't imagine that it should be this tough to change an IP address of this server. I would really appriciate any help.
Thank you in advance,
Andy Richards
arichards@bccz.com