Date: Mon, 03 Dec 2001 11:46:57 -0600 From: Eric Long <eric@metrotv.com> To: Nick Rogness <nick@rogness.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: WAN routing question Message-ID: <B83116B1.63CE%eric@metrotv.com> In-Reply-To: <Pine.BSF.4.21.0112031118530.63396-100000@cody.jharris.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 12/3/01 11:32 AM, Nick Rogness at nick@rogness.net wrote: > 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. Yes, this is how things are configured. > In the MN BSD box, the default gateway should be 66.100.208.34. Actually, it's 66.100.208.33, but I forgot to include this in my original diagram, my apologies. 66.100.208.33 is also a Savvis-supplied router (the same physical box as the WAN router, just a different NIC). > You should also have the following route: > > # route add -net 192.168.2.0 192.168.1.1 -netmask 255.255.255.0 Yep, have that, too. > 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. This may be where the problem lies. My traceroutes from the CA LAN to any public IP appear to stop at the MN Savvis router. Unfortunately I do not have access to these routers so I will have to contact Savvis about it. > Everything else should work. You will need NAT to be running on > the MN BSD box though. Yep, running NAT as well. -Eric > > >> 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 > 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?B83116B1.63CE%eric>