Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.12.1/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.12.1/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.12.1/tools/testing/selftests/net/
Dtest_bridge_neigh_suppress.sh13 # | + eth0.10 | | + eth0.10 |
17 # | | + eth0.20 | | | + eth0.20 |
21 # | + eth0 | | + eth0 |
157 ip -n $h1 link add name eth0 type veth peer name swp1 netns $sw1
159 ip -n $h2 link add name eth0 type veth peer name swp1 netns $sw2
170 ip -n $ns link set dev eth0 up
171 ip -n $ns link add link eth0 name eth0.10 up type vlan id 10
172 ip -n $ns link add link eth0 name eth0.20 up type vlan id 20
174 ip -n $ns address add $v4addr1 dev eth0.10
175 ip -n $ns address add $v4addr2 dev eth0.20
[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 …]
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 …]
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dnft_fib.sh108 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; th…
112 ip link add veth1 netns "$nsrouter" type veth peer name eth0 netns "$ns2"
122 ip -net "$ns1" link set eth0 up
123 ip -net "$ns2" link set eth0 up
125 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0
126 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
130 ip -net "$ns2" addr add 10.0.2.99/24 dev eth0
131 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
173 ip -net "$ns1" addr del 10.0.1.99/24 dev eth0
174 ip -net "$ns1" addr del dead:1::99/64 dev eth0
[all …]
Dvxlan_mtu_frag.sh22 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
Dnft_tproxy_udp.sh8 # | 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 …]
Dbr_netfilter.sh8 # eth0 br0 eth0
60 if ! ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns1"; then
65 ip link add veth2 netns "$ns0" type veth peer name eth0 netns "$ns2"
66 ip link add veth3 netns "$ns0" type veth peer name eth0 netns "$ns3"
67 ip link add veth4 netns "$ns0" type veth peer name eth0 netns "$ns4"
141 eval ip -net \$ns"$i" link set eth0 up
144 eval ip -net \$ns"$i" addr add "10.0.0.1$i/24" dev eth0
147 ip -net "$ns3" addr add 10.23.0.13/24 dev eth0
148 ip -net "$ns4" addr add 10.23.0.14/24 dev eth0
Dnft_tproxy_tcp.sh8 # | 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 …]
Dnft_flowtable.sh48 ip link add veth0 netns "$nsr1" type veth peer name eth0 netns "$ns1"
51 ip link add veth1 netns "$nsr2" type veth peer name eth0 netns "$ns2"
101 ip -net "$ns1" link set eth0 mtu "$omtu"
115 ip -net "$ns2" link set eth0 mtu "$rmtu"
131 ip -net "$ns" link set eth0 up
141 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0
142 ip -net "$ns2" addr add 10.0.2.99/24 dev eth0
145 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
146 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
571 ip -net "$ns1" addr flush dev eth0
[all …]
Dbridge_brouter.sh7 # eth0 br0 eth0
27 if ! ip link add veth0 netns "$nsbr" type veth peer name eth0 netns "$ns1"; then
31 ip link add veth1 netns "$nsbr" type veth peer name eth0 netns "$ns2"
47 ip -net "$ns1" link set eth0 up
48 ip -net "$ns2" link set eth0 up
49 ip -net "$ns1" addr add 10.0.0.11/24 dev eth0
50 ip -net "$ns2" addr add 10.0.0.12/24 dev eth0
Dnft_queue.sh46 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; th…
50 ip link add veth1 netns "$nsrouter" type veth peer name eth0 netns "$ns2"
51 ip link add veth2 netns "$nsrouter" type veth peer name eth0 netns "$ns3"
65 ip -net "$ns1" link set eth0 up
66 ip -net "$ns2" link set eth0 up
67 ip -net "$ns3" link set eth0 up
69 ip -net "$ns1" addr add 10.0.1.99/24 dev eth0
70 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
74 ip -net "$ns2" addr add 10.0.2.99/24 dev eth0
75 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
[all …]
Dnft_synproxy.sh24 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
Dnft_nat_zones.sh64 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
94 echo netns exec "$cl" ip addr add 10.1.0.3/24 dev eth0
95 echo netns exec "$cl" ip addr add dead:1::3/64 dev eth0 nodad
96 echo netns exec "$cl" ip route add default via 10.1.0.2 dev eth0
97 echo netns exec "$cl" ip route add default via dead:1::2 dev eth0
114 ip -net "$srv" addr add 10.3.0.99/24 dev eth0
115 ip -net "$srv" addr add dead:3::99/64 dev eth0 nodad
/linux-6.12.1/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
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
Dbond_options.sh22 ip -n ${s_ns} link set eth0 type bond_slave prio 10
26 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
79 ip -n ${s_ns} link set eth0 type bond_slave prio 0
82 cmd_jq "ip -n ${s_ns} -d -j link show eth0" \
84 check_err $? "eth0 prio is not 0"
104 check_active_slave eth0
115 check_active_slave "eth0"
118 check_active_slave "eth0"
143 ip -n ${s_ns} link set eth0 type bond_slave prio 1000000
146 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.12.1/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.12.1/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.12.1/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
/linux-6.12.1/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 …]

12345678910>>...12