[pve-devel] [RFC PATCH pve-container] don't set proxy_arp and forwarding on lxc veths
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Aug 7 11:20:32 CEST 2015
Setting these doesn't make much sense as the interfaces are
attached to bridges (this is old cruft from VZ venet).
(Hotplugging already leaves them be at their default.)
---
src/lxcnetaddbr | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/lxcnetaddbr b/src/lxcnetaddbr
index a87bf52..bb8d726 100755
--- a/src/lxcnetaddbr
+++ b/src/lxcnetaddbr
@@ -50,8 +50,6 @@ if (-d "/sys/class/net/$iface") {
PVE::Tools::run_command("/sbin/ip link set dev $iface up mtu $bridgemtu");
PVE::Tools::run_command("/sbin/ip addr add 0.0.0.0/0 dev $iface");
- PVE::ProcFSTools::write_proc_entry("/proc/sys/net/ipv4/conf/$iface/proxy_arp", "1");
- PVE::ProcFSTools::write_proc_entry("/proc/sys/net/ipv4/conf/$iface/forwarding", "1");
PVE::Network::tap_plug($iface, $bridge, $tag, $firewall);
}
--
2.1.4
More information about the pve-devel
mailing list