2 WAN connections on 1 switch/network


 
Thread Tools Search this Thread
Special Forums IP Networking 2 WAN connections on 1 switch/network
# 1  
Old 12-08-2011
2 WAN connections on 1 switch/network

I want to know potential problems with the following scenario OR if it is an ok way to have my network setup:

I have 2 WAN connections to the internet. I have each WAN connection plugged into its own router. Router DD-WRT is gateway for servers (192.0.10.50). Router Tomato is gateway for pc's (192.0.10.49). Both routers are plugged into the same switch and ALL pc's AND servers are on the same 192.0.10.0 subnet. The only difference in network settings on clients and servers is the gateway and dns (.49 for pc's and .50 for servers).

Tomato does DHCP, Wireless, Web usage monitoring.
DD-WRT does some port forwarding and seperates user bandwidth from server bandwidth. (we have 2 seperate 3mb/3mb connections)

Problems? Questions? Concerns? Advice?

Last edited by herot; 12-08-2011 at 10:14 PM..
# 2  
Old 12-09-2011
If they're using different gateways, internet traffic should just go where it's proper destination is. (Unless you're using a proxy, which would mess up its ability to tell which connection outgoing traffic belongs to.) The switch shouldn't care.

If both routers are serving DHCP, they'll of course interfere with each other when plugged into the same switch. Only one of them should be allowed to serve DHCP, probably your 'client' connection, configure your server statically.

Local traffic would be trickier. They'll be running on the same wire, so they could talk directly if they tried, but not being on the same subnet means they'll just forward it to their gateway instead, which won't work. The switch, which doesn't care at all about IP addresses, won't notice or care.

You could make it all one big happy 255.255.0.0 subnet, which would allow 192.0.0 and 192.0.10 to communicate without routing. Or you could give your clients static routes to talk to the other subnet. Or your server could be given 192.0.0 and 192.0.10 addresses on the same card so your clients don't have to talk to a "foreign" subnet.

Last edited by Corona688; 12-09-2011 at 12:13 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

LDOM Solaris 11 add Network vsw (Virtual switch)

hello, I have a problem when configuring the network at the LDOM level, on a SPARC-Enterprise-T5120 machine The network goes through VLAN 503 (level, network tagget) And I need to give network to the guest domain: madarrwebsol10 I hope someone can bring some light .... Excuse my English ... ... (4 Replies)
Discussion started by: Wittman
4 Replies

2. Red Hat

Connecting using SSH in WAN network

i have been learning linux from some time for linux plus exam and learned SSH protocol and have practised to connect to remote computer within Lan network and able to sucesssfully connect it . using ssh username@hostname But i wish to ask how do i use same ssh protocol to connect to other ... (6 Replies)
Discussion started by: lobsang
6 Replies

3. UNIX for Advanced & Expert Users

Network Connections

I have a static IP 47.21.154.146 and two computers which I wish to talk to each other. The two IPs are 198.168.1.5 and 198.168.1.6. How do I do it. For example ls from one computer to the other. TIA (8 Replies)
Discussion started by: Meow613
8 Replies

4. Shell Programming and Scripting

Could you help me writing a script showing which network connections are currently active?

Could you help me writing a script showing which network connections are currently active? Means output should be something like: "eth0, wlan1, wlan3" Problem: The output is supposed to happen on a 16x2 LCD Display. Currently I am doing a "Ifconfig" as output, but its too fast for the... (2 Replies)
Discussion started by: lordofazeroth
2 Replies

5. IP Networking

preferred network connections

I rotate between a static lan, dhcp lan, and various wireless networks daily. Is there a way to set preferred network connections? I use some static ip's daily, some static ip's like once a month, and almost never use the dhcp lan. The same I do with my various wireless networks. Some I use daily... (0 Replies)
Discussion started by: cokedude
0 Replies

6. Linux

Does a network switch behaves as webserver

Hi, I have a question on web servers and network switches. Why a network switch should support certificate management, that means generating public and private keys... installing a certificate etcetra. Regards Chaitanya. :b: (4 Replies)
Discussion started by: chaitus.28
4 Replies

7. IP Networking

Logging network connections

Hello, I have a centralized syslog server, and am wondering if there is a way to log all network connections to it (Primarily incoming, such as FTP, httpd, SSH, etc). Essentially what I would like is to get the information seen in netstat or lsof logged line by line, realtime. Is there a... (3 Replies)
Discussion started by: abstrcrndm
3 Replies

8. Linux

active network connections

how can i see active network connections (1 Reply)
Discussion started by: youmna
1 Replies
Login or Register to Ask a Question