日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

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

發布時間:2024/1/8 linux 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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通网关的全部內容,希望文章能夠幫你解決所遇到的問題。

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