ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.137.211 netmask 255.255.255.0 broadcast 192.168.137.255
inet6 fe80::2f2c:7be5:375e:ab75 prefixlen 64 scopeid 0x20<link>
ether b2:95:bd:af:37:6a txqueuelen 1000 (Ethernet)
RX packets 83968 bytes 5112814 (5.1 MB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 1125 bytes 225821 (225.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 27
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1843 bytes 241855 (241.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1843 bytes 241855 (241.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.9.44 netmask 255.255.252.0 broadcast 192.168.11.255
inet6 fe80::3613:62da:544:b221 prefixlen 64 scopeid 0x20<link>
ether 08:fb:ea:e8:89:2a txqueuelen 1000 (Ethernet)
RX packets 103982 bytes 19870150 (19.8 MB)
RX errors 0 dropped 1951 overruns 0 frame 0
TX packets 2291 bytes 443787 (443.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sudo ip route
default via 192.168.137.1 dev eth0 proto static metric 100
default via 192.168.8.1 dev wlan0 proto dhcp metric 600
192.168.8.0/22 dev wlan0 proto kernel scope link src 192.168.9.44 metric 600
192.168.137.0/24 dev eth0 proto kernel scope link src 192.168.137.250 metric 100
192.168.137.0/24 dev eth0 proto kernel scope link src 192.168.137.211 metric 100
相似问题