In this video, I'll tell you a bit about utilities that you can use for troubleshooting.
So first, you might want to verify your connection.
How do you do that?
Well, the ping command.
We have seen it on a couple of occasions already.
It does have a few interesting options, like ping minus C4.
Minus C is for count, so this will send four packets, and then it stops.
Because if you don't tell it when to stop, it will continue forever until it is interrupted.
You can also use ping, ping 6, to ping an IPv6 address.
And when you use ping 6 on a link local address, you must include the nickname in the command,
like ping 6 ff02 colon colon 1 percent ens 33.
Then you can troubleshoot routing as well.
IP route, as we have already seen, prints the routing table.
An IP minus 6 route is showing the IPv6 routing table.
Then there is a trace path utility.
Trace path to example.com or whatever you want is showing the entire network path.
And trace path 6 is doing the same, and as you have guessed, for IPv6.
You might also like SS, which is to analyze socket statistics.
Use SS minus TU for TCP and UDP information, or SS minus TUNAP for a little bit more information.
Let me show you.
So the tools that I want to show you here are trace path,
and let's do a trace path to google.com.
And there you can see the entire path that was found.
This is not so very interesting, and that is because often filtering applies.
Trace path requires your routers between your local host and the destination to reveal information.
And if you see there's no reply, no reply, no reply, well, it's sad,
but it means that no specific information could be displayed.
So theoretically, it's an interesting thing, but in practice, it's not always that good.
SS is convenient, but that is more about socket statistics,
and socket is about services that are running on your system.
TU is for TCP and UDP.
Make that TUNA or TUNAP, where you can see a list of all the ports that are currently open
and which addresses they are listed on.
And that's all for now.
Let's move forward and do the lab.