This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
aix:aix_net_testing [2023/09/11 15:57] manu [Test packet size (MTU)] |
aix:aix_net_testing [2023/09/11 16:37] (current) manu |
||
---|---|---|---|
Line 26: | Line 26: | ||
If packet size are to high, you 'll have a packet lost 100% | If packet size are to high, you 'll have a packet lost 100% | ||
<cli prompt='#'> | <cli prompt='#'> | ||
- | [root@testh]/root# ping -c2 -w 10 -D -s 1470 nim01 | + | [root@testh]/root# ping -c2 -w 10 -D -s 9000 nim01 |
PING nim01.lu (172.10.10.10): 1500 data bytes | PING nim01.lu (172.10.10.10): 1500 data bytes | ||
Line 32: | Line 32: | ||
2 packets transmitted, 0 packets received, 100% packet loss | 2 packets transmitted, 0 packets received, 100% packet loss | ||
</cli> | </cli> | ||
- | | + | |
+ | Generate network trafic and check the packet size, here packet 1500, on NFS | ||
+ | <cli prompt='#'> | ||
+ | [root@testh]/root# tcpdump -i en1 -vvv host myserver.lu | ||
+ | 16:33:44.209433 IP (tos 0x0, ttl 60, id 20437, offset 0, flags [none], proto TCP (6), length 1500) | ||
+ | testh.lu.42305 > myserver.lu.shilp: Flags [.], cksum 0x0000 (incorrect -> 0xa6bb), seq 495870232:495871680, ack 4016785, win 65535, options [nop,nop,TS val 1698414524 ecr 4145383147], length 1448: NFS request xid 0 0 null | ||
+ | 16:33:44.209438 IP (tos 0x0, ttl 60, id 20438, offset 0, flags [none], proto TCP (6), length 1500) | ||
+ | testh.lu.42305 > myserver.lu.shilp: Flags [.], cksum 0x0000 (incorrect -> 0xa113), seq 495871680:495873128, ack 4016785, win 65535, options [nop,nop,TS val 1698414524 ecr 4145383147], length 1448: NFS request xid 0 0 null | ||
+ | 16:33:44.209445 IP (tos 0x0, ttl 60, id 20439, offset 0, flags [none], proto TCP (6), length 1500) | ||
+ | testh.lu.42305 > myserver.lu.shilp: Flags [.], cksum 0x0000 (incorrect -> 0x9b6b), seq 495873128:495874576, ack 4016785, win 65535, options [nop,nop,TS val 1698414524 ecr 4145383147], length 1448: NFS request xid 0 0 null | ||
+ | |||
+ | 29300 packets captured | ||
+ | 462059 packets received by filter | ||
+ | 432674 packets dropped by kernel | ||
+ | </cli> | ||
| | ||
==== Reset count in netstat ==== | ==== Reset count in netstat ==== |