From owner-freebsd-questions Mon Apr 21 17:53:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA02253 for questions-outgoing; Mon, 21 Apr 1997 17:53:32 -0700 (PDT) Received: from tulpi.interconnect.com.au (root@tulpi.interconnect.com.au [192.189.54.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA02248 for ; Mon, 21 Apr 1997 17:53:29 -0700 (PDT) Received: (from ahill@localhost) by tulpi.interconnect.com.au id KAA18416 (8.7.6/IDA-1.6); Tue, 22 Apr 1997 10:53:20 +1000 (EST) Date: Tue, 22 Apr 1997 10:53:19 +1000 (EST) From: Anthony Hill To: questions@freebsd.org Subject: Networking w FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am just installing a new 2.2.1 system, but am having some problems with the networking. The machine is to be a gateway connected to the Internet via ppp and to a local ethernet network. The first problem is that I have to manually insert a default route using ppp's add command every time I connect. I have a "0 0 HISADDR" line in ppp.linkup, but it does not seem to make any difference. When I type ppp ON> add 0 0 203.63.80.130 <- being the addr of the router I dial into I can reach the greater internet, but not the rest of the local ethernet. (packets destioned for the ethernet now go out the ppp interface.) I really need to use something like the HISADDR macro, because I dont know exactly which router I will reach when I dial in. I also thought that addresses on the local ethernet should not need a route - that they would be visible and reachable automatically.