Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 1995 10:19:31 +0800 (HKT)
From:      John Beukema <jbeukema@HK.Super.NET>
To:        Hackers <hackers@FreeBSD.org>
Subject:   packet forwarding
Message-ID:  <Pine.SUN.3.91.950628100234.24008A-100000@is1.hk.super.net>

next in thread | raw e-mail | index | archive | help

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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950628100234.24008A-100000>