?? ?? ?? ?? ?? collisions:0 txqueuelen:1000??
?? ?? ?? ?? ?? RX bytes:1982 (1.9 KB) ??TX bytes:4629 (4.6 KB)
wlan0 ?? ?? Link encap:Ethernet ??HWaddr b8:27:eb:89:d9:3a ??
?? ?? ?? ?? ?? UP BROADCAST MULTICAST ??MTU:1500 ??Metric:1
?? ?? ?? ?? ?? RX packets:242 errors:0 dropped:242 overruns:0 frame:0
?? ?? ?? ?? ?? TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
?? ?? ?? ?? ?? collisions:0 txqueuelen:1000??
?? ?? ?? ?? ?? RX bytes:85717 (85.7 KB) ??TX bytes:0 (0.0 B)
route –n查看:
Kernel IP routing table
Destination ?? ?? Gateway ?? ?? ?? ?? Genmask ?? ?? ?? ?? Flags Metric Ref ?? ??Use Iface
0.0.0.0 ?? ?? ?? ?? 192.168.1.1 ?? ?? 0.0.0.0 ?? ?? ?? ?? UG ?? ??100 ?? ??0 ?? ?? ?? ??0 enxb827ebdc8c6f
0.0.0.0 ?? ?? ?? ?? 10.27.145.49 ?? ??0.0.0.0 ?? ?? ?? ?? UG ?? ??700 ?? ??0 ?? ?? ?? ??0 usb0
10.27.145.48 ?? ??0.0.0.0 ?? ?? ?? ?? 255.255.255.248 U ?? ?? 700 ?? ??0 ?? ?? ?? ??0 usb0
169.254.0.0 ?? ?? 0.0.0.0 ?? ?? ?? ?? 255.255.0.0 ?? ?? U ?? ?? 1000 ?? 0 ?? ?? ?? ??0 enxb827ebdc8c6f
192.168.1.0 ?? ?? 0.0.0.0 ?? ?? ?? ?? 255.255.255.0 ?? U ?? ?? 100 ?? ??0 ?? ?? ?? ??0 enxb827ebdc8c6f
此时并不能访问外网,因为默认的目标是通过内网的以太网卡来访问,所以我们把这条路由信息删除:
sudo route del -net 0.0.0.0 enxb827ebdc8c6f
再查看路由表:
Kernel IP routing table
Destination ?? ?? Gateway ?? ?? ?? ?? Genmask ?? ?? ?? ?? Flags Metric Ref ?? ??Use Iface
0.0.0.0 ?? ?? ?? ?? 10.27.145.49 ?? ??0.0.0.0 ?? ?? ?? ?? UG ?? ??700 ?? ??0 ?? ?? ?? ??0 usb0
10.27.145.48 ?? ??0.0.0.0 ?? ?? ?? ?? 255.255.255.248 U ?? ?? 700 ?? ??0 ?? ?? ?? ??0 usb0
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/bofangqi/article-69175-2.html
东海和北海舰队赴西太平洋演习
就是能奈何了
咬了伊拉克还理直气壮的威胁不让人家找帮手打狗
按今天的算有3000