Date: Thu, 24 Sep 1998 10:09:09 -0500 (CDT) From: Mike Jenkins <mjenkins@carp.gbr.epa.gov> To: bill@bilver.magicnet.net Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Routing problem Message-ID: <199809241509.KAA11221@carp.gbr.epa.gov> In-Reply-To: <199809240148.VAA29188@bilver.magicnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809241509.KAA11221>
