Searched refs:nsname (Results 1 – 10 of 10) sorted by relevance
59 local nsname=$162 if [ "${nsname}" != "${INIT_NETNS_NAME}" ]; then63 nsarg="-netns ${nsname}"71 local nsname=$172 local nsarg="$(ip_expand_args ${nsname})"79 local nsname=$181 local nsarg="$(ip_expand_args ${nsname})"88 local nsname=$191 local nsarg="$(ip_expand_args ${nsname})"98 local nsname=$1[all …]
233 local nsname235 nsname="$(get_rtname "${rtid}")"237 __create_namespace "${nsname}"243 local nsname245 nsname="$(get_hsname "${hsid}")"247 __create_namespace "${nsname}"252 local nsname257 nsname="$(get_rtname "${i}")"259 ip netns del "${nsname}" &>/dev/null || true264 nsname="$(get_hsname "${i}")"[all …]
282 local nsname284 nsname="$(get_rtname "${rtid}")"286 __create_namespace "${nsname}"292 local nsname294 nsname="$(get_hsname "${hsid}")"296 __create_namespace "${nsname}"301 local nsname306 nsname="$(get_rtname "${i}")"308 ip netns del "${nsname}" &>/dev/null || true313 nsname="$(get_hsname "${i}")"[all …]
452 local nsname454 nsname="$(get_rtname "${rtid}")"456 __create_namespace "${nsname}"458 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0459 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0460 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.forwarding=1462 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.all.rp_filter=0463 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.default.rp_filter=0464 ip netns exec "${nsname}" sysctl -wq net.ipv4.ip_forward=1470 local nsname[all …]
410 local nsname412 nsname="$(get_rtname "${rtid}")"414 __create_namespace "${nsname}"420 local nsname422 nsname="$(get_hsname "${hsid}")"424 __create_namespace "${nsname}"429 local nsname434 nsname="$(get_rtname "${i}")"436 ip netns del "${nsname}" &>/dev/null || true441 nsname="$(get_hsname "${i}")"[all …]
309 local nsname311 nsname="$(get_rtname "${rtid}")"313 __create_namespace "${nsname}"319 local nsname321 nsname="$(get_hsname "${hsid}")"323 __create_namespace "${nsname}"328 local nsname333 nsname="$(get_rtname "${i}")"335 ip netns del "${nsname}" &>/dev/null || true340 nsname="$(get_hsname "${i}")"[all …]
232 local nsname=rt-${rt}234 ip netns add ${nsname}236 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0237 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0239 ip link set veth-rt-${rt} netns ${nsname}240 ip -netns ${nsname} link set veth-rt-${rt} name veth0242 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${rt}/64 dev veth0 nodad243 ip -netns ${nsname} link set veth0 up244 ip -netns ${nsname} link set lo up246 ip netns exec ${nsname} sysctl -wq net.ipv4.ip_forward=1[all …]
233 local nsname=rt-${rt}235 ip netns add ${nsname}236 ip link set veth-rt-${rt} netns ${nsname}237 ip -netns ${nsname} link set veth-rt-${rt} name veth0239 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0240 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0242 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${rt}/64 dev veth0 nodad243 ip -netns ${nsname} link set veth0 up244 ip -netns ${nsname} link set lo up246 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.forwarding=1
263 local nsname=rt-${rt}265 ip netns add ${nsname}266 ip link set veth-rt-${rt} netns ${nsname}267 ip -netns ${nsname} link set veth-rt-${rt} name veth0269 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0270 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0272 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${rt}/64 dev veth0 nodad273 ip -netns ${nsname} link set veth0 up274 ip -netns ${nsname} link set lo up276 ip netns exec ${nsname} sysctl -wq net.ipv4.ip_forward=1[all …]
404 nsname() { function