From owner-freebsd-net Fri Aug 13 1:34:22 1999 Delivered-To: freebsd-net@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 181A614D29 for ; Fri, 13 Aug 1999 01:34:12 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id JAA37125; Fri, 13 Aug 1999 09:33:52 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA00449; Fri, 13 Aug 1999 08:50:02 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199908130750.IAA00449@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: jbruner@esn.net Cc: "Brian Somers" , freebsd-net@FreeBSD.ORG Subject: Re: WAN via PPP with -alias In-reply-to: Your message of "Thu, 12 Aug 1999 12:55:03 EDT." <000701bee4e3$6c0b94c0$14000032@arthur.onlineinfoservices.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Aug 1999 08:50:02 +0100 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > When I tried taking out the -alias, the satellite office was no longer able > to reach the Internet (they are on a different subnet than the home office), > and I still wasn't able to ping any machines besides the host machine. > > Are all of the items I mentioned below needed (routed, enable proxy, etc.) > needed? Are there any that I missed? You need to make sure that routing works between the two LANs, then run the aliasing software at the gateway to the outside world. Routed is useless as it just runs around deleting static routes, and enable proxy isn't very useful at all. Did you add the two ``add HISADDR'' lines I mentioned ? If you get the two LANs talking, everything else should work fine. Of course everything on your ``home office'' LAN will need to know how to route to the ``satellite office'' LAN - you might be able to get away with setting up a static route on the 'net gateway and letting the ICMP redirects tell everyone else how to get there, but if you're using DHCP your best bet is to update everyones routing info. > Thanks, > > Jason > > > -----Original Message----- > > From: owner-freebsd-net@FreeBSD.ORG > > [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Brian Somers > > Sent: Thursday, August 12, 1999 11:38 AM > > To: jbruner@esn.net > > Cc: freebsd-net@FreeBSD.ORG > > Subject: Re: WAN via PPP with -alias > > > > > > Hi, > > > > If net access is provided via your home office, you should only do > > the packet aliasing at that point - the connection between the two > > offices should not be aliased. > > > > The two networks should then talk with a simple ``add > > HISADDR'' on each side where is the remote network & mask > > (something like ``1.2.3.4/24''). > > > > > Greetings all, > > > > > > I'm a FreeBSD newbie, and I would greatly appreciate any help > > that anyone > > > can give me with a problem I'm having. > > > > > > I've created a dial-up WAN connection between our satellite > > office and our > > > home office with two FreeBSD machines: 1 acting as a PPP client at the > > > satellite office, and another acting as a PPP server in our home office. > > > Because we have two different subnets, and access to the > > Internet here, we > > > set the PPP client up via a "PPP -auto -alias demand" type > > connection so the > > > satellite office could have Internet access, and it works great at the > > > satellite office. Each computer using the PPP client as a > > gateway can see > > > the rest of our network, and consequently the Internet. No > > problems at all > > > there. > > > > > > However, I'd hoped to be able to use the same connection to > > give our home > > > office access to our satellite office by using the PPP server here as a > > > gateway. No luck there. From even the PPP server (and any > > machine using > > > the PPP server as a gateway), I can see the PPP client machine, > > but none of > > > the other machines on the network. Traceroutes show everything > > as timeouts > > > past the PPP client. I've tried running routed on the PPP > > client/gateway > > > machine, but no luck. I imagine that everything is getting > > loused up by the > > > fact that I'm using the -alias option, but I'm not sure. > > > > > > I've got GATEWAY_ENABLED="YES" in the rc.conf, and tried using "enable > > > proxy" in the ppp.conf, but doesn't seem to help. > > > > > > > > > If anyone has any ideas about what I'm missing, I'd appreciate any > > > assistance at all. > > > > > > Thanks in advance, > > > > > > Jason > > > > > > jbruner@esn.net -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message