ubuntu与别人共享路由上宽带的问题
ip是通过路由器的dhcp分配的。在windows下,一切正常,用ubuntu启动,apt-get和eva(QQ)可以正常使用。
但是其它TCP程序全部不能上网,包括http, ssh, telnet, ping, 解析不了域名,或者识别不了主机,等等。
在windows下用vmware跑linux的时候,使用nat即通过windows出去的方式,正常上网,通过bridge直接桥接到路由器的物理网络的方式,跟上面一样。
root@ubuntu ~
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
root@ubuntu ~
# host 220.181.28.42
;; reply from unexpected source: 61.144.56.101#53, expected 192.168.1.1#53
;; reply from unexpected source: 61.144.56.101#53, expected 192.168.1.1#53
;; connection timed out; no servers could be reached
root@ubuntu ~
# host www.163.com
;; reply from unexpected source: 61.144.56.101#53, expected 192.168.1.1#53
;; reply from unexpected source: 61.144.56.101#53, expected 192.168.1.1#53
;; connection timed out; no servers could be reached
root@ubuntu ~
# traceroute 220.181.28.42
traceroute to 220.181.28.42 (220.181.28.42), 30 hops max, 40 byte packets
1* * *
2* * *
3* * *
4*
root@ubuntu ~
# telnet zixia.net
telnet: could not resolve zixia.net/telnet: Temporary failure in name resolved
root@ubuntu ~
# ping www.163.com
ping: unknown host www.163.com
同时apt-get正常,而且也没有域名解析不出的问题,郁闷了……
解压缩后将会空出 36.9kB 的空间。
您希望继续执行吗?[Y/n]
获取:1 http://ubuntu.cn99.com edgy/main hwdata 0.177-1 [216kB]
获取:2 http://ubuntu.cn99.com edgy/main installation-report 2.17ubuntu1 [14.0kB
获取:3 http://ubuntu.cn99.com edgy/main iso-codes 0.52-1 [1449kB]
48% [3 iso-codes 747646/1449kB 51%]
页:
[1]