ping
windows
ping -t 192.168.102.2
ping -6 2409:8080:3001:6::2
Linux
ping 192.168.102.2
ping6 2409:8080:3001:6::2
抓包
# 在 eth0端口上,命名为CPE编号-抓包端口(WAN口)-抓包时间
tcpdump -i eth0 -w vm-1-eth0-3.pcap
# scp到另一个linux系统上
scp vm-1-eth0-4.pcap root@192.168.101.2:/root/wl
scp vm-2-eth0-2.pcap root@[2409:8080:3001:6::2]:/etc/netconf
# 若使用secureCRT,还可传到windows上(putty不行,会卡死)
sz
# wireshark筛选
ip.src==192.168.101.2
# ssh登录到远端Linux
ssh root@2409:8080:3001:6::2
traceroute
# Windows
tracert
# Linux
traceroute -s 设置本地主机送出数据包的IP地址 -v 详细显示指令的执行过程