From owner-freebsd-isp Thu Sep 24 08:10:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13290 for freebsd-isp-outgoing; Thu, 24 Sep 1998 08:10:52 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from carp.gbr.epa.gov (carp.gbr.epa.gov [204.46.159.110]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13269 for ; Thu, 24 Sep 1998 08:10:42 -0700 (PDT) (envelope-from mjenkins@carp.gbr.epa.gov) Received: (from mjenkins@localhost) by carp.gbr.epa.gov (8.8.8/8.8.8) id KAA11221; Thu, 24 Sep 1998 10:09:09 -0500 (CDT) (envelope-from mjenkins) Date: Thu, 24 Sep 1998 10:09:09 -0500 (CDT) From: Mike Jenkins Message-Id: <199809241509.KAA11221@carp.gbr.epa.gov> To: bill@bilver.magicnet.net Subject: Re: Routing problem Cc: freebsd-isp@FreeBSD.ORG In-Reply-To: <199809240148.VAA29188@bilver.magicnet.net> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 23 Sep 1998 Bill Vermillion wrote: > Or have I TOTALLY screwed up my understanding of how this works? Maybe a picture will help. I believe he is using 255.255.0.0 for the netmasks. 10.1.0.0/16 10.2.0.0/16 Internet-----[NAT router]-------------------[freebsd]------------------ 10.1.0.155 10.1.0.253 10.2.0.253 If the router is using 255.255.0.0 for the netmask then it only knows about network 10.1.0.0 and will have to be told about network 10.2.0.0 by adding a route for 10.2.0.0 with 10.1.0.253 as the gateway. If the router is using 255.0.0.0 for the netmask then it thinks all of network 10.0.0.0 is on the ethernet but can't reach 10.2.0.0 hosts. Using the arpproxy_all="YES" option in /etc/rc.conf should fix it. Mike On Tue, 22 Sep 1998 Ronald Van Assche wrote: > I have a simple problem to solve quickly on my network. > They have 2 class C network, and we want to connect them via a FreeBSD > gateway. > So i build a box with two network cards , assigning each an ip adress in the > correct class C, then configured the box (getway_enable=YES). > But what do I have to do now ? > The box has 2 cards, with 2 īp : 10.1.0.253 (1st network) and 10.2.0.253 > (2nd network), and I have an internet routeur (with Nat) on 10.1.0.155. > I want all people on 10.2.0.0 to be able to talk to the routeur, but it's > only possible for them to ping 10.1.0.253, (it's their gateway ), no other > adress is pingable . > the FreeBSD box can ping the routeur, go to the net, ping the 2 class C > without any problem, so what do i have to do ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message