From owner-freebsd-questions Fri Sep 27 12:19:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA17836 for questions-outgoing; Fri, 27 Sep 1996 12:19:48 -0700 (PDT) Received: from franklin.usa1.com (franklin.usa1.com [204.249.224.68]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA17492 for ; Fri, 27 Sep 1996 12:19:24 -0700 (PDT) Message-Id: <199609271919.MAA17492@freefall.freebsd.org> Received: from dmn1-11.usa1.com ([205.247.41.11]) by franklin.usa1.com (post.office MTA v1.9.3 ID# 0-11518) with SMTP id AAA69 for ; Fri, 27 Sep 1996 15:16:07 -0400 Comments: Authenticated sender is From: "Teddy Wang" Organization: CSC Consulting To: questions@freebsd.org Date: Fri, 27 Sep 1996 15:16:07 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Problems with User PPP and Dynamic IP assignment Priority: normal X-mailer: Pegasus Mail for Windows (v2.33) Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Help! I'm trying to get my FreeBSD 2.1.5 running PPP with my local provider. So far I've set up the following files... In the /etc/hosts file: 127.0.0.1 localhost 204.249.255.200 teddy.usa1.com teddy I made up the number for teddy.usa1.com because my local provider will dynamically assign me an IP. In the /etc/sysconfig file: network_interfaces="lo0 tun0" ifconfig_lo0="inet localhost" ifconfig_tun0="inet teddy.usa1.com 204.249.224.1 netmask 0xffffffff" User PPP dials successfully when I type: ppp> dial simplesite But the connection won't let me route to the world until I type: PPP> add 0 0 HISADDR My netstat -r before user ppp: Internet: Destination Gateway Flags Refs Use Netif Expire localhost localhost UH 0 0 lo0 204.249.224.1 teddy UH 0 0 tun0 204.249.255.200/32 localhost Uc 0 0 lo0 My netstat -r after user ppp: Internet: Destination Gateway Flags Refs Use Netif Expire default cs1-wak-ma.usa1.ne UGc 17 6 tun0 localhost localhost UH 0 14 lo0 wakma1-5 local UH 0 0 lo0 netstat after user ppp never returns, but hangs. Netscape and Mosaic both refuse to load. Any ideas of what's going on? Please e-mail any suggestions directly... Teddy