7 Replies Latest reply on Feb 1, 2018 12:05 AM by tanurkov

    Capture packet from VTEP via tcpdump-uw

    princox Novice
    VMware Employees

      Hi, Everyone

      As I mentioned in the title, I'd like to capture packets from vmk3(VTEP interface), however it could not be possible as below;

      So that I found some commmand and this server has not listed up in "tcpdump-uw -D" command as below.

       

      What I try to do is, capturing packets for vxlan. (including Outer/Inner IP/MAC).

      Would you give me some help? please

      Thanks alot!

       

      [root@esxcomp-01a:/tmp/jeff] tcpdump-uw -i vmk3 -w vxlan_tcpdump.pcap

      tcpdump-uw: SIOCGIFHWADDR: Invalid argument

      [root@esxcomp-01a:/tmp/jeff] tcpdump-uw -D

      1.vmk0

      2.vmk1

      3.lo0

      [root@esxcomp-01a:/tmp/jeff]

      [root@esxcomp-01a:/tmp/jeff] esxcli network ip interface ipv4 get

      Name  IPv4 Address    IPv4 Netmask   IPv4 Broadcast   Address Type  DHCP DNS

      ----  --------------  -------------  ---------------  ------------  --------

      vmk0  192.168.120.51  255.255.255.0  192.168.120.255  STATIC           false

      vmk1  10.20.20.51     255.255.255.0  10.20.20.255     STATIC           false

      vmk3  192.168.110.83  255.255.255.0  192.168.110.255  STATIC           false

      vmk2  192.168.121.51  255.255.255.0  192.168.121.255  STATIC           false