Monday, May 2, 2016

Linux - Check which network card are used to connect internet network

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.8.223.254    0.0.0.0         UG    600    0        0 wlp2s0
10.8.216.0      0.0.0.0         255.255.248.0   U     600    0        0 wlp2s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 virbr0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
192.168.240.99  10.8.223.254    255.255.255.255 UGH   600    0        0 wlp2s0

No comments:

Post a Comment