Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

1 subnet 2 wans

1 subnet 2 wans

1 subnet 2 wans


I have 2 routers, 2 wans and about 16 PC's, I want to know what is the most efficient solution if i need to route some computers into WAN1 and the others through WAN2. I've think about having 2 subnets and static routing to communicate between all PC's, but I read that some IT managers see more efficient to have just 1 subnet.
What do you recommend?


RE: 1 subnet 2 wans

I reccomend a multi WAN router.

I use both RV042 and a sonicwall, both are fine.

I tried to remain child-like, all I acheived was childish.

RE: 1 subnet 2 wans

In fact i have 2 Thomson TG585 routers, is there a way to achive what i'm expecting?

RE: 1 subnet 2 wans

Sorry I thought you asked what I would recommend.

If you held a gun to my head and said "do it wrong and make it work'

I would make one router and turn on DHCP from, to 250.
I would make the other router and disable DHCP.

Then I would Hard code 8 PCs with addresses to 20 and mask and gateway

I would refuse to support it, but it would work.

I tried to remain child-like, all I acheived was childish.

RE: 1 subnet 2 wans

Thanks for your reply. I felt more comfortable with static routing between both routers, each subnet has it's own WAN access.

Thanks anyway

RE: 1 subnet 2 wans

The thing is, none of that will work... even Jimbo's reply...
At least from what I read.

I am making some assumptions, these are that the two sites are in physically different locations and have to traverse the WAN or a router to get to each other. And that the router with IP is at the remote site.

This means very simply that each site much have a unique subnet. If one site uses 192.168.1.x and so does the other then even hard coding the routing the way Jimbo said would not work because any traffic destined for the 192.168.1.x network would NEVER go across the WAN. This is because the remote network is seen as local/home/ it's own network. Traffic is ONLY EVER sent to a (default) gateway (to "route") if the destination IP address isn't a member of the local subnet. Because every IP destination will start with 192.168.1.x it sees these as local therefore they don't get sent to a gateway and never try to be routed.

Your scenario will fail every single time unless you give the two sites separate subnets. This is basic core of what routing is. It "routes" traffic between different subnets...

See the following article I wrote for the basics of IP addressing, subnets and gateways http://think-like-a-computer.com/2011/03/09/the-differences-between-tcp-and-udp/

RE: 1 subnet 2 wans

Errr where is the edit button for my post, cant you do it??
I posted the wrong link, here it is http://think-like-a-computer.com/2011/03/04/the-basics-of-ip-addressing-subnet-masks-and-routing/

I forgot to say what I would recommend. That would be to create two separate subnets and just link then via a site-to-site VPN. This easily you best option. Routing is taken care of AS LONG AS THESE ROOUTERS ARE ALSO YOUR DEFAULT ROUTERS FOR INTERNET TRAFFIC. If they are different you need to do a bit more so let us know.

RE: 1 subnet 2 wans

Thanks for your reply muckermucker, in fact both routers are in the same location and did solve this issue with static routing. I created three subnets, one common to both routers and I did the link through that subnet, now is working great.

BTW I found your article very interesting, keep it up!

RE: 1 subnet 2 wans

Had you been at separate sites, the RV042 would still have worked, for the wrong reason, it is also a IPSec site to site VPN router, you would have needed two of them.

Correct me if I am wrong, but your solution has no failover right? If one ISP goes down, half the PCs are without internet?

I tried to remain child-like, all I acheived was childish.

RE: 1 subnet 2 wans

Ahhh I see now what you both mean. I misread interupted your original post. I thought you were saying you had separate sites connectied via a WAN but they were on the same range. I see now that it is all the same network but you have two ways out onto the internet (gateways). In that case I take it back Jimbo was right first time winky smile

Alimnios I know this has nothing to do with this but if you wouldn't mind could you leave a comment on my blog pls? i would really appreciate it. The site is only 3 weeks old and it is nowhere to be seen yet on google hence the no comments. Trying to drive some traffic to it. No worries if you cant, thanks.

Take a look at my IT blog guides, knowledgebase  and technical resources at http://think-like-a-computer.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close