OpenVZ Forum


Home » General » Support » route question
route question [message #26296] Mon, 21 January 2008 02:36 Go to previous message
mohaw is currently offline  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

 
Read Message
Read Message
Previous Topic: Network Issue
Next Topic: Differences between venet and veth
Goto Forum:
  


Current Time: Sun Nov 17 11:29:54 GMT 2024

Total time taken to generate the page: 0.02902 seconds