- 论坛徽章:
- 0
|
本帖最后由 iamkey9 于 2011-01-14 14:57 编辑
linux 机器 133.2.10.102
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
133.2.10.100 * 255.255.255.252 U 1 0 0 eth11
link-local * 255.255.0.0 U 1000 0 0 eth11
这个时候从可以从133.2.10.101 ssh连接,开启wifi后获得默认路由, 这个时候从133.2.10.101的ssh就挂了
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
133.2.10.100 * 255.255.255.252 U 1 0 0 eth11
192.168.0.0 * 255.255.255.0 U 2 0 0 eth12
link-local * 255.255.0.0 U 1000 0 0 eth11
default gateway1 0.0.0.0 UG 0 0 0 eth12
怀疑和最后一条默认路由有关系,想求证
1.自动获取的默认路由metric在系统自动分配时候可不可以改?
2.为什么会断网?
解决了,和default route 没关系,wifi开启时候会连带一个开启firewall的脚本,自动reject 所有外部连接 |
|