multiple NICs on Different Networks with different default gateways [message #2749] |
Wed, 19 April 2006 14:29 |
zerodni
Messages: 5 Registered: April 2006
|
Junior Member |
|
|
I have a Openvz host box that has 3 NICs in it on three different networks. I'm trying to setup vps's to connect to different default gateways depending on what ip address i have given them. For example one vps is setup with a ip address of 192.168.1.25 with the default gateway of that network being 192.168.1.1 and another vps is setup with the ip address 192.168.2.25 with the default gateway of that network being 192.168.2.1. When i setup the vps now i can connect to them from the out side world no problem. But inside the vps i cant ping out if the the vps network is different than the network where i setup my default gateway on the host. For example my default gateway on the host is setup with 192.168.1.1 and the vps on 192.168.1.25 can get out but the vps on 192.168.2.25 can't ping out but i can ping in to both of them from the out side network
Thanks for any Help that you can give me
|
|
|
|
|
|
|
|
|
|
|
|