Multiple networks? [message #3483] |
Tue, 30 May 2006 18:31 |
Jim Zajkowski
Messages: 5 Registered: May 2006
|
Junior Member |
|
|
Hi there,
I've read TFM and searched the forum, but could not find someone with the same setup.
We run multiple interfaces on most of our physical nodes -- one for the public stuff, one for the internode communication, e.g. mysql.
I can't seem to figure out how to make a VE have more than one address on *different* networks, and have the packets come out the right way. For example, our public network is 141.211.182.0/24 (eth0), and our private network is 172.16.182.0/24 (eth1). Our HN can communicate on both networks correctly.
When we did a vzctl 101 --ipadd 172.16.182.xx --save, the IP does show up in the VE. But communication on it (e.g., telnet 172.16.182.239, for example) is leaving via the wrong interface, eth0, and is being sent with a source address of the venet0:0 address, the VE's public address.
This normally looks like a routing problem, but the VE's route table looks specific to the venet's magic.
Has anyone managed to do this successfully? To have an inside and and outside network available from within a single VE?
Thanks,
--Jim
|
|
|