|
发表于 2005-6-16 11:19:51
|
显示全部楼层
[root@eddie root]# mii-tool
eth0: no link
eth1: negotiated 100baseTx-FD flow-control, link ok
[root@eddie root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:07:E9:1F:70:C2
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:3 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:126 (126.0 b)
Interrupt:11 Base address:0xc000 Memory:ed201000-ed201038
eth1 Link encap:Ethernet HWaddr 000:B7:18:B9:AE
inet addr:172.16.248.91 Bcast:172.16.248.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20280 errors:0 dropped:0 overruns:0 frame:0
TX packets:13963 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:14259175 (13.5 Mb) TX bytes:1845127 (1.7 Mb)
Interrupt:5 Base address:0xc400 Memory:ed200000-ed200038
lo Link encapocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:74682 errors:0 dropped:0 overruns:0 frame:0
TX packets:74682 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5359573 (5.1 Mb) TX bytes:5359573 (5.1 Mb)
[root@eddie root]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.102 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.061 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.060 ms
网卡已经激活,就算没有网线,本机网卡和ip也是激活的,你ping本机网卡当然可以ping通。 |
|