亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
123下一頁
最近訪問板塊 發(fā)新帖
查看: 14803 | 回復(fù): 26
打印 上一主題 下一主題

LINUX虛擬機(jī)能解析DNS但PING不通外網(wǎng) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2011-01-13 14:59 |只看該作者 |倒序?yàn)g覽
系統(tǒng) CentOS5.5
[root@sk1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:297:55:28
IPADDR=192.168.0.244
GATEWAY=192.168.0.254
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

[root@sk1 ~]# ping www.qq.com
PING www.qq.com (119.147.15.13) 56(84) bytes of data.

--- www.qq.com ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 5999ms

虛擬機(jī)與本機(jī)橋接
本機(jī)網(wǎng)絡(luò)基本信息

Ethernet adapter 本地連接:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
        Physical Address. . . . . . . . . : C8-0A-A9-8B-5E-82
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.6
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.254
        DHCP Server . . . . . . . . . . . : 192.168.0.254
        DNS Servers . . . . . . . . . . . : 202.96.134.133
                                            202.96.128.166
        Lease Obtained. . . . . . . . . . : 2011年1月13日 9:44:19
        Lease Expires . . . . . . . . . . : 2011年1月14日 9:44:19

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2011-01-13 15:12 |只看該作者
很有可能是虛擬機(jī)的問題,我以前也遇到過。

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2011-01-13 15:15 |只看該作者
先PING 網(wǎng)關(guān)或真機(jī)IP試試能不能通,看哪里出問題!

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2011-01-13 15:18 |只看該作者
root@sk1 ~]# ping 192.168.0.254
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=128 time=15.3 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=128 time=1.61 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=128 time=0.836 ms
PING網(wǎng)關(guān)是沒有問題的

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2011-01-13 15:21 |只看該作者
回復(fù) 1# shenkangxyz


    你虛擬機(jī)DNS 設(shè)置了嗎?     你隨便PING個(gè)外網(wǎng)的IP 你試試!

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2011-01-13 15:28 |只看該作者
汗  
[root@sk1 ~]# ping www.qq.com
PING www.qq.com (119.147.15.13) 56(84) bytes of data.

--- www.qq.com ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 5999ms

沒有DNS  怎么可能解析到IP
[root@sk1 ~]# ping 119.147.15.13
PING 119.147.15.13 (119.147.15.13) 56(84) bytes of data.

--- 119.147.15.13 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9041ms

[root@sk1 ~]# cat /etc/resolv.conf
search com
nameserver 192.168.0.254

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2011-01-13 15:36 |只看該作者
哇   我試了一下  竟然打開QQ的首頁了

ping 是可以設(shè)置禁止和啟用!  這個(gè)怎么設(shè)置???

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2011-01-13 15:40 |只看該作者
回復(fù) 7# shenkangxyz


    PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=128 time=15.3 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=128 time=1.61 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=128 time=0.836 ms


不過看你這 可以用ping

但是time 值怎么變化那么大

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2011-01-13 15:44 |只看該作者
root@sk1 ~]# ping 192.168.0.254
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=128 time=5.97 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=128 time=6.23 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=128 time=0.948 ms
64 bytes from 192.168.0.254: icmp_seq=4 ttl=128 time=0.623 ms
64 bytes from 192.168.0.254: icmp_seq=5 ttl=128 time=0.900 ms
64 bytes from 192.168.0.254: icmp_seq=6 ttl=128 time=0.892 ms
64 bytes from 192.168.0.254: icmp_seq=7 ttl=128 time=0.646 ms
64 bytes from 192.168.0.254: icmp_seq=8 ttl=128 time=1.16 ms
64 bytes from 192.168.0.254: icmp_seq=9 ttl=128 time=0.865 ms
64 bytes from 192.168.0.254: icmp_seq=10 ttl=128 time=9.48 ms
64 bytes from 192.168.0.254: icmp_seq=11 ttl=128 time=0.864 ms
64 bytes from 192.168.0.254: icmp_seq=12 ttl=128 time=0.859 ms
64 bytes from 192.168.0.254: icmp_seq=13 ttl=128 time=0.874 ms
64 bytes from 192.168.0.254: icmp_seq=14 ttl=128 time=0.875 ms
64 bytes from 192.168.0.254: icmp_seq=15 ttl=128 time=0.841 ms
64 bytes from 192.168.0.254: icmp_seq=16 ttl=128 time=0.882 ms
64 bytes from 192.168.0.254: icmp_seq=17 ttl=128 time=0.648 ms
64 bytes from 192.168.0.254: icmp_seq=18 ttl=128 time=0.877 ms
64 bytes from 192.168.0.254: icmp_seq=19 ttl=128 time=8.52 ms
^C64 bytes from 192.168.0.254: icmp_seq=20 ttl=128 time=0.888 ms
64 bytes from 192.168.0.254: icmp_seq=21 ttl=128 time=0.917 ms
64 bytes from 192.168.0.254: icmp_seq=22 ttl=128 time=1.65 ms
也還算正常吧

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2011-01-13 15:46 |只看該作者
回復(fù) 9# shenkangxyz


    真機(jī)ping  外網(wǎng) 沒事吧?
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP