Network

tcpdump - vxlan, vlan 패킷 분석

zzerog 2021. 7. 6. 23:34
728x90

vxlan 패킷 덤프 예시)

  • underlay ip : 10.0.50.106, 10.0.50.107
  • overlay ip : 200.200.201.180, 200.200.201.181
[root@computesriov-1 ~]# tcpdump -eeni eno5 | grep -A1 'vni 71' 
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eno5, link-type EN10MB (Ethernet), capture size 262144 bytes
16:14:34.488649 14:02:ec:8a:0e:18 > 14:02:ec:8a:09:74, ethertype IPv4 (0x0800), length 148: 10.0.50.106.33544 > 10.0.50.107.4789: VXLAN, flags [I] (0x08), vni 71
fa:16:3e:3e:b2:8d > fa:16:3e:62:ff:59, ethertype IPv4 (0x0800), length 98: 200.200.201.180 > 200.200.201.181: ICMP echo request, id 3654, seq 104, length 64
16:14:34.488784 14:02:ec:8a:09:74 > 14:02:ec:8a:0e:18, ethertype IPv4 (0x0800), length 148: 10.0.50.107.45309 > 10.0.50.106.4789: VXLAN, flags [I] (0x08), vni 71
fa:16:3e:62:ff:59 > fa:16:3e:3e:b2:8d, ethertype IPv4 (0x0800), length 98: 200.200.201.181 > 200.200.201.180: ICMP echo reply, id 3654, seq 104, length 64
underlay ip : 10.0.50.106, 10.0.50.107 overlay ip : 200.200.201.180, 200.200.201.181

 

반응형