Searched refs:add (Results 1 – 25 of 311) sorted by relevance
12345678910>>...13
49 ip netns add $ns1 || exit $ksft_skip83 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.184 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.2 flags subflow dev lo85 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.3 flags signal,backup99 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.3102 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.4 flags signal106 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.$i flags signal >/dev/null 2>&1113 ip netns exec $ns1 ./pm_nl_ctl add 10.0.0.9 id $i138 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.1139 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.2[all …]
65 ip netns add $i || exit $ksft_skip71 ip link add ns1eth1 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"72 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth2 netns "$ns2"73 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth1 netns "$ns3"75 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth176 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth1 nodad78 ip -net "$ns1" route add default via 10.0.1.279 ip -net "$ns1" route add default via dead:beef:1::281 ip -net "$ns1" addr add 10.0.2.1/24 dev ns1eth282 ip -net "$ns1" addr add dead:beef:2::1/64 dev ns1eth2 nodad[all …]
54 ip netns add $netns || exit $ksft_skip71 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"72 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i73 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad76 ip -net "$ns2" addr add 10.0.$i.2/24 dev ns2eth$i77 ip -net "$ns2" addr add dead:beef:$i::2/64 dev ns2eth$i nodad81 ip -net "$ns2" route add default via 10.0.$i.1 dev ns2eth$i metric 10$i82 ip -net "$ns2" route add default via dead:beef:$i::1 dev ns2eth$i metric 10$i89 tc -n $ns1 qdisc add dev ns1eth$i root netem rate 20mbit delay 190 tc -n $ns2 qdisc add dev ns2eth$i root netem rate 20mbit delay 1[all …]
117 $IP nexthop add id 1 via 192.0.2.2 dev dummy1137 $IP nexthop add id 1 via 192.0.2.2 dev dummy1139 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 &> /dev/null155 $IP nexthop add id 1 via 192.0.2.2 dev dummy1156 $IP nexthop add id 2 via 192.0.2.3 dev dummy1158 $IP nexthop add id 10 group 1/2169 $IP nexthop add id 10 group 1,20/2,39191 $IP nexthop add id 1 via 192.0.2.2 dev dummy1192 $IP nexthop add id 2 via 192.0.2.3 dev dummy1194 $IP nexthop add id 10 group 1/2 &> /dev/null[all …]
111 ip netns add "${NS1}"112 ip netns add "${NS2}"113 ip netns add "${NS3}"131 ip link add veth1 type veth peer name veth2132 ip link add veth3 type veth peer name veth4133 ip link add veth5 type veth peer name veth6134 ip link add veth7 type veth peer name veth8149 ip -netns ${NS1} link add red type vrf table 1001151 ip -netns ${NS1} route add table 1001 unreachable default metric 8192152 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192[all …]
55 ip netns add ns156 ip netns add ns257 ip netns add ns358 ip netns add ns459 ip netns add ns560 ip netns add ns664 ip link add veth1 type veth peer name veth265 ip link add veth3 type veth peer name veth466 ip link add veth5 type veth peer name veth667 ip link add veth7 type veth peer name veth8[all …]
56 ip netns add at_ns057 ip link add veth0 type veth peer name veth159 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth062 ip addr add dev veth1 172.16.1.200/2469 ip link add dev $DEV_NS type $TYPE seq key 2 \72 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/2475 ip link add dev $DEV type $TYPE key 2 external77 ip addr add dev $DEV 10.1.1.200/2484 ip netns exec at_ns0 ip addr add ::11/96 dev veth086 ip addr add dev veth1 ::22/96[all …]
83 ip netns add ${ns}87 ip -netns ${ns} addr add dev lo ${addr}90 ip -netns ${ns} -6 addr add dev lo ${addr6}93 ip -netns ${ns} ro add unreachable default metric 819294 ip -netns ${ns} -6 ro add unreachable default metric 8192115 ip -netns ${ns1} li add ${ns1_dev} type veth peer name tmp121 ip -netns ${ns1} addr add dev ${ns1_dev} ${ns1_addr}122 ip -netns ${ns2} addr add dev ${ns2_dev} ${ns2_addr}126 ip -netns ${ns1} addr add dev ${ns1_dev} ${ns1_addr6}127 ip -netns ${ns2} addr add dev ${ns2_dev} ${ns2_addr6}[all …]
186 ip -netns "${ns}" rule add pref 32765 from all lookup local188 ip -netns "${ns}" -6 rule add pref 32765 from all lookup local197 ip -netns "${ns}" link add "${vrf}" type vrf table "${table}"199 ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192200 ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192202 ip -netns "${ns}" addr add 127.0.0.1/8 dev "${vrf}"203 ip -netns "${ns}" -6 addr add ::1 dev "${vrf}" nodad217 ip netns add $ns232 ip -netns h1 link add eth0 type veth peer name r1h1235 ip -netns h2 link add eth0 type veth peer name r1h2[all …]
143 ip netns add "${NS0}" || exit_cleanup144 ip netns add "${NS1}" || exit_cleanup "${NS0}"145 ip netns add "${NS2}" || exit_cleanup "${NS0}" "${NS1}"146 ip netns add "${NS3}" || exit_cleanup "${NS0}" "${NS1}" "${NS2}"177 ip -netns "${NS}" address add dev "${DEV}" "${LOCAL_IP4}" peer "${PEER_IP4}"178 ip -netns "${NS}" address add dev "${DEV}" "${LOCAL_IP6}" peer "${PEER_IP6}" nodad195 ip link add name veth01 netns "${NS0}" type veth peer name veth10 netns "${NS1}"196 ip link add name veth12 netns "${NS1}" type veth peer name veth21 netns "${NS2}"197 ip link add name veth23 netns "${NS2}" type veth peer name veth32 netns "${NS3}"205 tc -netns "${NS1}" qdisc add dev veth10 ingress[all …]
39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…53 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …54 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block82 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block108 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block113 …ip -net $ns xfrm policy add src 10.253.1.$((RANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fw…146 ip -net $ns xfrm policy add dst $plain dir out priority 10 action allow[all …]
9 ip link add h1 type veth peer name swp110 ip link add h3 type veth peer name swp313 ip address add 192.0.2.1/28 dev h115 ip link add dev vh3 type vrf table 2021 ip address add dev swp3 2001:db8:2::1/6422 ip address add dev swp3 2001:db8:2::3/6425 tc qdisc add dev swp1 clsact27 ip link add name er6 type ip6erspan \31 ip link add name gt6 type ip6gretap \52 tc filter add dev swp1 ingress pref 1000 matchall skip_hw \
96 ip ${ns} link add ${vrf} type vrf table ${table}98 ip ${ns} route add vrf ${vrf} unreachable default metric 819299 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192101 ip ${ns} addr add 127.0.0.1/8 dev ${vrf}102 ip ${ns} -6 addr add ::1 dev ${vrf} nodad105 ip ${ns} ru add pref 32765 from all lookup local107 ip ${ns} -6 ru add pref 32765 from all lookup local119 ip netns add ${ns}123 ip -netns ${ns} addr add dev lo ${addr}126 ip -netns ${ns} -6 addr add dev lo ${addr6}[all …]
126 ip address add $ip_addr/24 dev $if_name129 ip route add default vrf $vrf_name nexthop via $gw_ip170 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \178 ip address add dev $rp1 192.0.2.1/24179 ip route add 10.0.0.2/32 nexthop via 192.0.2.2181 ip link add name vx10 type vxlan id 1010 \187 bridge vlan add vid 10 dev vx10 pvid untagged189 ip link add name vx20 type vxlan id 1020 \195 bridge vlan add vid 20 dev vx20 pvid untagged199 bridge vlan add vid 10 dev $swp1 pvid untagged[all …]
116 ip address add $ip_addr/24 dev $if_name119 ip route add default vrf $vrf_name nexthop via $gw_ip160 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \168 ip address add dev $rp1 192.0.2.1/24169 ip route add 10.0.0.2/32 nexthop via 192.0.2.2171 ip link add name vx10 type vxlan id 1000 \177 bridge vlan add vid 10 dev vx10 pvid untagged179 ip link add name vx20 type vxlan id 2000 \185 bridge vlan add vid 20 dev vx20 pvid untagged189 bridge vlan add vid 10 dev $swp1 pvid untagged[all …]
63 ip -n $ns link add name dummy$i type dummy67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 102495 ip -n $ns link add name dummy1 type dummy98 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024102 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 2 metric 1024109 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 1 metric 1024124 ip -n $ns link add name dummy1 type dummy127 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1024131 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1022138 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1023[all …]
22 ip address add 192.0.2.2/24 dev $h123 ip address add 2001:db8:1::2/64 dev $h125 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.126 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::149 ip address add 198.51.100.2/24 dev $h250 ip address add 2001:db8:2::2/64 dev $h252 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.153 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::180 ip address add 192.0.2.1/24 dev $rp1181 ip address add 2001:db8:1::1/64 dev $rp11[all …]
21 ip address add 192.0.2.2/24 dev $h122 ip address add 2001:db8:1::2/64 dev $h124 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.125 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::148 ip address add 198.51.100.2/24 dev $h249 ip address add 2001:db8:2::2/64 dev $h251 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.152 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::172 tc qdisc add dev $rp2 clsact74 ip address add 192.0.2.1/24 dev $rp1[all …]
43 tc qdisc add dev $swp1 ingress_block 22 clsact46 tc filter add block 22 protocol ip pref 1 handle 101 flower \50 tc qdisc add dev $swp2 ingress_block 22 clsact55 tc qdisc add dev $swp2 egress_block 22 clsact60 tc qdisc add dev $swp2 egress_block 22 clsact63 tc filter add block 22 protocol ip pref 1 handle 101 flower \69 tc qdisc add dev $swp1 egress_block 22 clsact72 tc filter add block 22 protocol ip pref 1 handle 101 flower \91 tc qdisc add dev $swp1 ingress_block 22 clsact94 tc filter add block 22 protocol ip pref 1 handle 101 flower \[all …]
76 ip addr add dev $swp1 192.0.2.1/2884 ip addr add dev $swp2 192.0.2.2/28 &>/dev/null86 ip addr add dev $swp2 192.0.2.2/28 2>&1 >/dev/null \92 ip addr add dev $swp2 192.0.2.2/28 &>/dev/null118 ip link add name vrf-test type vrf table 10121 ip -4 address add 192.0.2.1/24 dev vrf-test123 ip -6 address add 2001:db8:1::1/64 dev vrf-test136 ip addr add dev $swp1 192.0.2.1/28140 ip link add name br1 up type bridge vlan_filtering 0142 ip addr add dev br1 192.0.2.17/28[all …]
49 ip link add dev br0 type bridge vlan_filtering 1 \55 ip link add name br0.100 link br0 type vlan \59 ip link add name br0.100 link br0 type vlan \73 ip link add name $swp1.100 link $swp1 type vlan \77 ip link add name $swp1.100 link $swp1 type vlan \89 ip link add dev br0 type bridge vlan_filtering 1 \95 ip link add name $swp1.100 link $swp1 type vlan \99 ip link add name $swp1.100 link $swp1 type vlan \113 ip link add name bond1 type bond mode 802.3ad117 ip link add name bond1.100 link bond1 type vlan \[all …]
48 ip netns add ${n}93 ip link add veth0 netns ${r_a} type veth peer name veth0 netns ${r_w}94 ip link add veth1 netns ${r_a} type veth peer name veth0 netns ${c_a}98 ip netns exec ${r_a} ip link add ipip0 type ipip local ${l_addr} remote ${r_addr} mode ipip || exit…104 ip -net ${r_a} addr add 10.2.2.1/24 dev veth0105 ip -net ${r_a} addr add 192.168.10.1/24 dev veth1107 ip -net ${r_a} route add 192.168.20.0/24 dev ipip0108 ip -net ${r_a} route add 10.4.4.0/24 via 10.2.2.254123 ip link add veth0 netns ${r_b} type veth peer name veth1 netns ${r_w}124 ip link add veth1 netns ${r_b} type veth peer name veth0 netns ${c_b}[all …]
435 ip netns add B436 ip link add veth_a type veth peer name veth_b || return 1443 ip addr add dev veth_a 10.0.0.1444 ip route add default dev veth_a446 ip -6 addr add fe80::1/64 dev veth_a nodad447 ip -6 addr add 2001:db8::1/64 dev veth_a nodad448 ip -6 route add default dev veth_a450 ip -n B route add default dev veth_b452 ip -6 -n B addr add fe80::2/64 dev veth_b nodad453 ip -6 -n B addr add 2001:db8::2/64 dev veth_b nodad[all …]
38 ip netns add ${nsrouter}53 ip netns add ${ns1}54 ip netns add ${ns2}119 ip link add veth0 netns ${nsrouter} type veth peer name eth0 netns ${ns1} > /dev/null 2>&1124 ip link add veth1 netns ${nsrouter} type veth peer name eth0 netns ${ns2}128 ip -net ${nsrouter} addr add 10.0.1.1/24 dev veth0129 ip -net ${nsrouter} addr add dead:1::1/64 dev veth0132 ip -net ${nsrouter} addr add 10.0.2.1/24 dev veth1133 ip -net ${nsrouter} addr add dead:2::1/64 dev veth1141 ip -net ${ns1} addr add 10.0.1.99/24 dev eth0[all …]
71 pp ip netns add $netns072 pp ip netns add $netns173 pp ip netns add $netns276 ip0 link add dev wg0 type wireguard78 ip0 link add dev wg0 type wireguard92 ip1 addr add 192.168.241.1/24 dev wg093 ip1 addr add fd00::1/112 dev wg095 ip2 addr add 192.168.241.2/24 dev wg096 ip2 addr add fd00::2/112 dev wg0200 n1 ip route add 192.168.241.2/32 dev wg0 mtu 1299[all …]