From owner-freebsd-isp Mon Apr 22 01:16:46 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA20269 for isp-outgoing; Mon, 22 Apr 1996 01:16:46 -0700 (PDT) Received: from aebeard.technion.ac.il (root@aebeard.technion.ac.il [132.68.146.67]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id BAA20255 for ; Mon, 22 Apr 1996 01:16:38 -0700 (PDT) Received: (from yuri@localhost) by aebeard.technion.ac.il (8.7.5/8.7.3) id LAA03188; Mon, 22 Apr 1996 11:05:15 +0300 (IDT) Date: Mon, 22 Apr 1996 11:05:14 +0300 (IDT) From: Yuri Gindin To: Dan Busarow cc: Michael Dillon , freebsd-isp@FreeBSD.ORG Subject: Re: Gateway configuration In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 21 Apr 1996, Dan Busarow wrote: > On Sun, 21 Apr 1996, Michael Dillon wrote: > > On Sun, 21 Apr 1996, Dan Busarow wrote: > > > traceroute shows packets going to this machine and stopping. > > > > You should look at netstat -nr to see what routes are in the kernel's > > routing table. If it doesn't have anywhere to forward the packet to, it > > won't route... > > The routes are there, here's the pertinant section: > > 165.90.142 165.90.143.1 UGc 0 0 ed0 > 165.90.143 link#1 UC 1 0 > 165.90.143.1 0:c0:5:0:10:23 UHLW 91 0 ed0 1156 > 165.90.143.25 0:40:ff:0:c:a1 UHLW 0 0 ed0 798 > 165.90.143.55 0:40:5:1b:e9:8c UHLW 1 34 ed0 1126 > 165.90.143.129 0:80:ad:21:bc:30 UHLW 0 17 ed0 797 > 165.90.143.190 0:40:5:16:78:82 UHLW 0 3 ed0 848 > 165.90.143.192 127.0.0.1 UGHS 0 0 lo0 > 165.90.145 link#3 UC 1 0 > 165.90.145.129 8:0:7:54:79:d7 UHLW 1 5 ed2 833 > 165.90.149 165.90.143.1 UGc 0 0 ed0 > > And a traceroute > calafia: [3] traceroute 165.90.145.129 > traceroute to 165.90.145.129 (165.90.145.129), 30 hops max, 40 byte packets > 1 trestles.BEACH.NET (165.90.143.192) 1.158 ms 0.934 ms 0.881 ms > 2 * * * > > So, other machines know to forward here, 165.90.143.192 accepts the packets, > the kernel knows about net 145, but won't forward. ?!?!? > > > Did you enabled sysctl -w net.inet.ip.forwarding=1 in /etc/netstart just change this entry in /etc/sysconfig. regards, /-----------------------------------------------------------------\ | \\ Yuri Gindin http://www.xpert.com/~yuri | | \\ // || Home: +972-4-282475 | | \\ // ___ ___ ___||__ Work: +972-4-545259 | | \// / --\ / --\ / --||-- Internet | | //\ || \\// __/ || || Network Integrarion | | // \\ ||__//\\____ || \\__ System Administration | | ==//===\\||======================= Finger to get PGP public key| \---------\||-------UNIX Systems LTD------------------------------/