Single NIC multiple configurations

Michael Griffin mkgriffin at adelphia.net
Tue Jun 15 17:54:16 UTC 2004


The machine is shutdown between work and home.  My commute on a train is
an hour and then I drive home from there.

It appears that the multiple interfaces works.  I used
system-config-network and created a copy of the eth0 and nicknamed each
eth0_work and eth0_home respectively and configured them as follows.  At
work I use dhcp.  At home I use a static IP.  I have to try this at home
later, but will post my results.

Thank you for the help so far!

Michael

On Tue, 2004-06-15 at 11:57, 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.
> 
> I don't currently have the OP's problem right now, because dhcp handles
> everything.
> 
> -- 
> --------------------------------------------------------------------
> *  Charles Taylor <tomalek at mindspring.com>
> *  Chemistry teacher, Linux enthusiast!
> --------------------------------------------------------------------
> *  Web: http://home.mindspring.com/~charletiv/
> --------------------------------------------------------------------
> 





More information about the fedora-list mailing list