A place for opinions and notes of a valibuk.

Switching Network Configurations

Tagged with: — ondrej at 10:54 pm on Monday, September 25, 2006

Larry the CowI use my notebook mainly on two places: work and home. Each of this places has different network configurations — at work I have a fixed IP, at home I have a DHCP server.

Actually there is a very nice application for changing network configurations (or, if you like, profiles) — QuickSwitch (emerge quickswitch).

Everything is also explained in a tutorial and a Gentoo newsletter (btw. two years old ;).

And one more thing about the network configurations: I have to use two mail servers, so for my Thunderbird I defined only one mailserver — I called it mailserver. Then I have two hosts files: /etc/hosts.home and /etc/, where an alias is set, e.g.:

  1. 123.456.789.012     mailserver

In a QuickSwitch configuration the hosts file can be set with the usehosts=/etc/hosts.home line. It will create a symbolic link.

The actual configuration is changed very easily:
switchto home
switchto work

Nice, isn’t it? :)

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Comment Preview

commercial break :)

Make an account on -- a really good hosting where you have your own virtual machine. I installed Gentoo there = I like it very much ;)