SlideShare a Scribd company logo
1 of 12
Vmware NSX T-Shoot
Packet Capture, Trace Flows and Live Logs
By Dhruv Sharma
In today’s session we will discuss about:
Taking Packet
Captures on
Distributed NSX
Firewall
TraceFlows Live Logs
• Packet Capture
Packet Capture
• pktcap-uw --switchport 67108882 --capture VnicTx --ip 12.12.12.2 -o - | tcpdump-uw -enr –
• pktcap-uw --switchport 67108882 --capture PortOutput --ip 12.12.12.2 -o - | tcpdump-uw -enr –
• pktcap-uw --uplink vmnic1 --capture UplinkSndKernel --vni 73729 -o - | tcpdump-uw -enr –
• pktcap-uw --switchport 67108882 --capture PortOutput --ip 12.12.12.2 –o
/vmfs/volumes/datastore1/dhruv.pcap
Capture Points
• Traceflow
• Live Logs
Live Logs
[root@localhost:~] tail var/log/dfwpktlogs.log
2023-06-10T01:10:33.985Z d6f0765e INET6 TERM 2 IN ICMP 130 0 fe80::ffff:ffff:ffff:ffff->ff02::1 1/0 76/0
2023-06-10T01:10:34.985Z d6f0765e INET6 TERM 2 OUT ICMP 143 0 fe80::3584:27ce:269c:bbfa->ff02::16 1/0
76/0
2023-06-10T01:11:10.594Z d6f0765e INET match PASS 2024 OUT 114 ICMP 13.13.13.1->12.12.12.2
2023-06-10T01:11:14.033Z d6f0765e INET TERM 2 IN PROTO 2 0.0.0.0->224.0.0.1 1/0 36/0
2023-06-10T01:12:19.094Z d6f0765e INET match PASS 2 IN 36 PROTO 2 0.0.0.0->224.0.0.1
2023-06-10T01:12:19.095Z d6f0765e INET6 match PASS 2 IN 76 ICMP fe80::ffff:ffff:ffff:ffff->ff02::1
2023-06-10T01:12:19.100Z d6f0765e INET6 match PASS 2 OUT 76 ICMP fe80::3584:27ce:269c:bbfa->ff02::16
2023-06-10T01:12:39.145Z d6f0765e INET6 TERM 2 OUT ICMP 143 0 fe80::3584:27ce:269c:bbfa->ff02::16 1/0
76/0
2023-06-10T01:12:41.146Z d6f0765e INET6 TERM 2 IN ICMP 130 0 fe80::ffff:ffff:ffff:ffff->ff02::1 1/0 76/0
2023-06-10T01:13:19.194Z d6f0765e INET TERM 2 IN PROTO 2 0.0.0.0->224.0.0.1 1/0 36/0
Reference
• https://www.techrepublic.com/article/vmware-nsx-the-smart-
persons-guide/
• https://www.youtube.com/watch?v=qi7pMeBSa5U
NSX_Troubleshooting.pptx

More Related Content

Similar to NSX_Troubleshooting.pptx

NanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for WindowsNanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for Windows
Jongsoo Jeong
 
BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...
BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...
BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...
aaajjj4
 

Similar to NSX_Troubleshooting.pptx (20)

Open stack pike-devstack-tutorial
Open stack pike-devstack-tutorialOpen stack pike-devstack-tutorial
Open stack pike-devstack-tutorial
 
Rac 12c optimization
Rac 12c optimizationRac 12c optimization
Rac 12c optimization
 
hacking-embedded-devices.pptx
hacking-embedded-devices.pptxhacking-embedded-devices.pptx
hacking-embedded-devices.pptx
 
Triển khai vpn client to site qua router gpon
Triển khai vpn client to site qua router gponTriển khai vpn client to site qua router gpon
Triển khai vpn client to site qua router gpon
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
 
NanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for WindowsNanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for Windows
 
Fast Userspace OVS with AF_XDP, OVS CONF 2018
Fast Userspace OVS with AF_XDP, OVS CONF 2018Fast Userspace OVS with AF_XDP, OVS CONF 2018
Fast Userspace OVS with AF_XDP, OVS CONF 2018
 
