|
|

楼主 |
发表于 2008-3-3 16:37:29
|
显示全部楼层
正如你说的
poemsea ~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:FC:77:BA:2E
inet addr:192.168.11.11 Bcast:192.168.11.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1881 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147355 (143.9 Kb) TX bytes:120 (120.0 b)
Interrupt:16 Base address:0x4000
lo Link encap ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
poemsea ~ # pppoe-start
.. Connected!
poemsea ~ # ping www.google.com
ping: unknown host www.google.com
poemsea ~ # pppoe-stop
Killing pppd (5955)
Killing pppoe-connect (5939)
poemsea ~ # ifnames eth0 192.168.11.11 up
ifnames-2.61: cannot open eth0: 没有那个文件或目录
poemsea ~ # ifconfig eth0 192.168.11.11 up
poemsea ~ # pppoe-start
.. Connected!
poemsea ~ # pppoe-stop
Killing pppd (6058)
Killing pppoe-connect (6042)
poemsea ~ # ifconfig eth0 192.168.11.12 up
poemsea ~ # pppoe-start
.. Connected!
poemsea ~ # ping www.google.com
PING www-china.l.google.com (64.233.189.104) 56(84) bytes of data.
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=1 ttl=244 time=43.0 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=2 ttl=244 time=43.0 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=3 ttl=244 time=43.1 ms
--- www-china.l.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 43.069/43.100/43.153/0.037 ms
但是你看见没有我用ifconfig 修改时ip和以前一样(dhcp静态ip)也是不行的
唉是怎么搞的哦,难道我的net配置有问题 |
|