From owner-freebsd-net Thu Oct 26 18:56:42 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail0.m2mtechnology.com (unknown [203.202.15.134]) by hub.freebsd.org (Postfix) with ESMTP id 73F5237B479 for ; Thu, 26 Oct 2000 18:56:32 -0700 (PDT) Received: from ntserver (ip131.m2mtechnology.com [203.202.15.131]) by mail0.m2mtechnology.com (8.9.3/8.9.3) with SMTP id MAA19093 for ; Fri, 27 Oct 2000 12:57:13 +1100 (EST) (envelope-from freebsd@m2mtechnology.com) From: "Sysadmin" To: Subject: Packet routing Date: Fri, 27 Oct 2000 12:58:39 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. What we have a gateway machine with 6 interfaces on individual networks (1 external, 5 internal). interfaces: ex0 203... vr0 10.0/16 vr1 10.1/16 vr2 10.2/16 vr3 10.3/16 vr4 10.4/16 We want the gateway to route packets across the internal networks. eg. a machine on network 10.0/16 should be able to reach a machine on 10.1/16 (or any 10.*/16 network) via the gateway. What happens is that the packet just doesn't get routed. A traceroute show the packet reach the gateway but it doesn't get any further. Could it be anything to do with the network number 10? Obviously this is in the range of non-routable networks. Does this mean that when FreeBSD recieves a packet from a 10 network, that is not destined for itself, it silently drops the packet? We have looked at all the kernel build options and we have tried the generic kernel, to no effect. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message