Page 1 of 1

Changing Gateway and DNS

Posted: Wed Jan 25, 2006 1:08 pm
by mrhumphreys
Hi,

My main adsl connection has gone down, so I need to change the server settings to look at the new gateway and dns servers to my second connection.

Which files do I need to change?

Many thanks

Matthew

Posted: Wed Jan 25, 2006 6:31 pm
by ScalixSupport
Hi Matthew,

If you've got a new dns server you need to edit /etc/resolv.conf. You configure the new gateway if your on redhat in /etc/sysconfig/network. If you're on Suse you'll change the gateway with the command

Code: Select all

route add default gw new.ip.address


Or you can use the gui's.

Best wishes,
Don