kapok

          垃圾桶,嘿嘿,我藏的這么深你們還能找到啊,真牛!

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            455 隨筆 :: 0 文章 :: 76 評論 :: 0 Trackbacks

          主機windows,虛擬機設置成采用NAT方式.
          guest機采用DHCP自動獲取地址,報錯:說是check cable, no link present.
          解決辦法:



          Getting a DHCP Address in a Red Hat Linux 9.0 Virtual Machine

          When a Red Hat Linux 9.0 guest operating system tries to get a DHCP address, the attempt may fail with an error message that states the link is down. On ESX Server, this happens only if you are using the vlance driver for your network connection.

          To work around this problem, become root (su -) and use a text editor to edit the following files in the guest operating system. If only one of these files exist, make the change for that file only.

          /etc/sysconfig/network-scripts/ifcfg-eth[n]

          /etc/sysconfig/networking/devices/ifcfg-eth[n]

          In both cases, [n] is the number of the Ethernet adapter ?for example, eth0.

          Add the following section to each of these two files:

          check_link_down () {

          return 1;

          }

          Then run the command ifup eth[n] (where [n] is the number of the Ethernet adapter) or restart the guest operating system.


          測試成功,用ifconfig可以查看獲得的ip地址.

          posted on 2005-03-05 18:04 笨笨 閱讀(1346) 評論(1)  編輯  收藏 所屬分類: LinuxALL

          評論

          # re: 虛擬機上模擬red hat linux的網絡配置 2007-10-07 23:51 jackyweijie
          Thank you very much
            回復  更多評論
            

          主站蜘蛛池模板: 长垣县| 寿阳县| 沐川县| 荃湾区| 女性| 平遥县| 离岛区| 灯塔市| 安岳县| 富民县| 高邑县| 漳州市| 津市市| 新乡市| 丹巴县| 错那县| 临湘市| 临邑县| 建湖县| 中阳县| 甘德县| 三穗县| 岳西县| 宁陕县| 罗源县| 娱乐| 赣州市| 顺平县| 保康县| 竹北市| 夏津县| 乌苏市| 巴彦淖尔市| 新竹市| 阜阳市| 平昌县| 同德县| 陕西省| 绥江县| 普格县| 永平县|