Searched refs:ns0 (Results 1 – 6 of 6) sorted by relevance
12 ns0="ns0-$sfx"33 ip netns add "$ns0"35 echo "SKIP: Could not create net namespace $ns0"53 ip link add veth0 netns "$ns0" type veth peer name eth0 netns "$ns1" > /dev/null 2>&158 ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns2"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 up[all …]
26 ip netns add ns030 ip link add veth0 netns ns0 type veth peer name eth0 netns ns135 ip link add veth1 netns ns0 type veth peer name eth0 netns ns237 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 up[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 ns073 ip link add veth01 netns ns0 type veth peer name veth10 netns ns174 ip link add veth02 netns ns0 type veth peer name veth20 netns ns277 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 br0[all …]
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()