OpenVZ Forum


Home » General » Support » How to report networking-related problems
icon3.gif  How to report networking-related problems [message #27545] Tue, 19 February 2008 11:16 Go to next message
xemul is currently offline  xemul
Messages: 248
Registered: November 2005
Senior Member
From: *sw.ru
When you have some problems with networking and going to report it here, most likely we will need to know three things:

  1. Routing rules
  2. Netfilter configuration
  3. Packets paths

Routing rules can be obtained by the ip rule list command. If the problem concerns VEs, then we need both HN and VE routing rules. Routing tables can be dumped altogether via ip route list table all.


Netfilter configuration is discovered by the iptables -t nat -L && iptables -t filter -L && iptables -t mangle -L command. BTW, in many cases network traffic doesn't leave/enter the HN due to bad netfilter configuration, so flushing the rules with iptables -F may help.

You need to understand how the packet goes and whether this path is correct from your point of view. This applies to both, incoming and outgoing traffic.

Packet paths can be observed via the tcpdump tool. In most of the cases you should launch the tcpdump -i <if> -e host <ip>, where the <if> is the interface name you're experience problems with and the <ip> is the IP address relevant to you traffic (e.g. if you can't ping kernel.org, then the <ip> is the kernel.org's IP).

For a generic case of venet VE outgoing packet should flow via VE's venet0 interface, VE0 venet0 interface and ethN in the HN.

So, you should observe the packet on each interface above. Incoming packets fly in the reversed order and you also should observe them there.

In case veth device is used packets also pass bridge interfaces in VE0.


With this information provided, the problem can at least be tried to be solved.

Thanks.


http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Wed, 20 February 2008 08:58]

Report message to a moderator

Re: How to report networking-related problems [message #53222 is a reply to message #27545] Fri, 23 March 2018 15:52 Go to previous message
adamswann is currently offline  adamswann
Messages: 1
Registered: March 2018
Location: New York
Junior Member
From: 205.185.119*
As a network engineer, we should be prepere everytime for this kind of problems. That is especially related to networks, most probably, we are facing problems like connection time out problem, WLAN problems, connection closed by remote host problems. Thanks for providing such a great solution.
Previous Topic: Bug reports should go to bugs.openvz.org
Next Topic: Forum auto-registration is closed
Goto Forum:
  


Current Time: Sat Nov 17 19:01:21 GMT 2018