Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 11:32:38 -0600 (CST)
From:      Nick Rogness <nick@rogness.net>
To:        Eric Long <eric@metrotv.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: WAN routing question
Message-ID:  <Pine.BSF.4.21.0112031118530.63396-100000@cody.jharris.com>
In-Reply-To: <B8310F2F.63B1%eric@metrotv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Dec 2001, Eric Long wrote:

> I have a WAN routing question.  First, the setup is the following:
> 
> (using Savvis for internet access and the private link between our two
> offices located in different states)
> 
> 
> ---
> 
>  192.168.1.0/24 LAN
>         |
> --------------------------------
> | 192.168.1.4    66.100.208.34 | FreeBSD 4.4-STABLE box in MN
> --------------------------------
>         |             |
>         |             `----- INTERNET
>         |
>         |
> ------------------
> | 192.168.1.1    | Savvis WAN Router in MN
> ------------------
>         |
>        WAN
>         |
> ------------------
> | 192.168.2.1    | Savvis WAN Router in CA
> ------------------
>         |
> ------------------
> | 192.168.2.4    | FreeBSD 4.4-STABLE box in CA
> ------------------
>         |
>  192.168.2.0/24 LAN
> 
> 
> ---
> 
> I want to route internet traffic from the LAN in CA over the WAN link
> and through the Internet connection in MN.  How should routing be done
> so that internet-bound traffic from the LAN in CA gets routed to the
> MN office and out ot the Internet?
> 

	All machines in the 192.168.2.0 network should have a default
	gateway of 192.168.2.1  Which I'm assuming you have because you
	can ping machines in MN.

	In the MN BSD box, the default gateway should be 66.100.208.34.
	You should also have the following route:

	# route add -net 192.168.2.0 192.168.1.1 -netmask 255.255.255.0

	And of course in the MN Savvis router (192.168.1.1), set the
	default gateway to be 192.168.1.4.  You should already have a
	route for 192.168.2.0/24 to go through the CA Savvis Router.

	Everything else should work.  You will need NAT to be running on
	the MN BSD box though.


> I'm to the point where I can ping workstations in CA from MN and vice
> versa, but am unclear as to how the routing should be configured so
> that Internet-bound traffic from CA gets routed to MN's Internet
> connection.
> 

Nick Rogness <nick@rogness.net>
 - Keep on Routing in a Free World...
  "FreeBSD: The Power to Serve!"






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0112031118530.63396-100000>