Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 1996 17:06:55 +0300 (IDT)
From:      Yuri Gindin <yugi@ornet.co.il>
To:        freebsd-questions@freebsd.org
Cc:        Ida Partosh <ida@ornet.co.il>
Subject:   gateway doesn't forwards packets.
Message-ID:  <Pine.SUN.3.93.960625163559.9760A-100000@alpha.ornet.co.il>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

Hi,
I'm trying to build the little gateway from FreeBSD 2.1-960606-SNAP
I enabled options GATEWAY in kernel config and also 
sysctl -w net.inet.ip.forwarding=1
and run routed without any flags.
the routing tables looks as follows:
Internet:
Destination      Gateway            Flags     Refs     Use     Netif
Expire
default          194.90.140.1       UGSc        0        0       ed0
127.0.0.1        127.0.0.1          UH          0        4       lo0
194.90.140       link#1             UC          1        0 
194.90.140.1     link#1             UHLW        1        3 
194.90.140.5     0:0:3b:80:4e:d4    UHLW        1     3804       ed0 271
194.90.140.7     8:0:20:1d:31:48    UHLW        3     1169       ed0 206
194.90.140.14    0:0:3b:80:46:17    UHLW        0       49       ed0 973
194.90.140.30    0:0:c0:f5:7d:8c    UHLW        7      266       lo0
194.90.140.67    8:0:2b:e6:f3:6     UHLW        0       32       ed0 1171
194.90.141       link#2             UC          1        0 
194.90.141.2     0:0:c0:8c:bc:6b    UHLW        0        2       ed1 1196
194.90.141.30    0:0:c0:1a:7e:8c    UHLW        0        1       lo0
 I can ping from 194.90.141.2 both 194.90.140.30 and 194.90.141.30
(two interfaces of the gateway), but not the hosts on the 194.90.140.0,
however, when I ping them it adds arp entry like above:
194.90.140.14    0:0:3b:80:46:17    UHLW        0       49       ed0 973
Am I missing something ?
Any help will be greatly appreciated.

- --- Yuri Gindin                   
    e-mail: yugi@ornet.co.il         ORNET Data Communication Technologies Ltd.
     phone: +972-4-9981314 ext 249        - A Siemens Company -
       fax: +972-4-9981315             P.O.Box 323, Karmiel 21613, ISRAEL.
	PGP Public key available via finger yuri@aebeard.technion.ac.il
	or http://www-swiss.ai.mit.edu/~bal/pks-commands.html

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBMc/yg3YPt2WVa0D5AQHNdQQAzk8Sv3FsPZL1FJxcdtGKvUSmk8zZVG/e
l25oEHfiyTwWMlCVFfHf7mLmHLPMiRMM3JpxhoKWHz32do2vcGXiytdqQdQ7rNFi
4oKKAWiUL8iOhmAW8joeLf3ZNHWXH+IZIX1a2BSzCqTt8t/55IT2Ed41Q2rKoiA+
SAsmVMsYx50=
=bIQV
-----END PGP SIGNATURE-----




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