On 19/11/14 10:45, Xie, Chao wrote: > Hi, Lior: > I configure the switch port connecting the host's NIC which hold the > "testvlan" logical network. I try the NIC hold normal logical network ,VM > using the logical network worked well. But if I hold the VLAN logical > network, the VM using it didn't get IP. >
Hello Xie, This is what leads me to believe that your DHCP server (which is in charge of allocating IP addresses) only receives non-tagged traffic. Is it possible you need to configure other ports to pass the VLAN-tagged traffic? Lior. > -----邮件原件----- > 发件人: Lior Vernia [mailto:lver...@redhat.com] > 发送时间: 2014年11月19日 16:09 > 收件人: Xie, Chao/谢 超 > 抄送: users@ovirt.org > 主题: Re: [ovirt-users] How to Use VLAN? > > > > On 19/11/14 05:01, Xie, Chao wrote: >> Hi,all >> >> Recently I test the VLAN and have some problems. I configure >> the Logical network “testvlan” with “VLAN tagged” and assigned it to >> hosts’ NIC. Then I create a VM using “testvlan” and found the vm >> can’t get IP . Does anyone have some ideas about VLAN? >> >> p.s. I already configure the switch port as TRUNK mode and >> the vlan id is 1 (default value). >> > > Which switch port? Maybe the port(s) leading to your DHCP server aren't > configured to allow traffic on this VLAN? > >> >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users