route question [message #26296] |
Mon, 21 January 2008 02:36 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
mohaw
Messages: 7 Registered: April 2006
|
Junior Member |
|
|
Hi all,
I have a serious problem about routing VEs to outside; I have ~310 VEs created, so the ip addresses is on different nets.
HN: eth0 has a real public ip => 81.212.xx.xx
HN: eth0:1 has a private ip => 192.168.0.1
HN: eth0:2 has a private ip => 192.168.1.1
VE100 to 999: venet0:0 has real public ips (no problem)
VE1010 to VE1256: venet0:0 has 192.168.0.x (must reach to outside but must be unreachable from outside )
VE2010 to VE2256: venet0:0 has 192.168.1.x (must reachable to and from outside)
the question is how can I route these?
I tried many much route commands, used NAT but I couldnt do the full trick.
Thanks.
[Updated on: Mon, 21 January 2008 02:39] Report message to a moderator
|
|
|