OpenVZ Forum


Home » General » Support » *RESOLVED* networking between ves
*RESOLVED* networking between ves [message #14591] Tue, 03 July 2007 07:18 Go to next message
jfried is currently offline  jfried
Messages: 4
Registered: July 2007
Junior Member
Hello,

i have successfull set up openvz on my debian 4.0 (amd64) system.
But i have one problem.

I can't ping from one ve to an other ve.

My configuration:

I have 1 public IP (85.10.xyz.xyz)

VE 1's ip is: 192.168.10.101
VE 2'nd ip is: 192.168.10.102

I can ping the internet from within the ve's. But i can't ping from one ve to the other.


As you can see below pinging the internet works:

VE1
# vzctl enter 1
entered into VE 1
mysql:/# ping heise.de
PING heise.de (193.99.144.80) 56(84) bytes of data.
64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=1 ttl=249 time=4.54 ms
64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=2 ttl=249 time=4.70 ms



VE2
# vzctl enter 2
entered into VE 2
apache2:/# ping heise.de
PING heise.de (193.99.144.80) 56(84) bytes of data.
64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=1 ttl=249 time=4.43 ms
64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=2 ttl=249 time=5.63 ms




But the ping from one ve to the other does not work!

apache2:/# ping 192.168.10.101
PING 192.168.10.101 (192.168.10.101) 56(84) bytes of data.

--- 192.168.10.101 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms



Is there a solution for that problem?


Regards,
jfried

[Updated on: Wed, 04 July 2007 06:24] by Moderator

Report message to a moderator

Re: networking between ves [message #14594 is a reply to message #14591] Tue, 03 July 2007 07:32 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hello,

could you please send us the network configuration of your node?:

Commands to be executed on a Hardware Node:
# ip a l
# ip r l
# ip rule list
# vzctl exec 101 ip a l
# vzctl exec 101 ip r l
# vzctl exec 102 ip a l
# vzctl exec 102 ip r l
# ip r get 192.168.10.102 from 192.168.10.101
# iptables -L
# iptables -L -t nat
# iptables -L -t mangle

(if you've configured iptables inside VEs, then please, send me that configuration too)

Thank you.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
*solved* Re: networking between ves [message #14595 is a reply to message #14594] Tue, 03 July 2007 08:06 Go to previous message
jfried is currently offline  jfried
Messages: 4
Registered: July 2007
Junior Member
Hello,

thank you for your answer.

But it works now Smile

The problem was i don't allow forwarding for venet0

iptables -A FORWARD -i venet0 -j ACCEPT


Regards,

jfried.
Previous Topic: *SOLVED* Install OpenVZ on Fedora 7?
Next Topic: VE not accessible by network
Goto Forum:
  


Current Time: Sun Oct 06 17:20:28 GMT 2024

Total time taken to generate the page: 0.04629 seconds