Training Slides: Intermediate 201: Single and Multi-Site Tungsten Clustering ...
Training Slides: Intermediate 201: Single and Multi-Site Tungsten Clustering ...Training Slides: Intermediate 201: Single and Multi-Site Tungsten Clustering ...
Training Slides: Intermediate 201: Single and Multi-Site Tungsten Clustering ...
 
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
 
FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018
 
Manchester OpenStack Meetup: I have an OpenStack Cloud, now what? OpenStack 101
Manchester OpenStack Meetup: I have an OpenStack Cloud, now what? OpenStack 101Manchester OpenStack Meetup: I have an OpenStack Cloud, now what? OpenStack 101
Manchester OpenStack Meetup: I have an OpenStack Cloud, now what? OpenStack 101
 
Ovs perf
Ovs perfOvs perf
Ovs perf
 
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
 
Training Slides: Advanced 302: Performing Schema Changes in a Multi-Site/Mult...
Training Slides: Advanced 302: Performing Schema Changes in a Multi-Site/Mult...Training Slides: Advanced 302: Performing Schema Changes in a Multi-Site/Mult...
Training Slides: Advanced 302: Performing Schema Changes in a Multi-Site/Mult...
 
BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...
BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...
BRKDCT-3144 - Advanced - Troubleshooting Cisco Nexus 7000 Series Switches (20...
 
How to debug ocfs2 hang problem
How to debug ocfs2 hang problemHow to debug ocfs2 hang problem
How to debug ocfs2 hang problem
 
Reverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande ModemReverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande Modem
 
100Gbps OpenStack For Providing High-Performance NFV
100Gbps OpenStack For Providing High-Performance NFV100Gbps OpenStack For Providing High-Performance NFV
100Gbps OpenStack For Providing High-Performance NFV
 
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
 
Replatforming Legacy Packaged Applications: Block-by-Block with Minecraft
Replatforming Legacy Packaged Applications: Block-by-Block with MinecraftReplatforming Legacy Packaged Applications: Block-by-Block with Minecraft
Replatforming Legacy Packaged Applications: Block-by-Block with Minecraft
 

More from Dhruv Sharma

More from Dhruv Sharma (18)

RAVPN EAP-IKEv2 VPN.pptx
RAVPN EAP-IKEv2 VPN.pptxRAVPN EAP-IKEv2 VPN.pptx
RAVPN EAP-IKEv2 VPN.pptx
 
Load Balance with NSX-T.pptx
Load Balance with NSX-T.pptxLoad Balance with NSX-T.pptx
Load Balance with NSX-T.pptx
 
ASA VPN_Certificate authentication_ISE Authorization.pptx
ASA VPN_Certificate authentication_ISE Authorization.pptxASA VPN_Certificate authentication_ISE Authorization.pptx
ASA VPN_Certificate authentication_ISE Authorization.pptx
 
Setting up CDP (Cisco Discovery Protocol) between Cisco IOS and VMware Virtua...
Setting up CDP (Cisco Discovery Protocol) between Cisco IOS and VMware Virtua...Setting up CDP (Cisco Discovery Protocol) between Cisco IOS and VMware Virtua...
Setting up CDP (Cisco Discovery Protocol) between Cisco IOS and VMware Virtua...
 
Routebased-Policybased VPN.pptx
Routebased-Policybased VPN.pptxRoutebased-Policybased VPN.pptx
Routebased-Policybased VPN.pptx
 
Ansible Network Automation session1
Ansible Network Automation session1Ansible Network Automation session1
Ansible Network Automation session1
 
Setting up Cisco WSA Proxy in Transparent and Explicit Mode
Setting up Cisco WSA Proxy in Transparent and Explicit ModeSetting up Cisco WSA Proxy in Transparent and Explicit Mode
Setting up Cisco WSA Proxy in Transparent and Explicit Mode
 
Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0
 
Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE
 
Get vpn multicast for CCIE Security
Get vpn multicast for CCIE SecurityGet vpn multicast for CCIE Security
Get vpn multicast for CCIE Security
 
Route tags with OSPF
Route tags with OSPFRoute tags with OSPF
Route tags with OSPF
 
Aci vmware integration_youtube
Aci vmware integration_youtubeAci vmware integration_youtube
Aci vmware integration_youtube
 
Introduction to nexux from zero to Hero
Introduction to nexux  from zero to HeroIntroduction to nexux  from zero to Hero
Introduction to nexux from zero to Hero
 
Cisco umbrella youtube
Cisco umbrella youtubeCisco umbrella youtube
Cisco umbrella youtube
 
GTM vs AWS Route 53 with Cisco umbrella
GTM vs AWS Route 53 with Cisco umbrellaGTM vs AWS Route 53 with Cisco umbrella
GTM vs AWS Route 53 with Cisco umbrella
 
Setting up VPN between F5 LTM & ASA
Setting up VPN between F5 LTM & ASASetting up VPN between F5 LTM & ASA
Setting up VPN between F5 LTM & ASA
 
Unquoted service path exploitation
Unquoted service path exploitationUnquoted service path exploitation
Unquoted service path exploitation
 
Getting started kali linux
Getting started kali linuxGetting started kali linux
Getting started kali linux
 

Recently uploaded

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Recently uploaded (20)

FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 

NSX_Troubleshooting.pptx

  • 1. Vmware NSX T-Shoot Packet Capture, Trace Flows and Live Logs By Dhruv Sharma
  • 2. In today’s session we will discuss about: Taking Packet Captures on Distributed NSX Firewall TraceFlows Live Logs
  • 4. Packet Capture • pktcap-uw --switchport 67108882 --capture VnicTx --ip 12.12.12.2 -o - | tcpdump-uw -enr – • pktcap-uw --switchport 67108882 --capture PortOutput --ip 12.12.12.2 -o - | tcpdump-uw -enr – • pktcap-uw --uplink vmnic1 --capture UplinkSndKernel --vni 73729 -o - | tcpdump-uw -enr – • pktcap-uw --switchport 67108882 --capture PortOutput --ip 12.12.12.2 –o /vmfs/volumes/datastore1/dhruv.pcap Capture Points
  • 5.
  • 7.
  • 8.
  • 10. Live Logs [root@localhost:~] tail var/log/dfwpktlogs.log 2023-06-10T01:10:33.985Z d6f0765e INET6 TERM 2 IN ICMP 130 0 fe80::ffff:ffff:ffff:ffff->ff02::1 1/0 76/0 2023-06-10T01:10:34.985Z d6f0765e INET6 TERM 2 OUT ICMP 143 0 fe80::3584:27ce:269c:bbfa->ff02::16 1/0 76/0 2023-06-10T01:11:10.594Z d6f0765e INET match PASS 2024 OUT 114 ICMP 13.13.13.1->12.12.12.2 2023-06-10T01:11:14.033Z d6f0765e INET TERM 2 IN PROTO 2 0.0.0.0->224.0.0.1 1/0 36/0 2023-06-10T01:12:19.094Z d6f0765e INET match PASS 2 IN 36 PROTO 2 0.0.0.0->224.0.0.1 2023-06-10T01:12:19.095Z d6f0765e INET6 match PASS 2 IN 76 ICMP fe80::ffff:ffff:ffff:ffff->ff02::1 2023-06-10T01:12:19.100Z d6f0765e INET6 match PASS 2 OUT 76 ICMP fe80::3584:27ce:269c:bbfa->ff02::16 2023-06-10T01:12:39.145Z d6f0765e INET6 TERM 2 OUT ICMP 143 0 fe80::3584:27ce:269c:bbfa->ff02::16 1/0 76/0 2023-06-10T01:12:41.146Z d6f0765e INET6 TERM 2 IN ICMP 130 0 fe80::ffff:ffff:ffff:ffff->ff02::1 1/0 76/0 2023-06-10T01:13:19.194Z d6f0765e INET TERM 2 IN PROTO 2 0.0.0.0->224.0.0.1 1/0 36/0