麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統 > Linux > 正文

虛擬機下Linux無法上網較少見的解法

2024-08-28 00:20:04
字體:
來源:轉載
供稿:網友
今天虛擬機里面的linux上網又遇到了問題,網卡激活時老是提示"Determining IP information for eth0... failed; no link present. Check cable?",終于在網上找到了答案:

我的HOST是winxp2,VM是5.0.0 的

網上的解釋是:
VMware4.5以上和RedHat 9以上之間,網卡驅動有些不兼容:

Redhat 9.0作Guest OS時,用"ifconfig eth0 up"是無法激活虛擬網卡的,總是提示
諸如 "Determining IP information for eth0... failed; no link present. Check cable?"

解決方法是:
以root權限,編輯 /etc/sysconfig/network-scripts/ifcfg-eth N和
/etc/sysconfig/networking/devices/ifcfg-ethN
其中N是數字,比如eth0,

在每個文件中添加:
check_link_down () {
return 1;
}

然后重新激活網卡,不需要重啟就能上網,要是還不能激活,重新啟動虛擬機

虛擬機上的網絡設置如下:
首先HOST是自動分配IP的

C:/Documents and Settings/yhl>ipconfig -all
Windows IP Configuration
Host Name . . . . . . . . . . . . : yhl
Primary Dns Suffix . . . . . . . : unimassystem.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : unimassystem.com
unimassystem.com
Ethernet adapter 本地連接:
Connection-specific DNS Suffix . : unimassystem.com
Description . . . . . . . . . . . : Broadcom 440x 10/100 Integrated Con
roller
Physical Address. . . . . . . . . : 00-0F-1F-46-40-52
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.29
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 10.71.0.10
10.71.0.40
Primary WINS Server . . . . . . . : 10.71.0.10
Secondary WINS Server . . . . . . : 10.71.0.40
Lease Obtained. . . . . . . . . . : 2006年7月7日 7:56:00
Lease Expires . . . . . . . . . . : 2006年7月10日 7:56:00
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.184.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.118.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
C:/Documents and Settings/yhl>
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 欧美性猛交xxx乱大交3蜜桃 | videos高潮 | 亚洲成年人免费网站 | 成年人高清视频在线观看 | 天天碰天天操 | 男男羞羞视频网站国产 | 一级全毛片 | 日本最新免费二区三区 | 成人免费在线视频播放 | 欧美精品亚洲人成在线观看 | 亚洲精品一二三区 | 成人免费网视频 | 黄色网址在线免费 | 午夜影视一区二区 | 日本黄色免费播放 | 欧洲伊人网 | 一本色道久久综合狠狠躁篇适合什么人看 | 在线播放的av网站 | 国产成人综合在线观看 | 91精品国产一区二区三区动漫 | 中文字幕在线不卡视频 | 在线看免费观看av | 澳门一级淫片免费视频 | 日韩大片在线永久观看视频网站免费 | 斗罗破苍穹在线观看免费完整观看 | 在线 日本 制服 中文 欧美 | 成人短视频在线观看免费 | 欧美精品免费一区二区三区 | 中国性xxx | 久久久在线 | 欧美亚洲国产成人 | 久久精品一区二区三区不卡牛牛 | 亚洲爱爱图 | 999插插插 | 看中国一级毛片 | 日日摸夜夜添夜夜添牛牛 | 欧美人成在线视频 | 在线播放黄色片 | 热re91久久精品国产99热 | 亚洲成人免费电影 | 黄色成人小视频 |