Skip site navigation (1)Skip section navigation (2)
Date:      08 May 2001 15:50:24 +0100
From:      Wayne Pascoe <wayne.pascoe@realtime.co.uk>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-mobile@freebsd.org
Subject:   Laptop on 2 networks - solutions ?
Message-ID:  <m1ae4ngaj3.fsf@zaphod.realtime.co.uk>

next in thread | raw e-mail | index | archive | help
Hi all,

I would be interested in hearing of solutions from people who use a
laptop on two different systems. 

I use my laptop at home (192.168.1.0/24) and at work
(192.168.2.0/24). At the moment, in /etc I have rc.conf.home and
rc.conf.work. Each of these has IP configs for the correct network. I
also have resolv.conf.home and resolv.conf.work. 

I have a script that copies the appropriate conf files into place, and
then I reboot.

This all seems far more clumsy than needs be. Is there any better
solution than this out there?

Also, I note that if I have fxp0 set to my home address and add an
alias to fxp0 of my work address, I am able to ping machines in my
work network. All I then have to do is change my gateway, as it seems
I can't have two routes for 0.0.0.0/0 (error message :
route: writing to routing socket: File exists
add net 0.0.0.0 gateway 192.168.1.30: File exists)

Any tips on this would be great! Thanks :)

-- 
- Wayne Pascoe 
E-mail: wayne.pascoe@realtime.co.uk
Phone : +44 (0) 20 7544 4668
Mobile: +44 (0) 788 431 1675

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m1ae4ngaj3.fsf>