From owner-freebsd-questions Fri Mar 31 12:45:45 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA04351 for questions-outgoing; Fri, 31 Mar 1995 12:45:45 -0800 Received: from teton.Mines.Colorado.EDU (teton.Mines.Colorado.EDU [138.67.1.21]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id MAA04345 for ; Fri, 31 Mar 1995 12:45:43 -0800 Received: by teton.Mines.Colorado.EDU (AIX 3.2/UCB 5.64/4.03) id AA24733; Fri, 31 Mar 1995 13:45:40 -0700 From: mbarkah@teton.Mines.Colorado.EDU (Ade Barkah) Message-Id: <9503312045.AA24733@teton.Mines.Colorado.EDU> Subject: gateway support To: freebsd-questions@FreeBSD.org Date: Fri, 31 Mar 1995 13:45:40 -0700 (MST) X-Mailer: ELM [version 2.4 PL22] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1370 Sender: questions-owner@FreeBSD.org Precedence: bulk Hello, Can someone help a network newbie with setting up FreeBSD 2.0-R as a gateway? I've compiled gateway support into the kernel with `options GATEWAY', and i'm running `routed -g'. Here's the setup: I have a couple of freebsd machines at home linked with ethernet. One of the machines (machine A) also connects to an ISP via slip. Machine A is to be a gateway between my local ethernet and the internet. machine a: ip# to slip is 204.131.81.86. ip# to ethernet is 204.131.231.1. I have this machine's default route pointing to the ISP's slip address. Packets between this machine and the internet are routed properly. machine b: ethernet's ip is 204.131.231.10. The default route is machine a's ethernet ip#. I can talk fine between this machine and machine a. Both machines are running FreeBSD 2.0-R. Machine A is a pentium-90 with a 3c509, machine B is a DECpc 486/50 with a DEC DE202 ethernet card. Via tcpdump, when I try to ping from machine B to the internet, I can see packets coming into machine A via the ethernet, but I see no packets coming out of machine A's slip interface to the internet. I don't know what to do next... I was assuming that by simply enabling gateway support in kernel and running routed -g would forward packets between the two interfaces in machine A. Obviously I'm mistaken. I'd really appreciate any help, -Ade Barkah