Subject: Routing problem
To: None <netbsd-help@NetBSD.ORG>
From: Demosthenes Skipitaris <ds@nitro.no>
List: netbsd-help
Date: 07/20/1998 10:20:06
Hello,

I have a problem with IP-forwarding on my computer running NetBSD
1.3.2.

My computer has two network interfaces, the first interface has subnet
194.198.117.16/28 and the second subnet 192.168.117.  The problem is
that I cannot reach a host on the first subnet from a host on the
second net.

The routing table on the computer with dual ethernet-cards look like
this:

Destination        Gateway            Flags     Refs     Use    Mtu  Interface
default            194.198.117.17     UGS         1    90625      -  ep0
127.0.0.1          127.0.0.1          UH          0       21      -  lo0
192.168.117        link#2             UC          0        0      -  ep1
192.168.117.23     00:a0:24:f2:30:23  UHL         4      311      -  ep1
194.198.117.16/28  link#1             UC          0        0      -  ep0
194.198.117.17     00:e0:1e:5f:85:24  UHL         1        0      -  ep0
194.198.117.18     00:60:08:74:6d:10  UHL         0       50      -  lo0
194.198.117.19     00:00:21:60:53:39  UHL         1     2013      -  ep0
194.198.117.23     00:a0:24:f2:30:23  UHL         0   399151      -  ep0

Then, when I try to run traceroute on a computer on subnet
192.168.117, this happends:

# traceroute 194.198.117.19
traceroute to 194.198.117.19 (194.198.117.19), 30 hops max, 40 byte packets
 1  haiti-gw (192.168.117.18)  0.648 ms  0.428 ms  0.400 ms
 2  * * *

Does anyone has an idea why packets are not forwarded?  The kernel has
options GATEWAY and IPFORWARDING enabled, so the computer should do
IP-forwarding.  But is does not.

-ds
--
Demosthenes Skipitaris              E-mail:  ds@nitro.no
Nitro Media AS                      WWW:     http://www.nitro.no/~ds
Pilestredet 15B                     Phone:  +47 90 20 91 92
N-0164 Oslo, Norway                 Fax:    +47 22 20 38 06