Quantcast
Channel: VIRL
Viewing all articles
Browse latest Browse all 1811

Wireshark

$
0
0

@jbiggs1357 wrote:

I have read a lot of "how do we...???" and watched all the videos, but I am having no luck getting Wireshark to work with VIRL and it is pretty frustrating. I followed the attached VIRL video for Windows Wireshark...see my batch file below:

@echo off
REM start a remote capture session using the provided tap interface
REM use list.py script on VIRL host to identify correct tap interface
REM adapt path to Wireshark and Putty / plink.exe binaries
REM
REM rschmied@cisco.com
if -%1-==-- echo tap interface name not provided & exit /b
echo %1 | findstr /r "tap[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]-[0-9a-f][0-9a-f]" >NUL
if errorlevel 1 (
echo %1 does not look like a tap interface
) else (
set HOST=192.168.23.128
set USER=virl
"\Program Files (x86)\PuTTY\plink.exe" -T %USER%@%HOST% sudo stdbuf -o0 tcpdump -w- -s0 -ni %1 | "\Program Files\Wireshark\Wireshark.exe" -k -i -
)

But when fire it off, wireshark starts but I get a "Network Error" popup in my command prompt window and nothing shows up .......Can someone tell me or show me the best way to do this so I can really get the most out of this environment. Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1811

Trending Articles