- 论坛徽章:
- 0
|
原帖由 枫影谁用了 于 2005-11-25 16:56 发表
先停止网卡,再改mac.
然后拔号。
看了一下iptables好像没有看到问题。route也没发现问题。
这样吧,你贴一下你的配制文件。
你在终端执行这个命令把结果贴贴:
cat /etc/sysconfig/network-scripts/ifcfg ...
下面是我照你说的,请看!
[root@localhost rp-pppoe-3.7]# pppoe-start
... Connected!
[root@localhost rp-pppoe-3.7]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:50:8d:5d:a0:6f
BOOTPROTO=dialup
ONBOOT=yes
[root@localhost rp-pppoe-3.7]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
[root@localhost rp-pppoe-3.7]# cat /etc/resolv.conf
nameserver 219.145.96.193
nameserver 219.145.96.193
[root@localhost rp-pppoe-3.7]# ping 219.145.96.193
PING 219.145.96.193 (219.145.96.193) 56(84) bytes of data.
64 bytes from 219.145.96.193: icmp_seq=1 ttl=64 time=27.4 ms
64 bytes from 219.145.96.193: icmp_seq=2 ttl=64 time=27.9 ms
64 bytes from 219.145.96.193: icmp_seq=3 ttl=64 time=27.6 ms
64 bytes from 219.145.96.193: icmp_seq=4 ttl=64 time=26.1 ms
64 bytes from 219.145.96.193: icmp_seq=5 ttl=64 time=27.4 ms
64 bytes from 219.145.96.193: icmp_seq=6 ttl=64 time=27.2 ms
64 bytes from 219.145.96.193: icmp_seq=7 ttl=64 time=27.4 ms
64 bytes from 219.145.96.193: icmp_seq=8 ttl=64 time=27.3 ms
64 bytes from 219.145.96.193: icmp_seq=9 ttl=64 time=32.1 ms
64 bytes from 219.145.96.193: icmp_seq=10 ttl=64 time=28.7 ms
64 bytes from 219.145.96.193: icmp_seq=11 ttl=64 time=27.9 ms
64 bytes from 219.145.96.193: icmp_seq=12 ttl=64 time=27.6 ms
64 bytes from 219.145.96.193: icmp_seq=13 ttl=64 time=27.0 ms
64 bytes from 219.145.96.193: icmp_seq=14 ttl=64 time=28.6 ms
64 bytes from 219.145.96.193: icmp_seq=15 ttl=64 time=27.0 ms
64 bytes from 219.145.96.193: icmp_seq=16 ttl=64 time=28.1 ms
64 bytes from 219.145.96.193: icmp_seq=17 ttl=64 time=27.2 ms
64 bytes from 219.145.96.193: icmp_seq=18 ttl=64 time=27.1 ms
64 bytes from 219.145.96.193: icmp_seq=19 ttl=64 time=26.3 ms
64 bytes from 219.145.96.193: icmp_seq=20 ttl=64 time=27.7 ms
64 bytes from 219.145.96.193: icmp_seq=21 ttl=64 time=27.3 ms
64 bytes from 219.145.96.193: icmp_seq=22 ttl=64 time=27.9 ms
64 bytes from 219.145.96.193: icmp_seq=23 ttl=64 time=27.8 ms
64 bytes from 219.145.96.193: icmp_seq=24 ttl=64 time=26.5 ms
64 bytes from 219.145.96.193: icmp_seq=25 ttl=64 time=30.8 ms
--- 219.145.96.193 ping statistics ---
25 packets transmitted, 25 received, 0% packet loss, time 24240ms
rtt min/avg/max/mdev = 26.197/27.807/32.165/1.268 ms
[root@localhost rp-pppoe-3.7]# |
|