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

Re: Network config gui

"linux.eqed" <linux.eqed@comcast.net> writes:

> Hello all..  I am a debian newbie.. So far I really enjoy it.. However,
> on my old redhat/ximian installation I was able to switch networks very
> easily using the network configuration gui to deactivate one network
> card setting and activate the same card using another setting by using
> some alias eth0:0 etc.
> My goal is to not have to remember all the settings and have to type
> then all in everytime I switch networks. How do I manage switching
> networks the best?

You can declare multiple networks in /etc/network/interfaces:

iface eth0 inet dhcp

iface net-home inet static

and then switch networks with 'ifdown eth0; ifup eth0=net-home'.
(dns-nameservers only actually has an effect if you're using the
resolvconf package in unstable, though.)

David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell

Reply to: