You could always write a bash script that uses the route command and executes at startup
On 12/21/06, Emerson Dorow <[EMAIL PROTECTED]> wrote:
Hi Bill, 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 auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep map eth0 # The primary network interface auto eth0 iface eth0 inet static address 10.0.10.10 netmask 255.255.0.0 broadcast 10.0.255.255 network 10.0.0.0 gateway 10.0.10.6 Put the gateway option in yours interfaces configuration script, now your route will survive a reboot. I wish i could help you. Bye. Em Qui, 2006-12-21 às 03:42 -0800, Bill escreveu: Hi folks, 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 accordingly. 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? thanks, b. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-- With Regards Ali Jawad