Searched refs:ns0 (Results 1 – 9 of 9) sorted by relevance
12 ns0="ns0-$sfx"33 ip netns add "$ns0"60 ip -net "$ns0" link set lo up61 ip -net "$ns0" link set veth0 up62 ip -net "$ns0" addr add 10.0.1.1/24 dev veth063 ip -net "$ns0" addr add dead:1::1/64 dev veth065 ip -net "$ns0" link set veth1 up66 ip -net "$ns0" addr add 10.0.2.1/24 dev veth167 ip -net "$ns0" addr add dead:2::1/64 dev veth1357 bad_counter "$ns0" ns0$dir "$expect" "test_local_dnat 7"[all …]
39 ns0="ns0-$sfx"47 ip netns del $ns0 $ns162 ip netns add "$ns0"87 ip -net $ns0 li set lo up89 ip -net $ns0 li set veth0 master tvrf90 ip -net $ns0 li set tvrf up91 ip -net $ns0 li set veth0 up108 ip netns exec $ns0 nft -f - <<EOF142 ip netns exec $ns0 conntrack -L161 ip netns exec $ns0 nft -f - <<EOF[all …]
26 ip netns add ns030 ip link add veth0 netns ns0 type veth peer name eth0 netns ns137 ip -net ns0 link set lo up38 ip -net ns0 link set veth0 up39 ip -net ns0 link set veth1 up41 ip -net ns0 link add br0 type bridge47 ip -net ns0 link set veth0 master br048 ip -net ns0 link set veth1 master br049 ip -net ns0 link set br0 up50 ip -net ns0 addr add 10.0.0.1/24 dev br0[all …]
8 ns0="ns0-$sfx"17 ip netns del "$ns0"20 ip netns add "$ns0"21 ip -net "$ns0" link set lo up22 ip -net "$ns0" addr add 127.0.0.1 dev lo28 ip netns exec "$ns0" nft -f /dev/stdin <<EOF94 if ! ip netns exec "$ns0" nft list counter inet filter $cname | grep -q "$want"; then97 ip netns exec "$ns0" nft list counter inet filter $cname116 ip netns exec "$ns0" ping -q -c 1 127.0.0.1 -m 42 > /dev/null134 ip netns exec "$ns0" nft reset counters > /dev/null[all …]
69 ip netns add ns077 ip netns exec ns0 ip link set veth01 up78 ip netns exec ns0 ip link set veth02 up79 ip netns exec ns0 ip link add br0 type bridge80 ip netns exec ns0 ip link set veth01 master br081 ip netns exec ns0 ip link set veth02 master br082 ip netns exec ns0 ip link set br0 up83 ip netns exec ns0 ip addr add ${cip_v4}/24 dev br0139 ip netns exec ns0 ip route add ${vip_v4} via ${gip_v4} dev br0158 ip netns exec ns0 ip route add ${vip_v4} via ${gip_v4} dev br0[all …]
54 ip netns del ns0 2> /dev/null82 ip netns add ns086 peer name veth$i netns ns0 index $((1 + $i))87 ip -n ns0 link set veth$i up98 veth_mac[$i]=$(ip -n ns0 link show veth$i | awk '/link\/ether/ {print $2}')183 ip netns exec ns0 ./xdp_redirect_multi $drv_p $IFACES &> ${LOG_DIR}/xdp_redirect_${mode}.log &
145 | | NS:ns0 | | NS:ns1 | |156 (a) Create two network namespaces - ns0, ns1::158 ip netns add ns0168 ip link set dev ipvl0 netns ns0171 (d) Now switch to the namespace (ns0 or ns1) to configure the slave devices173 - For ns0::175 (1) ip netns exec ns0 bash
981 u64 ns0; in main() local1056 ns0 = time.tv_sec * 1000000000UL + time.tv_nsec; in main()1063 ns_diff = ns1 - ns0; in main()1064 ns0 = ns1; in main()
113 readonly NS0=$(mktemp -u ns0-XXXXXXXX)
Completed in 13 milliseconds