*SOLVED* 2 subnet in an VPS [message #11909] |
Wed, 11 April 2007 14:07 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
kangoo
Messages: 3 Registered: April 2007 Location: Belgium
|
Junior Member |
![kangoooo%40gmail.com](/theme/ovz3/images/msnm.png)
|
|
Hello
I have two NIC on my physical host(both of theme are separated on a different physical network (two different switch)), and i'm trying to have a private and a public network. So i have dedicated 2 IP address to my VPS :
192.168.150.219
192.168.2.2
When i want to ping my notebook (192.168.2.1) that is in the 192.168.2 network it does not respond, but if i ping my VPS (192.168.2.2) from my notebook it works, thus i have noticed one thing, i captured the packet traveling on the network 192.168.2 and noticed that the packets gets to my notebook but my notebook does not respond, why??? well simply because the respond address is 192.168.150.219. that means that the respond address placed in the packet when send from the VPS is the first address that was set to the VPS. If i had put the 192.168.2.2 address first it would of worked. It is the address listed when you do a vzlist -a
Is there any way that when you ping a network the virtual interface puts the right response address. if i ping 192.168.2.1 the response address would be 192.168.2.2 and if i ping 192.168.150.52 the response address would be 192.168.150.219
[Updated on: Wed, 18 April 2007 06:15] by Moderator Report message to a moderator
|
|
|
|
|
|
|