Maîtrise le réseau sous WSL2 : IP, localhost, troubleshooting

Comprends l’architecture réseau de WSL2 :

  • ip addr show eth0 → ton IP Linux
  • localhost magique pour accéder aux serveurs Linux depuis Windows
  • /etc/resolv.conf et problèmes VPN
  • Tester : ping, curl, python -m http.server

Challenge (45–75 min) : Trouve ton IP Linux. Lance un petit serveur web : python3 -m http.server 8000. Ouvre http://localhost:8000 dans ton navigateur Windows. Fais un ping google.com depuis Debian. Installe dnsutils et teste dig google.com. Résous un problème volontaire (ex: débranche WiFi).