From owner-freebsd-net Sat Oct 28 10:35:11 2000 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 39EC637B4C5 for ; Sat, 28 Oct 2000 10:35:09 -0700 (PDT) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA75717; Sat, 28 Oct 2000 10:35:07 -0700 (PDT) Received: (from archie@localhost) by curve.dellroad.org (8.11.0/8.11.0) id e9SHZ5733979; Sat, 28 Oct 2000 10:35:05 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200010281735.e9SHZ5733979@curve.dellroad.org> Subject: Re: Packet routing In-Reply-To: "from Sysadmin at Oct 27, 2000 12:58:39 pm" To: Sysadmin Date: Sat, 28 Oct 2000 10:35:05 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sysadmin writes: > Can anyone tell us how to get FreeBSD to route packets? This should be an > easy question, infact all the documentation that we have read says that > FreeBSD should route packets simply by setting the line gateway_enable="YES" > in rc.conf. And, make sure if you've enabled the firewall code that packets are allowed to flow. > Could it be anything to do with the network number 10? Obviously this is in No.. FreeBSD doesn't care about that. > This is what our routing table looks like: > > Internet: > Destination Gateway Flags Netif Expire > default 203.36.202.65 UGSc ex0 > 10/16 link#1 UC vr0 => > 10.0.255.255 ff:ff:ff:ff:ff:ff UHLWb vr0 > 10.1/16 link#2 UC vr1 => > 10.2/16 link#3 UC vr2 => > 10.2.0.50 0:10:a4:1:db:18 UHLW vr2 1004 > 10.3/16 link#4 UC vr3 => > 10.4/16 link#5 UC vr4 => > 127.0.0.1 127.0.0.1 UH lo0 > 203.36.202.64/26 link#6 UC ex0 => > 203.36.202.65 0:c0:7b:73:19:c6 UHLW ex0 1019 > 203.36.202.80 52:54:0:e5:56:b UHLW ex0 359 Looks good. Check your firewall. Also, verify routing is really being enabled: $ sysctl net.inet.ip.forwarding net.inet.ip.forwarding: 1 -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message