Searched refs:ip (Results 1 – 25 of 224) sorted by relevance
123456789
44 ip netns del ns1 2> /dev/null45 ip netns del ns2 2> /dev/null46 ip netns del ns3 2> /dev/null47 ip netns del ns4 2> /dev/null48 ip netns del ns5 2> /dev/null49 ip netns del ns6 2> /dev/null55 ip netns add ns156 ip netns add ns257 ip netns add ns358 ip netns add ns4[all …]
56 ip netns add at_ns057 ip link add veth0 type veth peer name veth158 ip link set veth0 netns at_ns059 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth060 ip netns exec at_ns0 ip link set dev veth0 up61 ip link set dev veth1 up mtu 150062 ip addr add dev veth1 172.16.1.200/2468 ip netns exec at_ns0 \69 ip link add dev $DEV_NS type $TYPE seq key 2 \71 ip netns exec at_ns0 ip link set dev $DEV_NS up[all …]
55 ip link del veth1 2> /dev/null56 ip netns del ns1 2> /dev/null57 ip netns del ns2 2> /dev/null117 ip link set dev lo xdpgeneric off 2>/dev/null > /dev/null125 ip link del veth1 2> /dev/null126 ip netns del ns1 2> /dev/null127 ip netns del ns2 2> /dev/null134 which ip > /dev/null144 ip netns add ns1145 ip netns add ns2[all …]
22 ip link del veth1 2> /dev/null23 ip link del veth2 2> /dev/null24 ip netns del ns1 2> /dev/null25 ip netns del ns2 2> /dev/null28 ip link set dev lo xdpgeneric off 2>/dev/null > /dev/null35 ip netns add ns136 ip netns add ns240 ip link add veth1 index 111 type veth peer name veth1141 ip link add veth2 index 222 type veth peer name veth2243 ip link set veth11 netns ns1[all …]
12 ip link del veth1 2> /dev/null13 ip netns del ns1 2> /dev/null14 ip netns del ns2 2> /dev/null17 ip link set dev lo xdp off 2>/dev/null > /dev/null24 ip netns add ns125 ip netns add ns229 ip link add veth1 type veth peer name veth231 ip link set veth1 netns ns132 ip link set veth2 netns ns234 ip netns exec ns1 ip addr add 10.1.1.11/24 dev veth1[all …]
111 ip netns add "${NS1}"112 ip netns add "${NS2}"113 ip netns add "${NS3}"116 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.all.rp_filter=0117 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0118 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.all.rp_filter=0119 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.default.rp_filter=0120 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.default.rp_filter=0121 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.default.rp_filter=0124 ip netns exec ${NS1} sysctl -wq net.ipv6.conf.all.accept_dad=0[all …]
43 ip link set dev $swp1 up44 ip link set dev $swp2 up51 ip link set dev $swp2 down52 ip link set dev $swp1 down64 ip addr flush dev $swp165 ip addr flush dev $swp268 ip addr add dev $swp1 192.0.2.1/2871 ip link set dev $swp1 addr 00:11:22:33:44:5576 ip addr add dev $swp2 192.0.2.2/28 &>/dev/null78 ip addr add dev $swp2 192.0.2.2/28 2>&1 >/dev/null \[all …]
21 ip link set dev $swp1 up22 ip link set dev $swp2 up29 ip link set dev $swp2 down30 ip link set dev $swp1 down37 ip link add name br1 up type bridge vlan_filtering 0 mcast_snooping 038 ip link add name vx1 up type vxlan id 1000 \42 ip link set dev vx1 master br145 ip link set dev $swp1 master br148 ip link add name br2 up type bridge vlan_filtering 0 mcast_snooping 049 ip link add name vx2 up type vxlan id 2000 \[all …]
19 ip link set dev $swp1 up20 ip link set dev $swp2 up27 ip link set dev $swp2 down28 ip link set dev $swp1 down33 ip link set dev $swp1 master br035 ip link set dev vxlan0 master br038 ip link set dev $swp1 nomaster40 ip link set dev $swp1 master br046 ip link set dev $swp1 master br048 ip link set dev vxlan0 master br0 &> /dev/null[all …]
11 ip link set dev $h1 master vrf-h113 ip link set dev vrf-h1 up14 ip link set dev $h1 up16 ip address add 192.0.2.2/24 dev $h117 ip address add 2001:db8:1::2/64 dev $h119 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.120 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::125 ip route del 2001:db8:2::/64 vrf vrf-h126 ip route del 198.51.100.0/24 vrf vrf-h128 ip address del 2001:db8:1::2/64 dev $h1[all …]
112 ip link set dev $if_name master $vrf_name113 ip link set dev $vrf_name up114 ip link set dev $if_name up116 ip address add $ip_addr/24 dev $if_name117 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \119 ip route add default vrf $vrf_name nexthop via $gw_ip130 ip route del default vrf $vrf_name nexthop via $gw_ip131 ip neigh del $gw_ip dev $if_name132 ip address del $ip_addr/24 dev $if_name134 ip link set dev $if_name down[all …]
11 ip link set dev vrf-h1 up13 ip link set dev $h1 up16 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.117 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::122 ip route del 2001:db8:2::/64 vrf vrf-h123 ip route del 198.51.100.0/24 vrf vrf-h126 ip link set dev $h1 down28 ip link set dev vrf-h1 down35 ip link set dev vrf-h2 up37 ip link set dev $h2 up[all …]
122 ip link set dev $if_name master $vrf_name123 ip link set dev $vrf_name up124 ip link set dev $if_name up126 ip address add $ip_addr/24 dev $if_name127 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \129 ip route add default vrf $vrf_name nexthop via $gw_ip140 ip route del default vrf $vrf_name nexthop via $gw_ip141 ip neigh del $gw_ip dev $if_name142 ip address del $ip_addr/24 dev $if_name144 ip link set dev $if_name down[all …]
149 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2154 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2161 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17166 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17176 ip link set dev $ol1 up179 ip link set dev $ul1 up183 ip link set dev g1a up186 ip route add 192.0.2.66/32 via 192.0.2.130188 ip route add 192.0.2.16/28 nexthop dev g1a196 ip route del 192.0.2.16/28[all …]
11 ip link set dev $h1 master vrf-h113 ip link set dev vrf-h1 up14 ip link set dev $h1 up16 ip address add 192.0.2.2/24 dev $h118 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.119 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.124 ip route del 198.51.200.0/24 vrf vrf-h125 ip route del 198.51.100.0/24 vrf vrf-h127 ip address del 192.0.2.2/24 dev $h129 ip link set dev $h1 down[all …]
20 ip -Version > /dev/null 2>&126 ip netns add ns027 ip netns add ns128 ip netns add ns230 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 bridge[all …]
44 ip netns pids $ns0 | xargs kill 2>/dev/null45 ip netns pids $ns1 | xargs kill 2>/dev/null47 ip netns del $ns0 $ns156 ip -Version > /dev/null 2>&162 ip netns add "$ns0"67 ip netns add "$ns1"71 ip netns exec $ns0 sysctl -q -w net.ipv4.conf.default.rp_filter=072 ip netns exec $ns0 sysctl -q -w net.ipv4.conf.all.rp_filter=073 ip netns exec $ns0 sysctl -q -w net.ipv4.conf.all.rp_filter=075 ip link add veth0 netns "$ns0" type veth peer name veth0 netns "$ns1" > /dev/null 2>&1[all …]
31 ip link add name "$devdummy" type dummy33 ip link set "$devdummy" up39 ip link del dev "$devdummy"48 ip netconf show dev "$dev" > /dev/null52 ip -$f netconf show dev "$dev" > /dev/null70 ip link add name "$devbr" type bridge73 ip link set dev "$devdummy" master "$devbr"76 ip link set "$devbr" up79 ip link add link "$devbr" name "$vlandev" type vlan id 181 ip addr add dev "$vlandev" 10.200.7.23/30[all …]
49 ip link del veth-hv-1 2>/dev/null || true50 ip link del veth-tap 2>/dev/null || true53 ip netns del $ns || true65 ip link add veth-hv-1 type veth peer name veth-hv-269 ip netns add hv-$hv70 ip link set veth-hv-$hv netns hv-$hv71 ip -netns hv-$hv link set veth-hv-$hv name veth073 ip -netns hv-$hv link add vrf-underlay type vrf table 174 ip -netns hv-$hv link set vrf-underlay up75 ip -netns hv-$hv addr add 172.16.0.$hv/24 dev veth0[all …]
117 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \142 ip netns del $ns 2>/dev/null150 ip -netns ${ns} link add ${VRF} type vrf table ${VRF_TABLE}151 ip -netns ${ns} link set ${VRF} up152 ip -netns ${ns} route add vrf ${VRF} unreachable default metric 8192153 ip -netns ${ns} -6 route add vrf ${VRF} unreachable default metric 8192155 ip -netns ${ns} addr add 127.0.0.1/8 dev ${VRF}156 ip -netns ${ns} -6 addr add ::1 dev ${VRF} nodad158 ip -netns ${ns} ru del pref 0159 ip -netns ${ns} ru add pref 32765 from all lookup local[all …]
14 ip netns add "${NETNS}"15 ip -netns "${NETNS}" link set lo up17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&118 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&119 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&121 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&122 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&123 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&125 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null…26 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null…[all …]
9 ip link add h1 type veth peer name swp110 ip link add h3 type veth peer name swp312 ip link set dev h1 up13 ip address add 192.0.2.1/28 dev h115 ip link add dev vh3 type vrf table 2016 ip link set dev h3 master vh317 ip link set dev vh3 up18 ip link set dev h3 up20 ip link set dev swp3 up21 ip address add dev swp3 2001:db8:2::1/64[all …]
60 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)83 ip netns add ${ns}85 ip -netns ${ns} link set lo up87 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 819296 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=197 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=198 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1[all …]