Web Hosting Talk







View Full Version : Ways to Set Cobalt IP, gateway etc....


ClusterMania
01-26-2003, 11:20 PM
I have a raq 3i for 2 years. I just recently moved it to another colo and it won't let me set the new IP. I should have done it before moving it but now it's too late.

What are the different ways to set the network configs besides using the webgui. I can't get access to webgui yet since it's no online yet.

Any tricks to this? Just use the arrow keys after it finishes booting up? Console in some how?

BruceT
01-27-2003, 12:01 AM
Yes, once it's fully up and running, it should display the existing "base" domain name and IP address.

Press and hold the "S" button for a few seconds to enter the LCD menu. The first option should be "setup network"

Press the "E" button to select this. You should then see "IP Address" and the existing IP. Use the arrows to set the new IP. Press "E" when done.

Repeat for "netmask" and "gateway", then choose "save".

The RaQ will reboot and come back online with the new settings.

Note - there is/was a feature/glitch that would prevent setting the gateway IP if the ethernet port was not connected to a cable. I don't know if it's still there or not...

If the LCD panel method doesn't work, and if you have physical access to the box, boot it with a null modem cable connecting the RaQ serial port to a laptop/PC serial port (I think RaQ3 is 9600 bps, N-8-1) running a terminal emulator. You should be able to login as root at the console, and edit the network interface script in /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network. Then reboot via the "reboot" command.

ClusterMania
01-30-2003, 05:30 AM
Ok, server is up now and I can ping it from other servers on the switch. Problem is I can't ping it from the outside world while I can ping other servers on the switch.

What could be wrong? Configurations on the switch or is it the cobalt???

BruceT
01-30-2003, 02:22 PM
Sounds like a routing issue to me: if the RaQ answers pings from _any_ other server, it's configured properly.

Can you ping "out" from the RaQ to something else on the internet?

What does a traceroute into the RaQ show from another server on the same switch? from an "outside" server?

raq4less
01-30-2003, 02:32 PM
Originally posted by BruceT
Sounds like a routing issue to me: if the RaQ answers pings from _any_ other server, it's configured properly.

Can you ping "out" from the RaQ to something else on the internet?

What does a traceroute into the RaQ show from another server on the same switch? from an "outside" server?

Bruce,

I've seen this occur twice before. The Raq simply refuses to accept a gateway address. (They can be rather fickel at times).

When this happened to us, the Power was disconnected from the server without a proper shutdown. The LCD wouldn't save the gateway address and manually placing it in the /etc/sysconfig/network wouldn't solve the problem either.

The server was pingable from other servers on the same switch because they were on the same subnet and didn't need to go through the gateway.

Of course, the OS restore did the trick for us.

Probably a little know "Undocumented feature"

ClusterMania
01-30-2003, 04:07 PM
OS restore? How is that done? What about virtual accounts? Do they get affected by the OS restore?

raq4less
01-30-2003, 11:55 PM
Originally posted by ClusterMania
OS restore? How is that done? What about virtual accounts? Do they get affected by the OS restore?

:eek: :eek:

You are being funny......right??

If not, The OS Restore is very destructive. Every thing is wiped clean.....it's the Factory OS Reload.

ClusterMania
01-31-2003, 02:59 AM
Well if you reinstall windows, you don't loose everything. Too bad you can keep all settings and files and just restore the files the the OS needs.

Can you think of anything else that I can do? I really don't want to loose any files or accounts.

jks
01-31-2003, 03:12 AM
Originally posted by ClusterMania
Well if you reinstall windows, you don't loose everything. Too bad you can keep all settings and files and just restore the files the the OS needs.

Can you think of anything else that I can do? I really don't want to loose any files or accounts.

Loosing the gateway is quite common, happened several times for me.

Just hook up a cable to the console port and set the new gateway (using the route command) - and then you can login via ssh/telnet whatever and make sure the information is saved for the next reboot (for example changing /etc/sysconfig/, changing rc.local, etc.).

In rare cases it helps simply saving the gateway from the LCD twice.