Lines Matching refs:net

40 v4gc1=$(sysctl -n net.ipv4.neigh.default.gc_thresh1 2>/dev/null)
41 v4gc2=$(sysctl -n net.ipv4.neigh.default.gc_thresh2 2>/dev/null)
42 v4gc3=$(sysctl -n net.ipv4.neigh.default.gc_thresh3 2>/dev/null)
43 v6gc1=$(sysctl -n net.ipv6.neigh.default.gc_thresh1 2>/dev/null)
44 v6gc2=$(sysctl -n net.ipv6.neigh.default.gc_thresh2 2>/dev/null)
45 v6gc3=$(sysctl -n net.ipv6.neigh.default.gc_thresh3 2>/dev/null)
55 sysctl -q net.ipv4.neigh.default.gc_thresh1=$v4gc1 2>/dev/null
56 sysctl -q net.ipv4.neigh.default.gc_thresh2=$v4gc2 2>/dev/null
57 sysctl -q net.ipv4.neigh.default.gc_thresh3=$v4gc3 2>/dev/null
58 sysctl -q net.ipv6.neigh.default.gc_thresh1=$v6gc1 2>/dev/null
59 sysctl -q net.ipv6.neigh.default.gc_thresh2=$v6gc2 2>/dev/null
60 sysctl -q net.ipv6.neigh.default.gc_thresh3=$v6gc3 2>/dev/null
91 ip -net "$gw" link set lo up
102 ip -net "$gw" link set veth0 up
103 ip -net "$srv" link set lo up
104 ip -net "$srv" link set eth0 up
106 sysctl -q net.ipv6.neigh.default.gc_thresh1=512 2>/dev/null
107 sysctl -q net.ipv6.neigh.default.gc_thresh2=1024 2>/dev/null
108 sysctl -q net.ipv6.neigh.default.gc_thresh3=4096 2>/dev/null
109 sysctl -q net.ipv4.neigh.default.gc_thresh1=512 2>/dev/null
110 sysctl -q net.ipv4.neigh.default.gc_thresh2=1024 2>/dev/null
111 sysctl -q net.ipv4.neigh.default.gc_thresh3=4096 2>/dev/null
132 echo netns exec "$cl" sysctl -q net.ipv4.tcp_syn_retries=2
134 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth$i.arp_ignore=2
135 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth$i.rp_filter=0
155 ip -net "$gw" addr add 10.3.0.1/24 dev veth0
156 ip -net "$gw" addr add dead:3::1/64 dev veth0
158 ip -net "$srv" addr add 10.3.0.99/24 dev eth0
159 ip -net "$srv" addr add dead:3::99/64 dev eth0