You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by Joe <qi...@gmail.com> on 2012/12/16 04:12:46 UTC

about: "nics are not configured

我在配置kvm host的网络环境时报错 "nics are not configured"
我应该怎么解决这个问题,请帮我看看
1、ifcfg-eth0, ifcfg-eth0.100, ifcfg-cloudbr0 写的对不对?
2、执行cloud-setup-agent时候, Please choose which network used to create
VM:[etho] XXXX(应该写什么网卡名)?



/etc/sysconfig/network- scripts/三个文件:
ifcfg-eth0, ifcfg-eth0.100, ifcfg-cloudbr0
ifcfg-eth0:的内容

    DEVICE=eth0
    BOOTPROTO=static
    HWADDR=00:21:XX:XX:XX:XX
    NM_CONTROLLED=yes
    ONBOOT=yes
    TYPE=Ethernet
    UUID=24756901-XXXX-XXXX.......
    IPADDR=32.109.18.16
    NETMASK=255.255.255.0
    GATEWAY=32.109.18.254
    DNS1=32.111.1.20

ifcfg-eth0.100内容

    DEVICE=eth0.100
    HWADDR=00:21:XX:XX:XX:XX
    ONBOOT=yes
    HOTPLUG=no
    BOOTPROTO=none
    TYPE=Ethernet
    VLAN=yes
    IPADDR=32.109.18.16
    DNS1=32.111.1.20
    GATEWAY=32.109.18.254
    NETMASK=255.255.255.0

ifcfg-cloudbr0内容

    DEVICE=cloudbr0
    ONBOOT=yes
    TYPE=Bridge
    BOOTPROTO=none
    IPV6INIT=no
    IPV6_AUTOCONF=no
    DELAY=5
    STP=yes

我的网络环境

gateway: 32.109.18.254
dns: 32.111.1.20
netmask: 255.255.255.0
申请可用的ip 范围: 32.109.18.15------32.109.18.46

2台物理机
server: 32.109.18.15 centos6.3
host: 32.109.18.16 centos6.3 kvm

都是双网卡,启用了eth0, 禁用了eth1



Re: about: "nics are not configured

Posted by Royal Yang <ra...@gmail.com>.
etho  eth0????

2012/12/16 Joe <qi...@gmail.com>

> 我在配置kvm host的网络环境时报错 "nics are not configured"
> 我应该怎么解决这个问题,请帮我看看
> 1、ifcfg-eth0, ifcfg-eth0.100, ifcfg-cloudbr0 写的对不对?
> 2、执行cloud-setup-agent时候, Please choose which network used to create
> VM:[etho] XXXX(应该写什么网卡名)?
>
>
>
> /etc/sysconfig/network- scripts/三个文件:
> ifcfg-eth0, ifcfg-eth0.100, ifcfg-cloudbr0
> ifcfg-eth0:的内容
>
>     DEVICE=eth0
>     BOOTPROTO=static
>     HWADDR=00:21:XX:XX:XX:XX
>     NM_CONTROLLED=yes
>     ONBOOT=yes
>     TYPE=Ethernet
>     UUID=24756901-XXXX-XXXX.......
>     IPADDR=32.109.18.16
>     NETMASK=255.255.255.0
>     GATEWAY=32.109.18.254
>     DNS1=32.111.1.20
>
> ifcfg-eth0.100内容
>
>     DEVICE=eth0.100
>     HWADDR=00:21:XX:XX:XX:XX
>     ONBOOT=yes
>     HOTPLUG=no
>     BOOTPROTO=none
>     TYPE=Ethernet
>     VLAN=yes
>     IPADDR=32.109.18.16
>     DNS1=32.111.1.20
>     GATEWAY=32.109.18.254
>     NETMASK=255.255.255.0
>
> ifcfg-cloudbr0内容
>
>     DEVICE=cloudbr0
>     ONBOOT=yes
>     TYPE=Bridge
>     BOOTPROTO=none
>     IPV6INIT=no
>     IPV6_AUTOCONF=no
>     DELAY=5
>     STP=yes
>
> 我的网络环境
>
> gateway: 32.109.18.254
> dns: 32.111.1.20
> netmask: 255.255.255.0
> 申请可用的ip 范围: 32.109.18.15------32.109.18.46
>
> 2台物理机
> server: 32.109.18.15 centos6.3
> host: 32.109.18.16 centos6.3 kvm
>
> 都是双网卡,启用了eth0, 禁用了eth1
>
>
>