[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to change a gateway?

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

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:
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

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 debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: