红联Linux门户
Linux帮助

linux联网

发布时间:2010-12-31 10:59:05来源:红联作者:lin200436362000
大家好:
我在windows上用vmware装了centos。如何设置网落配置才可以使用linux 上网啊?
文章评论

共有 6 条评论

  1. agbbs_Linux 于 2012-10-23 07:29:49发表:

    路过!!!
    不发表意见……

  2. flhc 于 2012-10-14 16:39:08发表:

    ask

  3. hlinuxer 于 2010-12-31 21:18:11发表:

    不懂,观望学习中

  4. yippee 于 2010-12-31 13:37:24发表:

    VMware创建虚机的时候,网卡选择bridge方式,如果没有,可以关闭centos,然后修改为bridge,

    然后给centos 添加和宿主机同一IP段的地址就OK了

  5. naruto01 于 2010-12-31 13:34:02发表:

    实验环境:Windows 7
    VMware 7.0.0
    CentOS

    NAT上网方式
    Windows 7下默认即可。
    CentOS:1.vi /etc/sysconfig/network
    NETWORKING=yes
    NETWORKING_IPV6=yes
    HOSTNAME=naruto.ok.com
    2.vi /etc/sysconfig/network-scripts/ifcfg-eth0
    DEVICE=eth0
    BOOTPROTO=dhcp
    ONBOOT=yes (省去一部分)
    3./etc/resolv.conf 不需要设置
    4.reboot即可(不知道只重启网卡行不- -#)

    ps:顶楼上

  6. deepwhite 于 2010-12-31 11:04:35发表:

    Google it before ask.
    I'm pretty sure this question had been asked frequently in this forum.