수신 및 송신 인터페이스의 트래픽을 캡처하여 Edge 연결 문제를 해결하십시오.
- ping <destination_IP_address> 명령을 사용하여 클라이언트에서 제어되는 트래픽을 시작합니다.
- 두 인터페이스에서 동시에 트래픽을 캡처하고, 출력을 파일에 쓰고, SCP를 사용하여 내보냅니다.
예:
다음 명령을 사용하여 수신 인터페이스의 트래픽을 캡처합니다.debug packet display interface vNic_0 –n_src_host_1.1.1.1
다음 명령을 사용하여 송신 인터페이스의 트래픽을 캡처합니다.debug packet display interface vNic_1 –n_src_host_1.1.1.1
동시 패킷 캡처의 경우 ESXi의 ESXi 패킷 캡처 유틸리티 pktcap-uw 도구를 사용하십시오. https://kb.vmware.com/kb/2051814를 참조하십시오.
패킷 삭제가 일관되게 나타나면 다음과 관련된 구성 오류를 확인하십시오.- IP 주소 및 경로
- 방화벽 규칙 또는 NAT 규칙
- 비대칭 라우팅
- RP 필터 확인
- show interface 명령을 사용하여 인터페이스 IP/서브넷을 확인합니다.
-
데이터부에 누락된 경로가 있으면 다음 명령을 실행합니다.
- show ip route
- show ip route static
- show ip route bgp
- show ip route ospf
- show ip forwarding 명령을 실행하여 라우팅 테이블에서 필요한 경로를 확인합니다.
- 여러 개의 경로가 있으면 show rpfilter 명령을 실행합니다.
nsxedge> show rpfilter net.ipv4.conf.VDR.rp_filter = 0 net.ipv4.conf.all.rp_filter = 0 net.ipv4.conf.br-sub.rp_filter = 1 net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.lo.rp_filter = 0 net.ipv4.conf.vNic_0.rp_filter = 1 net.ipv4.conf.vNic_1.rp_filter = 1 net.ipv4.conf.vNic_2.rp_filter = 1 net.ipv4.conf.vNic_3.rp_filter = 1 net.ipv4.conf.vNic_4.rp_filter = 1 net.ipv4.conf.vNic_5.rp_filter = 1 net.ipv4.conf.vNic_6.rp_filter = 1 net.ipv4.conf.vNic_7.rp_filter = 1 net.ipv4.conf.vNic_8.rp_filter = 1 net.ipv4.conf.vNic_9.rp_filter = 1 nsxedge> show rpfstats RPF drop packet count: 484
RPF 통계를 확인하려면 show rpfstats 명령을 실행합니다.
nsxedge> show rpfstats RPF drop packet count: 484
패킷 삭제가 무작위로 나타나면 리소스 제한을 확인하십시오.- CPU 또는 메모리 사용량의 경우 다음 명령을 실행합니다.
- show system cpu
- show system memory
- show system storage
- show process monitor
- top
ESXi의 경우 esxtop n 명령을 실행합니다.
PCPU USED(%): 2.5 5.0 3.7 77 AVG: 22 PCPU UTIL(%): 0.5 2.7 3.3 92 AVG: 24 ID GID NAME NWLD %USED %RUN %SYS %WAIT 98255269 98255269 esxtop.11224149 1 67.04 69.86 0.00 6.26 2 2 system 139 3.03 4.61 0.00 12053.58 86329 86329 app-01a 6 0.69 0.57 0.00 466.09 78730 78730 db-01a 6 0.48 0.67 0.00 441.44 90486 90486 app-02a 6 0.38 0.32 0.00 463.42 %VMWAIT %RDY %IDLE %OVRLP %CSTP %MLMTD %SWPWT 11.01 - 0.39 0.00 0.09 0.00 0.00 0.00 600.00 53.81 0.10 93.13 0.00 0.00 0.00 0.00 13900.00 - 28.68 0.00 2.69 0.00 0.00 0.00 600.00 53.81 0.10 93.13 0.00 0.00 0.00 0.00 600.00 0.00 0.19 151.92 0.00 0.00 0.00 0.00