From owner-freebsd-questions Tue Jun 25 07:08:27 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA29030 for questions-outgoing; Tue, 25 Jun 1996 07:08:27 -0700 (PDT) Received: from ornet.ornet.co.il (ornet.co.il [194.90.140.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA29018 for ; Tue, 25 Jun 1996 07:08:21 -0700 (PDT) Received: from alpha.ornet.co.il (alpha.ornet.co.il [194.90.140.7]) by ornet.ornet.co.il (8.7.5/8.7.3) with ESMTP id RAA04735; Tue, 25 Jun 1996 17:08:46 +0300 (IDT) Received: from localhost (yugi@localhost) by alpha.ornet.co.il (8.7.5/8.7.3) with SMTP id RAA10782; Tue, 25 Jun 1996 17:07:04 +0300 (IDT) X-Authentication-Warning: alpha.ornet.co.il: yugi owned process doing -bs Date: Tue, 25 Jun 1996 17:06:55 +0300 (IDT) From: Yuri Gindin To: freebsd-questions@freebsd.org cc: Ida Partosh Subject: gateway doesn't forwards packets. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk -----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-----