再问个magic1.2pre6上网的问题
宽带上网magic linux 1.2 pre6
猫是普天的 铁通的服务
拨号一切正常 已经分到ip
但是就是上不了
ping 自己 127..... 192...... 猫 192.... 同宿舍其他的192....
ping自己分到的ip 222.... 都是通的
但如果ping外网就 提示未知路径
怎么解决呢?
ps:本来在网络版发了贴了 ,可没人有意见 就在这请教了 你的dns设了没有(可以在windows下拨号后用ipconfig /all查看)?在/etc/resolv.conf里设置。格式如下:
nameserver 61.128.128.68
nameserver 61.128.192.68 ping 外网域名不通, ping IP也不通吗?是不是DNS的问题?另外,运行route看看路由表。 ping ip也不通 未知路径应该不是dns的问题
我去检测下 把相关信息贴出来 ./ip route拨号前
192.168.1.0/24 dev eth0proto kernelscope linksrc 192.168.1.3
169.254.0.0/16 dev eth0scope link
127.0.0.0/8 dev loscope link
default via 192.168.1.1 dev eth0
# ./ip route
拨号后
222.52.132.1 dev ppp0proto kernelscope linksrc 222.52.134.40
192.168.1.0/24 dev eth0proto kernelscope linksrc 192.168.1.3
169.254.0.0/16 dev eth0scope link
127.0.0.0/8 dev loscope link
default via 192.168.1.1 dev eth0
./ip route
222.52.132.1 dev ppp0proto kernelscope linksrc 222.52.132.114
192.168.1.0/24 dev eth0proto kernelscope linksrc 192.168.1.3
169.254.0.0/16 dev eth0scope link
127.0.0.0/8 dev loscope link
default via 192.168.1.1 dev eth0
./ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:f8:8f:3f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/24 brd 255.255.255.255 scope global eth0
inet6 fe80::2e0:4cff:fef8:8f3f/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen 3
link/ppp
inet 222.52.132.114 peer 222.52.132.1/32 scope global ppp0
ping 202.193.xxx.xxx
bytes of data.
From 192.168.1.1 icmp_seq=0 Destination Host Unreachable
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable
From 192.168.1.1 icmp_seq=2 Destination Host Unreachable
From 192.168.1.1 icmp_seq=3 Destination Host Unreachable
From 192.168.1.1 icmp_seq=4 Destination Host Unreachable 贴图是用Ksdl拨号后的窗口 路由错误,删除所有网卡里面的网关设置…… 删除后还有什么要做的么?? thx...
我找到解决方法了
添麻烦了 老问题:oops:
页:
[1]