Home
last modified time | relevance | path

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

1234567891011

/Linux-v6.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-v6.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-v6.1/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 …]
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
457 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
Dnft_nat_zones.sh101 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv"
104 ip -net "$srv" link set eth0 up
121 ip link add veth$i netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1
131 echo netns exec "$cl" ip link set eth0 up
138 echo netns exec "$cl" ip addr add 10.1.0.3/24 dev eth0
139 echo netns exec "$cl" ip addr add dead:1::3/64 dev eth0
140 echo netns exec "$cl" ip route add default via 10.1.0.2 dev eth0
141 echo netns exec "$cl" ip route add default via dead:1::2 dev eth0
158 ip -net "$srv" addr add 10.3.0.99/24 dev eth0
159 ip -net "$srv" addr add dead:3::99/64 dev eth0
/Linux-v6.1/tools/testing/selftests/net/
Dicmp_redirect.sh19 # Route on r1 changed to go to r2 via eth0. This causes a redirect to be sent
198 ip -netns h1 li add eth0 type veth peer name r1h1
199 ip -netns h1 li set r1h1 netns r1 name eth0 up
202 ip -netns h1 li set r2h1 netns r2 name eth0 up
204 ip -netns h2 li add eth0 type veth peer name r2h2
205 ip -netns h2 li set eth0 up
231 ip -netns h1 li set eth0 master br0 up
237 ip -netns h2 addr add dev eth0 ${H2_N2_IP}/24
238 ip -netns h2 ro add default via ${R2_N2_IP} dev eth0
239 ip -netns h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad
[all …]
Dvrf_route_leaking.sh232 ip -netns h1 link add eth0 type veth peer name r1h1
233 ip -netns h1 link set r1h1 netns r1 name eth0 up
235 ip -netns h2 link add eth0 type veth peer name r1h2
241 ip -netns h1 addr add dev eth0 ${H1_N1_IP}/24
242 ip -netns h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad
243 ip -netns h1 link set eth0 up
246 ip -netns h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0
247 ip -netns h1 -6 route add ${H2_N2_6} via "${R1_N1_IP6}" dev eth0
252 ip -netns h2 addr add dev eth0 ${H2_N2_IP}/24
253 ip -netns h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad
[all …]
Dfib_nexthop_multiprefix.sh111 ip -netns h${i} li add eth0 type veth peer name r1h${i}
112 ip -netns h${i} li set eth0 up
115 ip -netns h${i} addr add dev eth0 172.16.10${i}.1/24
116 ip -netns h${i} -6 addr add dev eth0 2001:db8:10${i}::1/64
121 ip -netns h0 nexthop add id 4 via 172.16.100.254 dev eth0
122 ip -netns h0 nexthop add id 6 via 2001:db8:100::64 dev eth0
158 run_cmd ip -netns h${hostid} li set eth0 mtu ${mtu}
212 echo " ${dst} from :: via ${r1} dev eth0 src ${h0} .* mtu ${mtu}"
217 grep -q "${dst} from :: via ${r1} dev eth0 src ${h0} .* mtu ${mtu}"
Dfib_nexthop_nongw.sh6 # eth0 |
72 # Add a fake eth0 to support an ip address
73 ip -n h1 link add name eth0 type dummy
74 ip -n h1 link set eth0 up
75 ip -n h1 address add 192.168.0.1/24 dev eth0
Dvrf-xfrm-tests.sh189 connect_ns "host1" eth0 ${HOST1_4}/24 ${HOST1_6}/64 \
190 "host2" eth0 ${HOST2_4}/24 ${HOST2_6}/64
193 ip -netns host1 link set dev eth0 master ${VRF}
327 ip -netns host2 addr del ${XFRM2_4}/24 dev eth0
328 ip -netns host2 addr del ${XFRM2_6}/64 dev eth0
335 ip -netns host1 li add type xfrm dev eth0 if_id ${IF_ID}
340 ip -netns host2 addr add ${XFRM2_4}/24 dev eth0
341 ip -netns host2 addr add ${XFRM2_6}/64 dev eth0
377 # setup_xfrm ${HOST1_4} ${HOST2_4} ${HOST1_6} ${HOST2_6} "dev eth0"
/Linux-v6.1/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst92 eth0(2) driver id 198
95 eth0(2) htb name prefix_matcher.o:[cls_prefix_matcher_htb] id 111727 act []
96 eth0(2) clsact/ingress fbflow_icmp id 130246 act []
97 eth0(2) clsact/egress prefix_matcher.o:[cls_prefix_matcher_clsact] id 111726
98 eth0(2) clsact/egress cls_fg_dscp id 108619 act []
99 eth0(2) clsact/egress fbflow_egress id 130245
108 "devname": "eth0",
115 "devname": "eth0",
122 "devname": "eth0",
129 "devname": "eth0",
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/bonding/
Dbond-arp-interval-causes-panic.sh29 ip link set dev link1_2 netns server up name eth0
30 ip netns exec server ip addr add ${server_ip4}/24 dev eth0
33 ip link set dev link1_1 netns client down name eth0
36 ip netns exec client ip link set dev eth0 down master bond0
41 ip netns exec client ip link set dev eth0 down nomaster
45 ip netns exec client ip link set dev eth0 down master bond0
/Linux-v6.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-v6.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
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 };
Dbatman-adv.rst37 $ ip link set dev eth0 master bat0
44 $ ip link set dev eth0 nomaster
49 batctl -m bat0 interface add -M eth0
51 To detach eth0 and destroy bat0::
53 batctl -m bat0 interface del -M eth0
103 $ ip addr flush dev eth0
Dbonding.rst796 A string (eth0, eth2, etc) specifying which slave is the
1147 BONDING_SLAVE0="eth0"
1183 "slave device" is either an interface name, e.g., "eth0", or a device
1263 for eth0 would be named /etc/sysconfig/network-scripts/ifcfg-eth0.
1266 DEVICE=eth0
1377 devices (presumed to be eth0 and eth1), and have it persist across
1384 ip link set eth0 master bond0
1524 To enslave interface eth0 to bond bond0::
1527 # echo +eth0 > /sys/class/net/bond0/bonding/slaves
1529 To free slave eth0 from bond bond0::
[all …]
/Linux-v6.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 …]
/Linux-v6.1/Documentation/admin-guide/cgroup-v1/
Dnet_cls.rst35 tc qdisc add dev eth0 root handle 10: htb
36 tc class add dev eth0 parent 10: classid 10:1 htb rate 40mbit
40 tc filter add dev eth0 parent 10: protocol ip prio 10 handle 1: cgroup
/Linux-v6.1/Documentation/devicetree/bindings/net/dsa/
Dmicrochip,ksz.yaml62 // Ethernet switch connected via SPI to the host, CPU port wired to eth0:
63 eth0 {
110 ethernet = <&eth0>;
148 ethernet = <&eth0>;

1234567891011