Trying to use server with multiple NICs on two different ISPs

drummrman85

Commendable
Dec 6, 2016
3
0
1,510
I have a server with 4 NICs that will be our cloud server and will double as our mail/web server. My boss would like it to be set up so that we can use one NIC on our Cox network (the cloud/internet) and another NIC for the Verizon network (web/email).

The setup so far is this:

Running Ubuntu 14.04

Eth0 (Cox)
Static IP 192.168.1.130
Mask 255.255.255.0
Broadcast 192.168.1.255
Gateway 192.168.1.1

Eth1 (Verizon)
Static IP 176.16.2.101
Mask 255.255.255.0
Broadcast 176.16.2.255
Gateway 176.16.2.1

My question is how can I get the networks to play nicely together so that I can utilize my web/email server and my cloud network, without interrupting internet/LAN connections? Routing? Bridging?

To further complicate the matter, our web server is supposed to be on a DMZ, so is there a way to have internet routed through the Cox router and email routed through Verizon?

I'm not a network specialist, clearly, so I need help! Please let me know if there are additional details needed.
 
So you are running 2 subnets. As long as the two subnet don't need to talk to each other, nothing need to be done. ISP1 will talk to NIC1, ISP2 will talk to NIC2. I assume ISP1 and ISP2, both modem/gateway boxes have their own DMZ for you hook up to.

Now if you want the ISP to backup each other, load sharing, OK now it gets a lot more complicated and you really need a PRO, no offense, to set this thing up, after all you are running a business, you don't want your boss to stare at you when things don't work the way he wants to.
 

drummrman85

Commendable
Dec 6, 2016
3
0
1,510
Thanks for your response!

I guess maybe I have a different problem than I originally thought I did. When I run the cord from each respective router to its designated eth port on the server, you say it should work without any special configuration (if I'm understanding you correctly). Currently though, when I have both plugged in, I have internet (from Cox), and my inbound mail can be received, however, my outgoing mail does not send and the 4 websites we host will not pull up (or it will navigate to one of our websites regardless of which domain you type in).

Anyway, I don't know if this information helps, or if this is something completely unrelated to my network, but hopefully I can get an answer =).

Thanks again!

 
It is actually much harder to make it work. Lets say I from my house use a service on each of your IP. So now the same IP address from the internet needs to be sent back not based on my ip but based on the application that was accesses. Even if were to somehow directly assign the IP's to the server itself you still must find a way to have the "source" ip of your server be set correctly when talking to my ip.

Routing is normally done based on the destination ip...ie my ip in this example. What you must do is force the server to do routing based on the application. I am not a strong server guy so I don't know what your options are. I know the nasty way we have done this was to NAT the remote internet address...ie my ip..to different pools of ip so normal routing could be used.
 
I suppose the problem is more with port forwarding from your "web server" ISP (Vreizon) to the server. As for sending - many ISP links do not allow for in-house SMTP server, so you should check this with corresponding ISP.

Last but not least: When a bulb has to be replaced on my car, I do it myself. When timing belt or brake pads need replacement, I go to a shop.
 

drummrman85

Commendable
Dec 6, 2016
3
0
1,510


We have a hosted web server already, but I tried to install a live image of that server onto the new one, and now when I try to switch from the old to the new it won't connect to SMTP. Old one is disconnected from the network before I plug in the new one (using the same eth cord so there's no port confusion). If it is Verizon blocking port 465, then it doesn't affect our current server that's in use.