Linux Networking: How to Identify and Switch the Internet Interface
thelinuxtv
0:00 / 0:00
Linux Networking: How to Identify and Switch the Internet Interface
473 просмотра · 3 недели назад
thelinuxtv
179 подписчиков
473 просмотра · 3 недели назад
Ever wondered which network interface your Linux system is actually using to access the internet when you have multiple interface?
In this practice demonstration, we explore Linux routing and learn how to:
Use "route -n" to view the routing table
Identify the default route (0.0.0.0)
Determine which interface is being used for Internet traffic
Use "ip route" to inspect modern Linux routing
Use "ip route get 8.8.8.8" to see exactly which interface Linux will use
Remove the existing default route
Configure another interface as the default Internet route
Understand the relationship between an interface, gateway, routing table, and the internet