Public IPs on different subnet [message #29465] |
Mon, 14 April 2008 10:57 |
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 |
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.
|
|
|