运行 route 命令,你会看到一组路由设置的输出
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
其中,default那条路由对应的IP地址 -- 本例中是 192.168.0.1就是无线路由器地址。