当前位置: 技术问答>linux和unix
rh9下adsl上网问题
来源: 互联网 发布时间:2015-05-27
本文导语: ip:192.168.1.4 gateway:192.168.1.1(modem的ip) 配置pppoe /sbin/adsl-setup 连接 /sbin/ifup ppp0 查看连接状态 /sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0 得到以下信息 Note: You have enabled demand-connection; adsl-status may be inaccua...
ip:192.168.1.4
gateway:192.168.1.1(modem的ip)
配置pppoe
/sbin/adsl-setup
连接
/sbin/ifup ppp0
查看连接状态
/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0
得到以下信息
Note: You have enabled demand-connection; adsl-status may be inaccuate
adsl-status: Link is up and running on interface ppp0
ppp0 Link encap: Point-to-Point Procotol
inet addr:220.173.228.28 P-t-P:10.1.1.1 Mask:255.255.255.255
UP POINTPOINT RUNNING MULTICAST MFU:1492 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1502(1.4kb) Tx bytes:30(30.0b)
这应该是连接上了,我ping 220.173.228.28可以,ping电信的dns却出现目的地无法到达的提示,这应该怎么办?先谢了
gateway:192.168.1.1(modem的ip)
配置pppoe
/sbin/adsl-setup
连接
/sbin/ifup ppp0
查看连接状态
/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0
得到以下信息
Note: You have enabled demand-connection; adsl-status may be inaccuate
adsl-status: Link is up and running on interface ppp0
ppp0 Link encap: Point-to-Point Procotol
inet addr:220.173.228.28 P-t-P:10.1.1.1 Mask:255.255.255.255
UP POINTPOINT RUNNING MULTICAST MFU:1492 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1502(1.4kb) Tx bytes:30(30.0b)
这应该是连接上了,我ping 220.173.228.28可以,ping电信的dns却出现目的地无法到达的提示,这应该怎么办?先谢了
|
拨号的网卡,不用指定IP;DNS设了吗?是不是路由加得有问题?
没有设置代理吧?看看你的/etc/rc.local或route add什么的!!!
没有设置代理吧?看看你的/etc/rc.local或route add什么的!!!