All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit d85560a6 authored by Leigh B Stoller's avatar Leigh B Stoller

A fix from Ryan, setting rp_filter sysctl variable to zero. See

lengthy comment in the code (text from Ryan).
parent 20b53909
......@@ -322,6 +322,20 @@ sub vz_rootPreConfig {
# packets on the veths?
mysystem("sysctl -w net.core.netdev_max_backlog=2048");
#
# Ryan figured this one out. It was causing 75% packet loss on
# gre tunnels.
#
# According to Ryan: 'loose' mode just ensures that
# the sender's IP is reachable by at least one interface, whereas
# 'strict' mode requires that it be reachable via the interface
# the packet was received on. This is why the ARP request from
# the host was being dropped; the sending IP was only reachable
# via veth999, not the internal greX interface where the request
# was received.
#
mysystem("sysctl -w net.ipv4.conf.default.rp_filter=0");
# make sure the initscript is going...
if (system("$VZRC status 2&>1 > /dev/null")) {
mysystem("$VZRC start");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment