Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@fedora1:~# ip addr
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
- inet 127.0.0.1/8 scope host lo
- valid_lft forever preferred_lft forever
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
- link/ether 52:54:00:f0:e9:cc brd ff:ff:ff:ff:ff:ff
- inet 192.168.124.189/24 brd 192.168.124.255 scope global dynamic eth0
- valid_lft 2335sec preferred_lft 2335sec
- 3: veth0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether 42:d7:e1:59:87:4a brd ff:ff:ff:ff:ff:ff link-netns peer
- 4: vlan5@veth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether 42:d7:e1:59:87:4a brd ff:ff:ff:ff:ff:ff
- inet 10.0.0.1/8 brd 10.255.255.255 scope global vlan5
- valid_lft forever preferred_lft forever
- root@fedora1:~# ip -n peer addr
- 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1000
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
- 2: veth0p@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether 2a:cf:78:a7:50:1f brd ff:ff:ff:ff:ff:ff link-netnsid 0
- inet6 fe80::28cf:78ff:fea7:501f/64 scope link
- valid_lft forever preferred_lft forever
- 3: vlan5@veth0p: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether 2a:cf:78:a7:50:1f brd ff:ff:ff:ff:ff:ff
- inet 10.0.0.2/8 brd 10.255.255.255 scope global vlan5
- valid_lft forever preferred_lft forever
- inet6 fe80::28cf:78ff:fea7:501f/64 scope link
- valid_lft forever preferred_lft forever
- root@fedora1:~# iperf3 -c 10.0.0.1
- Connecting to host 10.0.0.1, port 5201
- [ 5] local 10.0.0.2 port 39662 connected to 10.0.0.1 port 5201
- [ ID] Interval Transfer Bitrate Retr Cwnd
- [ 5] 0.00-1.00 sec 5.90 GBytes 50.7 Gbits/sec 0 523 KBytes
- [ 5] 1.00-2.00 sec 5.85 GBytes 50.2 Gbits/sec 0 556 KBytes
- [ 5] 2.00-3.00 sec 5.93 GBytes 51.0 Gbits/sec 0 556 KBytes
- [ 5] 3.00-4.00 sec 5.90 GBytes 50.6 Gbits/sec 0 584 KBytes
- [ 5] 4.00-5.00 sec 5.94 GBytes 51.0 Gbits/sec 0 614 KBytes
- [ 5] 5.00-6.00 sec 5.91 GBytes 50.8 Gbits/sec 0 648 KBytes
- [ 5] 6.00-7.00 sec 5.96 GBytes 51.2 Gbits/sec 0 648 KBytes
- [ 5] 7.00-8.00 sec 5.88 GBytes 50.5 Gbits/sec 0 648 KBytes
- [ 5] 8.00-9.00 sec 5.96 GBytes 51.2 Gbits/sec 0 648 KBytes
- [ 5] 9.00-10.00 sec 5.96 GBytes 51.2 Gbits/sec 0 648 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate Retr
- [ 5] 0.00-10.00 sec 59.2 GBytes 50.8 Gbits/sec 0 sender
- [ 5] 0.00-10.04 sec 59.2 GBytes 50.6 Gbits/sec receiver
- iperf Done.
- root@fedora1:~# ethtool -K veth0 tso off gso off gro off
- root@fedora1:~# ip netns exec peer ethtool -K veth0p tso off gso off gro off
- root@fedora1:~# ip netns exec peer iperf3 -c 10.0.0.1
- Connecting to host 10.0.0.1, port 5201
- [ 5] local 10.0.0.2 port 39674 connected to 10.0.0.1 port 5201
- [ ID] Interval Transfer Bitrate Retr Cwnd
- [ 5] 0.00-1.00 sec 1.43 GBytes 12.3 Gbits/sec 0 266 KBytes
- [ 5] 1.00-2.00 sec 1.41 GBytes 12.2 Gbits/sec 27 327 KBytes
- [ 5] 2.00-3.00 sec 1.43 GBytes 12.3 Gbits/sec 0 327 KBytes
- [ 5] 3.00-4.00 sec 1.43 GBytes 12.3 Gbits/sec 0 327 KBytes
- [ 5] 4.00-5.00 sec 1.42 GBytes 12.2 Gbits/sec 0 327 KBytes
- [ 5] 5.00-6.00 sec 1.43 GBytes 12.3 Gbits/sec 0 327 KBytes
- [ 5] 6.00-7.00 sec 1.43 GBytes 12.3 Gbits/sec 0 327 KBytes
- [ 5] 7.00-8.00 sec 1.42 GBytes 12.2 Gbits/sec 0 328 KBytes
- [ 5] 8.00-9.00 sec 1.42 GBytes 12.2 Gbits/sec 0 328 KBytes
- [ 5] 9.00-10.00 sec 1.43 GBytes 12.3 Gbits/sec 0 366 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate Retr
- [ 5] 0.00-10.00 sec 14.3 GBytes 12.3 Gbits/sec 27 sender
- [ 5] 0.00-10.04 sec 14.3 GBytes 12.2 Gbits/sec receiver
- iperf Done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement