We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5874a53 commit 26da672Copy full SHA for 26da672
securing-application-communication-with-istio/istio.md
@@ -311,7 +311,10 @@ eth0 Link encap:Ethernet HWaddr 16:a0:0d:08:ca:09
311
So my ip address is `10.244.0.9`
312
Now we know the port for the traffic we want to capture is `9080` from the curl above.
313
So tcpdump command will be
314
-`sudo tcpdump -vvv -A -i eth0 '((dst port 9080) and (net 10.244.0.9))'`
+```
315
+IP=$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)
316
+sudo tcpdump -vvv -A -i eth0 '((dst port 9080) and (net $IP))'
317
318
319
### Minikube and Azure
320
0 commit comments