Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 00:41:19 -0500 (EST)
From:      Larry Baird <lab@gta.com>
To:        freebsd-mobile@freebsd.org
Subject:   Re: switching between connected/disconnected operation?
Message-ID:  <200003220541.AAA45046@gta.com>

next in thread | raw e-mail | index | archive | help

>   1) Ethernet on 192.168.x.0 LAN in my apartment
>   2) Ethernet on 192.168.y.0 LAN in my office
>   3) Dial-in, PPP, to the registered net in the office

All three of the above are variations on the same theme.  
What I do for 1 and 2 is that I:
  1) Use the office IP 192.168.y.0 has my primary number.
  2) Add an IP alias of 192.168.x.0.  

When I move between locations it becomes a simple job of changing the
default route and resolv.conf.  I do this by hand, but it wouldn't
take more than a few lines of shell script to semi-automate it.

I havn't done much playing with step three.  The PPP connection can I
believe also change the default route and resolv.conf for you at startup.

I havn't had to worry about the not on net case.  Maybe somebody else
has a nifty idea for this one.

Larry


-- 
------------------------------------------------------------------------
Larry Baird                        | http://www.gnatbox.com
Global Technology Associates, Inc. | Orlando, FL
Email: lab@gta.com                 | TEL 407-380-0220, FAX 407-380-6080


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?200003220541.AAA45046>