Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: NAT Configuration for Dual WAN Router

  • From: My Name
  • Date: Sun Dec 18 09:19:49 2005
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=O1RH2AQKbYMrrFkOrBWdjMvUEhht6gcZwpLdBf+GUwECp6FJkwLVU1z1aAtkyhkgr1cHmS9FobEjP/dSSoOWsW0npjMUpSCwOirFj7ggbF7DjlL9XR2Td4F3XrQ8vY7mt6SOT8xnyf7oG8qeRWT+BP9qOhfiWzSdAaOgWqt5bYk=

Assuming your providers give you a new modem which is already NAT'ing the LAN side of the modem and you are plugging that into multiple NIC's on your linux router like;

-modem-pub -> modem-priv -> linux-eth0
-modem-pub -> modem-priv -> linux-eth1
-linux-eth3 -> LAN switch

1) Configure VRRP ( on eth0 and eth1 WAN side on the linux router.  You should be able to configure the weighting on each interface equally so that they 'load share' (I've done this in FreeBSD).

2) Set the default gateway on the linux router to the VRRP interface (IP that is shared between eth0 and eth1).

This would be a very scalable and reliable solution for this type of network.  I've never tried it, but let me know if it works!

On 12/14/05, Joe Johnson < > wrote:

I've been trying over and over to figure this one out, but I'm just hitting
the end of my wits.  We have a remote office that can only get 768Kbps DSL,
which they've not totally maxed out.  So management's solution now is to buy
a second DSL line, but they won't let me buy a dual WAN router (in case they
add a 3rd DSL line).

I've found some great articles on how to get the interfaces working with 2
default gateways (I used this:
s) and that is all running fine.  It alternates every few minutes which WAN
port is used when I traceroute (which is fine) and everything is
connecting fine from the router.  However, I can't figure out how to get NAT
running on the server for the 2 WAN ports for clients inside the LAN.  I can
NAT to 1 DSL, but that is useless.

What I am looking for is a tutorial in how to do this or a pointer to
someone who can help.  Anyone know of a resource for this?

Joe Johnson

Discussion Communities

About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home

Merit Network, Inc.