環境:vm虛擬機,橋接網絡模式
這里選擇dhcp方式
# service network stop
# ifdown etho
# vi /sysconfig/etcwork-scripts/ifcfg-eth0
ONBOOT=yes
BOOTPROTO=dhcp
# ifup eth0
# service network restart
如果能ping通百度的話,就算成功了。
環境:vm虛擬機,橋接網絡模式
這里選擇dhcp方式
# service network stop
# ifdown etho
# vi /sysconfig/etcwork-scripts/ifcfg-eth0
ONBOOT=yes
BOOTPROTO=dhcp
# ifup eth0
# service network restart
如果能ping通百度的話,就算成功了。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。