User Tools

Site Tools


aix:aix_net_testing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:aix_net_testing [2023/09/11 15:53]
manu [Test packet size (MTU)]
aix:aix_net_testing [2023/09/11 16:37] (current)
manu
Line 6: Line 6:
 You can check the maximum packet size on network using ping You can check the maximum packet size on network using ping
 <cli prompt='#'>​ <cli prompt='#'>​
-[root@testh]/​root#​ ping --s 1470 nim01+[root@testh]/​root#​ ping -c2 -w 10 -s 1470 nim01
 1478 bytes from 172.10.10.10:​ icmp_seq=2 ttl=64 time=0 ms 1478 bytes from 172.10.10.10:​ icmp_seq=2 ttl=64 time=0 ms
 45 00 05 c6 c3 8f 00 00 40 01 32 51 ac 15 13 8b * E.......@.2Q.... 45 00 05 c6 c3 8f 00 00 40 01 32 51 ac 15 13 8b * E.......@.2Q....
Line 24: Line 24:
 </​cli>​ </​cli>​
  
 +If packet size are to high, you 'll have a packet lost 100%
 +<cli prompt='#'>​
 +[root@testh]/​root#​ ping -c2 -w 10 -D -s 9000 nim01
 +PING nim01.lu (172.10.10.10):​ 1500 data bytes
 +
 +--- nim01.lu ping statistics ---
 +2 packets transmitted,​ 0 packets received, 100% packet loss
 +</​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 ====
aix/aix_net_testing.1694440425.txt.gz · Last modified: 2023/09/11 15:53 by manu