From owner-freebsd-questions Wed Oct 22 19:03:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA19534 for questions-outgoing; Wed, 22 Oct 1997 19:03:35 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from cedb.dpcsys.com (cedb.dpcsys.com [206.16.184.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA19527 for ; Wed, 22 Oct 1997 19:03:33 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id CAA26216; Thu, 23 Oct 1997 02:03:27 GMT Date: Wed, 22 Oct 1997 19:03:27 -0700 (PDT) From: Dan Busarow To: michael dorin cc: questions@FreeBSD.ORG Subject: Re: routing help needed! In-Reply-To: <199710221756.RAA23153@chaski.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 22 Oct 1997, michael dorin wrote: > Recently I posted a message regarding getting ppp going between > my isp and my small network. ppp is working fine, but I can't seem > to route anything using bsd as the gateway, except stuff the comes > off of bsd. You must have missed my response. Or not liked it :) > How do I route things from the ethernet over to the network? > > I have six static ip address. > > xxx.xxx.xxx.233 is where the ppp connection comes up. > xxx.xxx.xxx.234,235,236,237,238 are my other routed addresses. You can't do it that way. The ppp connection has to have an IP address outside of the space your LAN uses. You should use .233 for the ethernet interface on your FreeBSD machine and some other address, outside of your /29, on the serial port. Your ISP should have some subnets that are used for just this purpose. If you have only one host on the "inside" that needs a real IP address then you coulde use xxx.xxx.xxx.233/30 (255.255.255.252) for the PPP connection, xxx.xxx.xxx.237 for the ethernet and xxx.xxx.xxx.238 for that one machine. I'd suggest running ppp -alias, it's painless and works quite well. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82