Linux Ethernet: Difference between revisions
From Variscite Wiki
(Created page with "{{PageHeader|DART-MX8M - Ethernet}} {{DocImage|category1=DART-MX8M|category2=Yocto}} __toc__ iperf3 server (on Target/Host): <pre> $ ifconfig (to get the IP address) $ iperf3...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{PageHeader|DART-MX8M - Ethernet}} {{DocImage|category1=DART-MX8M|category2=Yocto}} __toc__ | {{PageHeader|DART-MX8M - Ethernet}} {{DocImage|category1=DART-MX8M|category2=Yocto}} __toc__ | ||
= Ethernet performance tests = | |||
iperf3 server (on Target/Host): | iperf3 server (on Target/Host): | ||
<pre> | <pre> | ||
Line 14: | Line 16: | ||
# Run TCP test for 30 seconds | # Run TCP test for 30 seconds | ||
$ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30 | $ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30 | ||
</pre> | |||
= Configuring static IP address = | |||
Edit /etc/network/interfaces and add | |||
<pre> | |||
auto eth0 | |||
iface eth0 inet static | |||
address <address> | |||
netmask <netmask> | |||
gateway <gateway> | |||
</pre> | </pre> |
Revision as of 08:44, 19 July 2018
DART-MX8M - Ethernet
Ethernet performance tests
iperf3 server (on Target/Host):
$ ifconfig (to get the IP address) $ iperf3 -s
iperf3 client (on Host/Target):
# Run UDP test for 30 seconds $ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -u -t 30 -P 2 -b 0
# Run TCP test for 30 seconds $ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30
Configuring static IP address
Edit /etc/network/interfaces and add
auto eth0 iface eth0 inet static address <address> netmask <netmask> gateway <gateway>