From owner-freebsd-questions Thu Dec 25 22:36:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA26177 for questions-outgoing; Thu, 25 Dec 1997 22:36:29 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA26169 for ; Thu, 25 Dec 1997 22:36:25 -0800 (PST) (envelope-from grog@lemis.com) Resent-From: grog@lemis.com Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA03873 for questions@FreeBSD.org; Fri, 26 Dec 1997 17:06:16 +1030 (CST) (envelope-from grog) Resent-Message-Id: <199712260636.RAA03873@freebie.lemis.com> Message-ID: <19971226170520.45923@lemis.com> Date: Fri, 26 Dec 1997 17:05:20 +1030 From: Greg Lehey To: Stan Brown Cc: Free BSD Questions list Subject: Re: Routing (I thin) help, Please. References: <199712241638.IAA06657@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199712241638.IAA06657@freefall.freebsd.org>; from Stan Brown on Wed, Dec 24, 1997 at 11:42:20AM -0500 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Resent-Date: Fri, 26 Dec 1997 17:06:16 +1030 Resent-To: FreeBSD Questions Sender: owner-freebsd-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, Dec 24, 1997 at 11:42:20AM -0500, Stan Brown wrote: > I am trying to do something that I am having a hard time geting to work > quite right. here is the situation. > > I have a local network at home with 4 computers on it. These are a > FreeBSD box that has a ppp auto dialup link to my IPS, 2 HP > workstaions, and a Linux box. The default gateway for all the machines > on my network is the FreeBSD box which is using packet alliasing. One > of the HP's is the NIS server, and the other is the DNS server. I have > a second phne line coming inot one of the HP's. This line is set up tu > answer with fax tones, but if no connection is established it presents > modem tones that lead to a login prompt. > > I have a laptop runing FreebSD that I want to be able to make a PPP > connection to this network. I have set up ij-ppp on the HP. > > So far I can get an automatiic login and ppp makes it's connescion. > I have even managed to ping, and telnet between the Hp and the lpatop > nav vice versa. Now here is the problem, I can not ping other machines > on the networ, or machines out to the net via the gateway. I suspect > this is a problem with how I am seting up the routing tables on the HP, > but I am not certain. By default, most machines do not perform packet forwarding, since RFC 1122 prohibits packet forwarding by default. You'll have to find out how to turn it on on the HP. This could be as simple as setting a parameter. For example, in FreeBSD you just enter: # sysctl -w net.inet.ip.forwarding=1 It's more likely, though, that you're going to have to build a new kernel on the HP with the option IPFORWARDING. I don't know HP, so you'll have to find out some other way. > Could some kind soul give me some words of wisdom here. Also does the > Hp need 2 hostnames now that it has 2 IP addresses? Well, you don't need two IP addresses for the two interfaces. You can use the same address for both. But if you want to leave it that way, no, you don't need another name, and it's not a good idea. Greg