Re: How to change a gateway?
You could always write a bash script that uses the route command and
executes at startup
On 12/21/06, Emerson Dorow <email@example.com> wrote:
Look my /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
# The primary network interface
iface eth0 inet static
Put the gateway option in yours interfaces configuration script, now your
route will survive a reboot. I wish i could help you.
Em Qui, 2006-12-21 às 03:42 -0800, Bill escreveu:
What is the best way to change the IP address of a gateway?
Other than using the route command - that won't survive a reboot.
I have a new router with a different IP and need to configure
I find the basic data is in /etc/network/interfaces, but it's a
"no-edit" file. Presumably there's a better way? A tool, a script?
Any other files involved?
To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
With Regards Ali Jawad