Single NIC multiple configurations

Rodolfo J. Paiz rpaiz at simpaticus.com
Tue Jun 15 16:13:15 UTC 2004


At 09:57 6/15/2004, Charles E Taylor IV wrote:
>On Mon, 14 Jun 2004 13:53:28 -0400
>"Christopher K. Johnson" <ckjohnson at gwi.net> wrote:
>
> > Use multiple network profiles as configured via system-config-network on
> > FC2 or redhat-config-network on FC1.
> > I.E. create a home profile and a work profile and put different named
> > inteface configurations that may use the same device (eth0) in, and have
> > one active in home profile, and one active in work profile.
> > Edit /boot/grub/grub.conf duplicating the entire entry for your
> > preferred boot choice, then add "netprofile=home" to the kernel line on
> > one, and "netprofile=work" to the other.
>
>Does this solution require rebooting the machine between home and work?
>If the OP's needs are like mine, I never reboot the laptop.  I use
>suspend-to-RAM and resume when moving between work and home.  A solution
>involving rebooting is less than optimal.

The "netprofile=home" trick in grub.conf is to make the network profile 
selection both possible and easy at boot-time. However, changing network 
profiles does not require a reboot at all. No reason it would, really.

 From GNOME's main menu, select "System Settings" I believe, then "Network 
Device Control" or something like that. You'll get a window showing the 
interfaces on your machine and the current profile; from there you can 
activate or deactivate any interface according to the current profile's 
configuration or you can change the profile. Quick and easy. And of course 
there are also tools to do this in text mode if you don't run X.

Cheers,


-- 
Rodolfo J. Paiz
rpaiz at simpaticus.com
http://www.simpaticus.com





More information about the fedora-list mailing list