日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

linux 无线网卡ping不同,请教高手,本地网卡和无线网卡均不能ping通网关

發布時間:2024/1/8 46 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux 无线网卡ping不同,请教高手,本地网卡和无线网卡均不能ping通网关 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

changlee 于 2008-03-11 10:25:23發表:

詳細的上網方式是通過局域網網關連上internet。現在需要解決的問題就是ping通網關。網關為無線的AP,可通過網線和無線連接。現在本地網卡已能和ap連接,但是無線仍然不能。本地網卡為eth0,無線為eth1

[root@localhost ~]# ifconfig eth0 down

[root@localhost ~]# ifconfig eth1

eth1 Link encap:Ethernet HWaddr 00:16:6F:6A:70:75

BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:25012 errors:0 dropped:12 overruns:0 frame:0

TX packets:2402 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Interrupt:18 Base address:0xe000 Memory:dfcff000-dfcfffff

[root@localhost ~]# ifconfig eth1 up

[root@localhost ~]# ifconfig

eth1 Link encap:Ethernet HWaddr 00:16:6F:6A:70:75

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:25212 errors:0 dropped:12 overruns:0 frame:0

TX packets:2436 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Interrupt:18 Base address:0xe000 Memory:dfcff000-dfcfffff

eth1:0 Link encap:Ethernet HWaddr 00:16:6F:6A:70:75

inet addr:192.168.101.6 Bcast:192.168.101.255 Mask:255.255.255.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

Interrupt:18 Base address:0xe000 Memory:dfcff000-dfcfffff

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:6143 errors:0 dropped:0 overruns:0 frame:0

TX packets:6143 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:3695444 (3.5 MiB) TX bytes:3695444 (3.5 MiB)

[root@localhost ~]# ping 192.168.101.1

PING 192.168.101.1 (192.168.101.1) 56(84) bytes of data.

From 192.168.101.6 icmp_seq=2 Destination Host Unreachable

From 192.168.101.6 icmp_seq=3 Destination Host Unreachable

From 192.168.101.6 icmp_seq=4 Destination Host Unreachable

From 192.168.101.6 icmp_seq=6 Destination Host Unreachable

From 192.168.101.6 icmp_seq=7 Destination Host Unreachable

From 192.168.101.6 icmp_seq=8 Destination Host Unreachable

--- 192.168.101.1 ping statistics ---

10 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8999ms

, pipe 3

[root@localhost ~]# ifconfig

eth1 Link encap:Ethernet HWaddr 00:16:6F:6A:70:75

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:12 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Interrupt:18 Base address:0xe000 Memory:dfcff000-dfcfffff

eth1:0 Link encap:Ethernet HWaddr 00:16:6F:6A:70:75

inet addr:192.168.101.6 Bcast:192.168.101.255 Mask:255.255.255.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

Interrupt:18 Base address:0xe000 Memory:dfcff000-dfcfffff

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:6151 errors:0 dropped:0 overruns:0 frame:0

TX packets:6151 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:3696340 (3.5 MiB) TX bytes:3696340 (3.5 MiB)

[root@localhost ~]# ping 192.168.101.1

PING 192.168.101.1 (192.168.101.1) 56(84) bytes of data.

--- 192.168.101.1 ping statistics ---

2 packets transmitted, 0 received, 100% packet loss, time 999ms

總結

以上是生活随笔為你收集整理的linux 无线网卡ping不同,请教高手,本地网卡和无线网卡均不能ping通网关的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。