Home
last modified time | relevance | path

Searched full:eth0 (Results 1 – 25 of 275) sorted by relevance

1234567891011

/linux-6.8/Documentation/networking/dsa/
Db53.rst67 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 …]
Dconfiguration.rst49 *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-6.8/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw.rst51 | Target board: | 0 | t |--+ |0 | 18:03:73:66:87:42 -i eth0 \|
62 |0 | 20:cf:30:85:7d:fd -i eth0 \|
86 | | Eth0 | | Eth0 | | Eth0 | | Eth1 | | s
120 | | | | | | | Eth0.100 | | Eth1 | |
150 // Add 4 tx queues, for interface Eth0, and 1 tx queue for Eth1
151 $ ethtool -L eth0 rx 1 tx 5
157 $ ethtool -l eth0
158 Channel parameters for eth0:
176 $ echo 40 > /sys/class/net/eth0/queues/tx-0/tx_maxrate
177 $ echo 20 > /sys/class/net/eth0/queues/tx-1/tx_maxrate
[all …]
/linux-6.8/tools/testing/selftests/net/
Dtest_bridge_neigh_suppress.sh13 # | + eth0.10 | | + eth0.10 |
17 # | | + eth0.20 | | | + eth0.20 |
21 # | + eth0 | | + eth0 |
158 ip link set dev veth0 netns $h1 name eth0
166 ip link set dev veth0 netns $h2 name eth0
178 ip -n $ns link set dev eth0 up
179 ip -n $ns link add link eth0 name eth0.10 up type vlan id 10
180 ip -n $ns link add link eth0 name eth0.20 up type vlan id 20
182 ip -n $ns address add $v4addr1 dev eth0.10
183 ip -n $ns address add $v4addr2 dev eth0.20
[all …]
Dicmp_redirect.sh19 # Route on r1 changed to go to r2 via eth0. This causes a redirect to be sent
192 ip -netns $h1 li add eth0 type veth peer name r1h1
193 ip -netns $h1 li set r1h1 netns $r1 name eth0 up
196 ip -netns $h1 li set r2h1 netns $r2 name eth0 up
198 ip -netns $h2 li add eth0 type veth peer name r2h2
199 ip -netns $h2 li set eth0 up
225 ip -netns $h1 li set eth0 master br0 up
231 ip -netns $h2 addr add dev eth0 ${H2_N2_IP}/24
232 ip -netns $h2 ro add default via ${R2_N2_IP} dev eth0
233 ip -netns $h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad
[all …]
Dvrf_route_leaking.sh226 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 …]
Dfib_nexthop_nongw.sh6 # eth0 |
70 # Add a fake eth0 to support an ip address
71 ip -n $h1 link add name eth0 type dummy
72 ip -n $h1 link set eth0 up
73 ip -n $h1 address add 192.168.0.1/24 dev eth0
Dfib_nexthop_multiprefix.sh112 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-6.8/tools/testing/selftests/netfilter/
Dnft_fib.sh133 ip link add veth0 netns ${nsrouter} type veth peer name eth0 netns ${ns1} > /dev/null 2>&1
138 ip link add veth1 netns ${nsrouter} type veth peer name eth0 netns ${ns2}
150 ip -net ${ns1} link set eth0 up
153 ip -net ${ns2} link set eth0 up
155 ip -net ${ns1} addr add 10.0.1.99/24 dev eth0
156 ip -net ${ns1} addr add dead:1::99/64 dev eth0
160 ip -net ${ns2} addr add 10.0.2.99/24 dev eth0
161 ip -net ${ns2} addr add dead:2::99/64 dev eth0
209 ip -net ${ns1} addr del 10.0.1.99/24 dev eth0
210 ip -net ${ns1} addr del dead:1::99/64 dev eth0
[all …]
Dbridge_netfilter.sh7 # eth0 br0 eth0
71 ip link add veth1 netns ${ns0} type veth peer name eth0 netns ${ns1}
77 ip link add veth2 netns ${ns0} type veth peer name eth0 netns $ns2
78 ip link add veth3 netns ${ns0} type veth peer name eth0 netns $ns3
79 ip link add veth4 netns ${ns0} type veth peer name eth0 netns $ns4
153 eval ip -net \$ns$i link set eth0 up
156 eval ip -net \$ns$i addr add 10.0.0.1$i/24 dev eth0
159 ip -net ${ns3} addr add 10.23.0.13/24 dev eth0
160 ip -net ${ns4} addr add 10.23.0.14/24 dev eth0
Dnft_flowtable.sh64 ip link add veth0 netns $nsr1 type veth peer name eth0 netns $ns1
67 ip link add veth1 netns $nsr2 type veth peer name eth0 netns $ns2
114 ip -net $ns1 link set eth0 mtu $omtu
120 ip -net $ns2 link set eth0 mtu $rmtu
137 ip -net $ns link set eth0 up
147 ip -net $ns1 addr add 10.0.1.99/24 dev eth0
148 ip -net $ns2 addr add 10.0.2.99/24 dev eth0
151 ip -net $ns1 addr add dead:1::99/64 dev eth0
152 ip -net $ns2 addr add dead:2::99/64 dev eth0
590 ip -net $ns1 addr flush dev eth0
[all …]
Dnft_queue.sh58 ip link add veth0 netns ${nsrouter} type veth peer name eth0 netns ${ns1} > /dev/null 2>&1
63 ip link add veth1 netns ${nsrouter} type veth peer name eth0 netns ${ns2}
75 ip -net ${ns1} link set eth0 up
78 ip -net ${ns2} link set eth0 up
80 ip -net ${ns1} addr add 10.0.1.99/24 dev eth0
81 ip -net ${ns1} addr add dead:1::99/64 dev eth0
85 ip -net ${ns2} addr add 10.0.2.99/24 dev eth0
86 ip -net ${ns2} addr add dead:2::99/64 dev eth0
364 ip -net $ns1 li set eth0 master tvrf
367 ip -net $ns1 route add 10.0.2.0/24 via 10.0.1.1 dev eth0 table 9876
[all …]
Dbridge_brouter.sh7 # eth0 br0 eth0
30 ip link add veth0 netns ns0 type veth peer name eth0 netns ns1
35 ip link add veth1 netns ns0 type veth peer name eth0 netns ns2
55 ip -net ns$i link set eth0 up
56 ip -net ns$i addr add 10.0.0.1$i/24 dev eth0
Dnft_synproxy.sh42 ip link add veth0 netns $nsr type veth peer name eth0 netns $ns1
43 ip link add veth1 netns $nsr type veth peer name eth0 netns $ns2
58 ip -net $n link set eth0 up
60 ip -net $ns1 addr add 10.0.1.99/24 dev eth0
61 ip -net $ns2 addr add 10.0.2.99/24 dev eth0
/linux-6.8/tools/testing/selftests/drivers/net/bonding/
Dbond-arp-interval-causes-panic.sh27 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
Dlag_lib.sh83 # | 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
130 ip netns exec ${SWITCH} ip link set eth0 master br0 up
138 ip netns exec ${SWITCH} ip link set eth0 up
145 ip netns exec ${CLIENT} ip link set eth0 down
149 ip netns exec ${CLIENT} ip link set eth0 master bond0
166 ip netns exec ${SWITCH} ip link set eth0 down
168 ip netns exec ${SWITCH} ip link set eth0 up
Dbond_options.sh20 ip -n ${s_ns} link set eth0 type bond_slave prio 10
24 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
69 ip -n ${s_ns} link set eth0 type bond_slave prio 0
72 cmd_jq "ip -n ${s_ns} -d -j link show eth0" \
74 check_err $? "eth0 prio is not 0"
95 check_active_slave eth0
105 check_active_slave "eth0"
108 check_active_slave "eth0"
133 ip -n ${s_ns} link set eth0 type bond_slave prio 1000000
136 ip -n ${s_ns} -d link show eth0 | grep -q 'prio 1000000'
[all …]
Dbond_topo_2d1c.sh9 # | eth0 | eth1 | 2001:db8::1/24
25 # | eth0 | 2001:db8::10/24
117 ip -n ${c_ns} link add eth0 type veth peer name c0 netns ${g_ns}
122 ip -n ${c_ns} link set eth0 up
123 ip -n ${c_ns} addr add ${c_ip4}/24 dev eth0
124 ip -n ${c_ns} addr add ${c_ip6}/24 dev eth0
129 ip -n ${c_ns} link del eth0
/linux-6.8/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst96 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-6.8/tools/testing/selftests/drivers/net/team/
Dlag_lib.sh83 # | 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
130 ip netns exec ${SWITCH} ip link set eth0 master br0 up
138 ip netns exec ${SWITCH} ip link set eth0 up
145 ip netns exec ${CLIENT} ip link set eth0 down
149 ip netns exec ${CLIENT} ip link set eth0 master bond0
166 ip netns exec ${SWITCH} ip link set eth0 down
168 ip netns exec ${SWITCH} ip link set eth0 up
/linux-6.8/Documentation/networking/device_drivers/ethernet/microsoft/
Dnetvsc.rst37 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-6.8/Documentation/networking/
Dipvlan.rst41 (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
Dalias.rst20 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
Dnf_flowtable.rst89 hook ingress priority 0; devices = { eth0, eth1 };
98 This example adds the flowtable 'f' to the ingress hook of the eth0 and eth1
139 device (represented as eth0) in your switch/router.
148 | br0 eth0 ..... eth0
154 eth0
176 hook ingress priority 0; devices = { eth0, eth1 };
193 hook ingress priority 0; devices = { eth0, eth1 };
/linux-6.8/Documentation/networking/device_drivers/ethernet/dlink/
Ddl2k.rst45 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 …]

1234567891011