From owner-freebsd-hackers Tue Jun 27 19:19:40 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA14193 for hackers-outgoing; Tue, 27 Jun 1995 19:19:40 -0700 Received: from hk.super.net (root@hk.super.net [202.14.67.4]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id TAA14186 for ; Tue, 27 Jun 1995 19:19:36 -0700 Received: from is1.hk.super.net by hk.super.net with SMTP id AA02564 (5.67b/IDA-1.5 for ); Wed, 28 Jun 1995 10:19:31 +0800 Date: Wed, 28 Jun 1995 10:19:31 +0800 (HKT) From: John Beukema To: Hackers Subject: packet forwarding Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk I am running 2.0.5R and iiij.ppp. I am very pleased with it so far. I have one problem however which is probably something stupid on my part. I have a local network on 10.0.0.1 to .15 on ed1 and iij.ppp on tun0. I would like to use the FreeBSD machine, winjef, as a gateway to the Internet. My kernel is compiled with options GATEWAY. After ppp is connected netstat -r gives as follows: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default ts1.hk.super.net UGc 3 368 tun0 10 link#1 UC 0 0 winjef 0:0:44:2:e6:c UHLW 4 409 lo0 john 2:0:0:91:7:8 UHLW 0 3 ed1 954 10.0.0.255 link#1 UHLW 1 404 localhost localhost UH 0 8 lo0 ts1.hk.super.net slip47.hk.super.ne UH 2 0 tun0 slip47.hk.super. winjef UGHS 0 0 ed1 224 link#1 UCS 0 0 I can ping ts1.hk.super.net from winjef (10.0.0.2) and I can ping winjef from john (10.0.0.3) but I cannot ping ts1.hk.super.net from john. I tried route add ts1.hk.super.net winjef and various other combinations but have not succeeded. Can anyone help? jbeukema