Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 1996 09:13:30 -0700 (PDT)
From:      "Eric J. Schwertfeger" <ejs@bfd.com>
To:        questions <questions@freebsd.org>
Subject:   iij -auto question 
Message-ID:  <Pine.BSF.3.91.960408090527.28274A-100000@harlie.bfd.com>

next in thread | raw e-mail | index | archive | help
I'm using iij PPP at home, and thought I'd try out on-demand dialing.  
While it worked fine for my FreeBSD machine, any traffic going to one of my 
other machines (on a 192.168.x.x subnet) would get held up while iijPPP 
dials my internet provider.  Does iijPPP not cope well with the concept 
of a multi-homed machine, or did I configure something wrong?

My address is the 168.158.20.137, the machine I call is 168.158.20.7, and my 
local network address is 192.168.42.1.  The machine shouldn't forward 
traffic (I don't know if it is or not), as it is running named in cache 
only mode and a socks server for access to the "real world".

here's my ppp.conf

#
# On demand dialup example
#  Here, we assume that local side use 192.244.185.226 and
#  remote side use 192.244.176.44 as their IP address.
#  You must supply -auto option to invoke PPP.
#
#  ex. % ppp -auto ondemand
#
ondemand:
 set device /dev/cuaa0
 set speed 57600
 set phone 2622288
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set login "TIMEOUT 15 username:-\\r-username: PANDORA assword: ***** ecline PPP"
 set timeout 300
 set ifaddr 168.158.20.137 168.158.20.7
 add 0 255.255.255.0  168.158.20.7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960408090527.28274A-100000>