Multiple networks? [message #3483] |
Tue, 30 May 2006 18:31 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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
|
|
|
|
|
Re: Multiple networks? [message #3578 is a reply to message #3493] |
Mon, 05 June 2006 12:49 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
Jim Zajkowski
Messages: 5 Registered: May 2006
|
Junior Member |
|
|
I did, and when I look at the route tables it looks (to me) to be correct.
In one of those posts, a user wanted the ability to have three different VEs, going out of three different interfaces.
I want *one* VE to be able to talk *on* two or three interfaces. That is, I want a multihomed VE.
--Jim
|
|
|