Re: Connect VE to two different networks on two different NIC's [message #12749 is a reply to message #12283] |
Tue, 08 May 2007 17:07 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
abachn
Messages: 6 Registered: April 2007
|
Junior Member |
|
|
Thank you for your answer and it works ... kind of!!
The situation is as follows! I have these servers..
(HN1) Hardware node 1: non-openvz hosts, both a public and private ip
(HN2) Hardware node 2: openvz-hosts, running several VE instances, both public and private ip
VE 1: minimal host with public and private ip
VE 2: minimal host with public and private ip
The problem is now that I can't ping HN1 from a VE on the private class A network!
I can ping
HN2 -> HN1
HN1 -> HN2
HN2 -> VE1
VE1 -> HN2
VE1 -> VE2
but not!!!
VE1 -> HN1
On the private network ... I can ping from VE1 -> HN1 on the public network....
I have not done any routing setup on HN2 (chloe)
chloe ~ # ip a l
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:12:79:39:3f:b9 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.151/24 brd 10.0.0.255 scope global eth0
4: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:12:79:39:4f:11 brd ff:ff:ff:ff:ff:ff
inet 217.195.176.151/24 brd 217.195.176.255 scope global eth1
6: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
8: tunl0: <NOARP> mtu 1480 qdisc noop
link/ipip 0.0.0.0 brd 0.0.0.0
10: gre0: <NOARP> mtu 1476 qdisc noop
link/gre 0.0.0.0 brd 0.0.0.0
1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,10000> mtu 1500 qdisc noqueue
link/void
chloe ~ # ip r l
217.195.176.140 dev venet0 scope link
10.0.0.161 dev venet0 scope link
217.195.176.141 dev venet0 scope link
217.195.176.142 dev venet0 scope link
217.195.176.139 dev venet0 scope link
10.0.0.141 dev venet0 scope link
217.195.176.161 dev venet0 scope link
10.0.0.140 dev venet0 scope link
217.195.176.0/24 dev eth1 proto kernel scope link src 217.195.176.151
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.151
127.0.0.0/8 dev lo scope link
default via 217.195.176.1 dev eth1
What am I missing to route trafik from VE* -> HN1 ... a physical host on the private network!!
I hope you can help!!
|
|
|