From owner-freebsd-current Thu Jan 23 00:17:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA06417 for current-outgoing; Thu, 23 Jan 1997 00:17:55 -0800 (PST) Received: from ns.tp.silkera.net (ns.tp.silkera.net [203.70.2.9]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA06372; Thu, 23 Jan 1997 00:17:39 -0800 (PST) Received: from dorothy.bsd.zerodist.com (ts62-ip78.tp.silkera.net [203.70.2.78]) by ns.tp.silkera.net (8.8.4/8.8.4) with SMTP id QAA29995; Thu, 23 Jan 1997 16:19:43 +0800 (CST) Message-ID: <32E71F38.246E@ms2.hinet.net> Date: Thu, 23 Jan 1997 16:20:08 +0800 From: zerodist Reply-To: zerodist@ms2.hinet.net X-Mailer: Mozilla 3.0Gold (Win95; I) MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: PPP dynamic IP routing Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I use a dial up phone to dial up to my ISP. Both my ISP and I got ip addresses randomly. To do automatic routing, I use Ip style as follows in ppp.conf and ppp.linkup. ifconfig 203.70.2.66/24 203.70.2.4/24 in ppp.conf add 0 0 203.70.2.4/24 in ppp.linkup But it seems not much help. Now I still have to add default route manually. In linux I can solve this problem using device name. Thanks.