Skip to content

Instantly share code, notes, and snippets.

@EmmanuelKasper
Last active September 30, 2017 06:40
Show Gist options
  • Save EmmanuelKasper/b5fff82c06a9287935bf to your computer and use it in GitHub Desktop.
Save EmmanuelKasper/b5fff82c06a9287935bf to your computer and use it in GitHub Desktop.
iperf pc

commands

#client 
iperf -c pf -i 1 -t 60
#server
iperf -s

server side result vr2: VIA VT6105M Rhine III 10/100BaseTX

ifconfig vr2
vr2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=82809<RXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
	ether 00:0d:b9:36:f3:e2
	inet6 fe80::20d:b9ff:fe36:f3e2%vr2 prefixlen 64 scopeid 0x3 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active

iperf -s 
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 63.7 KByte (default)
------------------------------------------------------------
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 48067
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-18.7 sec   168 MBytes  75.3 Mbits/sec

server side result with re1: RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet

[2.2.3-RELEASE][[email protected]]/root: ifconfig re1 
re1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=82099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether 00:0d:b9:3a:18:1d
	inet6 fe80::20d:b9ff:fe3a:181d%re1 prefixlen 64 scopeid 0x2 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex,master>)
	status: active

iperf -s 
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 63.7 KByte (default)
------------------------------------------------------------
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 48072
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-35.0 sec  9.00 MBytes  2.16 Mbits/sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment