OpenVZ Forum


Home » General » Support » Public IPs on different subnet
Public IPs on different subnet [message #29465] Mon, 14 April 2008 10:57 Go to next message
paveo is currently offline  paveo
Messages: 17
Registered: April 2008
Junior Member
I had searched forum for answer but with no luck.

I have a HN with a public IP 70.*.1.*/24 in eth0 and its default gw is 70.*.1.1, and I have some 70.*.2.*/27 IPs on the other subnet with the default gw 70.*.2.1, I assign 70.*.2.X/27 to one VE, I can ping this VE from HN, but can't ping from internet. How can I solve this problem. Thanks for all your help.

HN route:
Quote:

66.212.18.245 dev venet0 scope link
66.212.19.44 dev venet0 scope link
10.2.3.101 dev venet0 scope link
66.212.28.0/24 dev eth0 proto kernel scope link src 66.212.28.233
169.254.0.0/16 dev eth0 scope link
default via 66.212.28.1 dev eth0


Route of one VE:
Quote:

192.0.2.0/24 dev venet0 scope host
169.254.0.0/16 dev venet0 scope link
default via 192.0.2.1 dev venet0


[Updated on: Mon, 14 April 2008 11:01]

Report message to a moderator

Re: Public IPs on different subnet [message #29538 is a reply to message #29465] Wed, 16 April 2008 08:43 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

I'm sorry but I didn't catch you.
Output from HN's route table doesn't contain any reference to IP address like 70.*.1.* and there is no route to 70.*.2.X which is supposed to be your VE's IP address.
Anyway why do you expect that your VE can be accessible from Internet. Are you sure that your gw knows about IP addresses like 70.*2.X.
Previous Topic: [*SOLVED*] Exceeding disk quota during container creation
Next Topic: *SOLVED* can't increase diskspace on VPS, please help
Goto Forum:
  


Current Time: Sun Jul 14 21:56:44 GMT 2024

Total time taken to generate the page: 0.02295 seconds