| /linux/Documentation/networking/dsa/ |
| H A D | b53.rst | 67 ip link add link eth0 name eth0.1 type vlan id 1 68 ip link add link eth0 name eth0.2 type vlan id 2 69 ip link add link eth0 name eth0.3 type vlan id 3 72 ip link set eth0 up 73 ip link set eth0.1 up 74 ip link set eth0.2 up 75 ip link set eth0.3 up 100 ip addr add 192.0.2.1/30 dev eth0.1 101 ip addr add 192.0.2.5/30 dev eth0.2 102 ip addr add 192.0.2.9/30 dev eth0.3 [all …]
|
| H A D | configuration.rst | 49 *eth0* 101 ip link set eth0 up 113 ip link set eth0 up 139 ip link set eth0 up 177 ip link add link eth0 name eth0.1 type vlan id 1 178 ip link add link eth0 name eth0.2 type vlan id 2 179 ip link add link eth0 name eth0.3 type vlan id 3 183 ip link set eth0 up 184 ip link set eth0.1 up 185 ip link set eth0.2 up [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | test_bridge_neigh_suppress.sh | 13 # | + eth0.10 | | + eth0.10 | 17 # | | + eth0.20 | | | + eth0.20 | 21 # | + eth0 | | + eth0 | 159 ip -n $h1 link add name eth0 type veth peer name swp1 netns $sw1 161 ip -n $h2 link add name eth0 type veth peer name swp1 netns $sw2 172 ip -n $ns link set dev eth0 up 173 ip -n $ns link add link eth0 nam [all...] |
| H A D | vrf_route_leaking.sh | 226 ip -netns $h1 link add eth0 type veth peer name r1h1 227 ip -netns $h1 link set r1h1 netns $r1 name eth0 up 229 ip -netns $h2 link add eth0 type veth peer name r1h2 235 ip -netns $h1 addr add dev eth0 ${H1_N1_IP}/24 236 ip -netns $h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad 237 ip -netns $h1 link set eth0 up 240 ip -netns $h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0 241 ip -netns $h1 -6 route add ${H2_N2_6} via "${R1_N1_IP6}" dev eth0 246 ip -netns $h2 addr add dev eth0 ${H2_N2_IP}/24 247 ip -netns $h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad [all …]
|
| H A D | icmp_redirect.sh | 19 # Route on r1 changed to go to r2 via eth0. This causes a redirect to be sent 190 ip -netns $h1 li add eth0 type veth peer name r1h1 191 ip -netns $h1 li set r1h1 netns $r1 name eth0 up 194 ip -netns $h1 li set r2h1 netns $r2 name eth0 up 196 ip -netns $h2 li add eth0 type veth peer name r2h2 197 ip -netns $h2 li set eth0 up 223 ip -netns $h1 li set eth0 master br0 up 229 ip -netns $h2 addr add dev eth0 ${H2_N2_IP}/24 230 ip -netns $h2 ro add default via ${R2_N2_IP} dev eth0 231 ip -netns $h2 -6 addr add dev eth0 [all...] |
| H A D | fib_nexthop_multiprefix.sh | 112 ip -netns ${h[$i]} li add eth0 type veth peer name r1h${i} 113 ip -netns ${h[$i]} li set eth0 up 116 ip -netns ${h[$i]} addr add dev eth0 172.16.10${i}.1/24 117 ip -netns ${h[$i]} -6 addr add dev eth0 2001:db8:10${i}::1/64 122 ip -netns ${h[0]} nexthop add id 4 via 172.16.100.254 dev eth0 123 ip -netns ${h[0]} nexthop add id 6 via 2001:db8:100::64 dev eth0 156 run_cmd ip -netns h${hostid} li set eth0 mtu ${mtu} 210 echo " ${dst}.* via ${r1_ip} dev eth0 src ${h0_ip} .* mtu ${mtu}" 215 grep -q "${dst}.* via ${r1_ip} dev eth0 src ${h0_ip} .* mtu ${mtu}"
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | bond_passive_lacp.sh | 39 ip -n "${c_ns}" link add eth0 type veth peer name eth0 netns "${s_ns}" 43 tc -n "${c_ns}" qdisc add dev eth0 clsact 44 tc -n "${c_ns}" filter add dev eth0 egress handle 101 protocol 0x8809 matchall action pass 49 ip -n "${s_ns}" link set eth0 master bond0 53 ip -n "${c_ns}" link set eth0 master bond0 67 check_pkt_count "${c_ns}" "eth0" && RET=1 73 slowwait 2 check_port_state "${c_ns}" "eth0" "active" && RET=1 78 slowwait 2 check_port_state "${s_ns}" "eth0" "active" || RET=1 83 slowwait 5 check_port_state "${s_ns}" "eth0" "distributing" 84 slowwait 10 check_port_state "${s_ns}" "eth0" "expired" && RET=1 [all …]
|
| H A D | bond_options.sh | 24 ip -n ${s_ns} link set eth0 type bond_slave prio 10 28 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10" 81 ip -n ${s_ns} link set eth0 type bond_slave prio 0 84 cmd_jq "ip -n ${s_ns} -d -j link show eth0" \ 86 check_err $? "eth0 prio is not 0" 106 check_active_slave eth0 117 check_active_slave "eth0" 120 check_active_slave "eth0" 145 ip -n ${s_ns} link set eth0 type bond_slave prio 1000000 148 ip -n ${s_ns} -d link show eth0 | grep -q 'prio 1000000' [all …]
|
| H A D | bond-arp-interval-causes-panic.sh | 27 ip -n client link add eth0 type veth peer name eth0 netns server 28 ip netns exec server ip link set dev eth0 up 29 ip netns exec server ip addr add ${server_ip4}/24 dev eth0 33 ip netns exec client ip link set dev eth0 master bond0 38 ip netns exec client ip link set dev eth0 nomaster 42 ip netns exec client ip link set dev eth0 master bond0
|
| H A D | lag_lib.sh | 83 # | eth0 +-------+ eth0 | 100 ip link set dev lag1 netns lag_node1 $state name eth0 101 ip link set dev lag1-end netns lag_node2 $state name eth0 129 ip netns exec ${SWITCH} ip link set eth0 master br0 up 137 ip netns exec ${SWITCH} ip link set eth0 up 144 ip netns exec ${CLIENT} ip link set eth0 down 148 ip netns exec ${CLIENT} ip link set eth0 master bond0 165 ip netns exec ${SWITCH} ip link set eth0 down 167 ip netns exec ${SWITCH} ip link set eth0 up
|
| H A D | bond_topo_2d1c.sh | 9 # | eth0 | eth1 | 2001:db8::1/24 25 # | eth0 | 2001:db8::10/24 120 ip -n ${c_ns} link add eth0 type veth peer name c0 netns ${g_ns} 125 ip -n ${c_ns} link set eth0 up 126 ip -n ${c_ns} addr add ${c_ip4}/24 dev eth0 127 ip -n ${c_ns} addr add ${c_ip6}/24 dev eth0 132 ip -n ${c_ns} link del eth0
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | vxlan_mtu_frag.sh | 22 ip link add host-eth0 netns "$host" type veth peer name vtep-host netns "$vtep" 29 ip -n "$host" addr add 10.0.0.1/24 dev host-eth0 30 ip -n "$host" link set host-eth0 up 34 ip -n "$host" link add link host-eth0 name host-eth0.$vid type vlan id $vid 35 ip -n "$host" addr add 10.0.$vid.1/24 dev host-eth0.$vid 36 ip -n "$host" link set host-eth0.$vid up 93 ip -n "$host" neigh add 10.0.0.2 lladdr ca:fe:ba:be:00:01 dev host-eth0 95 ping -q 10.0.0.2 -I host-eth0 -c 1 -W 0.5 -s2000 > /dev/null 2>&1 103 ip -n "$host" neigh add 10.0.$vid.2 lladdr ca:fe:ba:be:00:01 dev host-eth0.$vid 105 ping -q 10.0.$vid.2 -I host-eth0.$vid -c 1 -W 0.5 -s2000 > /dev/null 2>&1
|
| H A D | nft_tproxy_udp.sh | 8 # | eth0|---------------|veth0 veth1|------------------|eth0 | 17 # +------------------------|eth0 | 48 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; th… 52 ip link add veth1 netns "$nsrouter" type veth peer name eth0 netns "$ns2" 53 ip link add veth2 netns "$nsrouter" type veth peer name eth0 netns "$ns3" 67 ip -net "$ns1" link set eth0 up 68 ip -net "$ns2" link set eth0 up 69 ip -net "$ns3" link set eth0 up 71 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0 72 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad [all …]
|
| H A D | nft_tproxy_tcp.sh | 8 # | eth0|---------------|veth0 veth1|------------------|eth0 | 17 # +------------------------|eth0 | 48 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; th… 52 ip link add veth1 netns "$nsrouter" type veth peer name eth0 netns "$ns2" 53 ip link add veth2 netns "$nsrouter" type veth peer name eth0 netns "$ns3" 67 ip -net "$ns1" link set eth0 up 68 ip -net "$ns2" link set eth0 up 69 ip -net "$ns3" link set eth0 up 71 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0 72 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad [all …]
|
| H A D | br_netfilter.sh | 8 # eth0 br0 eth0 63 if ! ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns1"; then 68 ip link add veth2 netns "$ns0" type veth peer name eth0 netns "$ns2" 69 ip link add veth3 netns "$ns0" type veth peer name eth0 netns "$ns3" 70 ip link add veth4 netns "$ns0" type veth peer name eth0 netns "$ns4" 144 eval ip -net \$ns"$i" link set eth0 up 147 eval ip -net \$ns"$i" addr add "10.0.0.1$i/24" dev eth0 150 ip -net "$ns3" addr add 10.23.0.13/24 dev eth0 151 ip -net "$ns4" addr add 10.23.0.14/24 dev eth0 [all...] |
| H A D | nft_flowtable.sh | 49 ip link add veth0 netns "$nsr1" type veth peer name eth0 netns "$ns1" 52 ip link add veth1 netns "$nsr2" type veth peer name eth0 netns "$ns2" 106 ip -net "$ns1" link set eth0 mtu "$omtu" 120 ip -net "$ns2" link set eth0 mtu "$rmtu" 136 ip -net "$ns" link set eth0 up 146 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0 147 ip -net "$ns2" addr add 10.0.2.99/24 dev eth0 150 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad 151 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad 610 ip -net "$ns1" addr flush dev eth0 [all …]
|
| H A D | bridge_brouter.sh | 7 # eth0 br0 eth0 25 if ! ip link add veth0 netns "$nsbr" type veth peer name eth0 netns "$ns1"; then 29 ip link add veth1 netns "$nsbr" type veth peer name eth0 netns "$ns2" 45 ip -net "$ns1" link set eth0 up 46 ip -net "$ns2" link set eth0 up 47 ip -net "$ns1" addr add 10.0.0.11/24 dev eth0 48 ip -net "$ns2" addr add 10.0.0.12/24 dev eth0
|
| H A D | nft_queue.sh | 48 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; then 52 ip link add veth1 netns "$nsrouter" type veth peer name eth0 netns "$ns2" 53 ip link add veth2 netns "$nsrouter" type veth peer name eth0 netns "$ns3" 67 ip -net "$ns1" link set eth0 up 68 ip -net "$ns2" link set eth0 up 69 ip -net "$ns3" link set eth0 up 71 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0 72 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad 76 ip -net "$ns2" addr add 10.0.2.99/24 dev eth0 77 ip -net "$ns2" addr add dead:2::99/64 dev eth0 noda [all...] |
| H A D | nft_synproxy.sh | 24 ip link add veth0 netns "$nsr" type veth peer name eth0 netns "$ns1" 25 ip link add veth1 netns "$nsr" type veth peer name eth0 netns "$ns2" 39 ip -net "$n" link set eth0 up 41 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0 42 ip -net "$ns2" addr add 10.0.2.99/24 dev eth0
|
| H A D | nft_nat_zones.sh | 64 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv" 66 ip -net "$srv" link set eth0 up 79 if ! ip link add veth"$i" netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1;then 87 echo netns exec "$cl" ip link set eth0 up 93 echo netns exec "$cl" ip addr add 10.1.0.3/24 dev eth0 94 echo netns exec "$cl" ip addr add dead:1::3/64 dev eth0 nodad 95 echo netns exec "$cl" ip route add default via 10.1.0.2 dev eth0 96 echo netns exec "$cl" ip route add default via dead:1::2 dev eth0 113 ip -net "$srv" addr add 10.3.0.99/24 dev eth0 114 ip -net "$srv" addr add dead:3::99/64 dev eth0 noda [all...] |
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-net.rst | 96 eth0(2) driver id 198 99 eth0(2) htb name prefix_matcher.o:[cls_prefix_matcher_htb] id 111727 act [] 100 eth0(2) clsact/ingress fbflow_icmp id 130246 act [] 101 eth0(2) clsact/egress prefix_matcher.o:[cls_prefix_matcher_clsact] id 111726 102 eth0(2) clsact/egress cls_fg_dscp id 108619 act [] 103 eth0(2) clsact/egress fbflow_egress id 130245 112 "devname": "eth0", 119 "devname": "eth0", 126 "devname": "eth0", 133 "devname": "eth0", [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/microsoft/ |
| H A D | netvsc.rst | 37 For example, for UDP over IPv4 on eth0: 41 ethtool -N eth0 rx-flow-hash udp4 sdfn 45 ethtool -N eth0 rx-flow-hash udp4 sd 49 ethtool -n eth0 rx-flow-hash udp4 64 ethtool -K eth0 lro on 65 ethtool -K eth0 lro off 118 ethtool -K eth0 lro off
|
| /linux/Documentation/networking/ |
| H A D | ipvlan.rst | 41 (a) Following will create IPvlan link with eth0 as master in 44 bash# ip link add link eth0 name ipvl0 type ipvlan 47 bash# ip link add link eth0 name ipvl0 type ipvlan mode l2 bridge 51 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 private 55 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 vepa 152 | # eth0 | 161 (b) Create two ipvlan slaves on eth0 (master device):: 163 ip link add link eth0 ipvl0 type ipvlan mode l2 164 ip link add link eth0 ipvl1 type ipvlan mode l2
|
| H A D | alias.rst | 20 200.1.1.1 alias for eth0 ... 23 # ifconfig eth0:0 200.1.1.1 etc,etc.... 24 ~~ -> request alias #0 creation (if not yet exists) for eth0 35 # ifconfig eth0:0 down
|
| /linux/Documentation/networking/device_drivers/ethernet/dlink/ |
| H A D | dl2k.rst | 45 3. ifconfig eth0 up 10.xxx.xxx.xxx netmask 255.0.0.0 49 Now eth0 should active, you can test it by "ping" or get more information by 55 alias eth0 dl2k 58 7. Run ``netconfig`` or ``netconf`` to create configuration script ifcfg-eth0 143 eth0, eth1, etc. To bring the NIC into an operational state, 146 ifconfig eth0 up 151 ifup eth0 159 ifdown eth0 160 ifconfig eth0 down 187 where ethx will be eth0 if the NIC is the only ethernet adapter, eth1 if [all …]
|