On 2019-01-28, johnw <johnw.m...@gmail.com> wrote:
> hi, I want create vlan network, I create two files
>
> hostname.vio0
> up
>
> hostname.vlan0
> inet 10.10.10.101 255.255.255.0 10.10.10.255 parent vio0 vnetid 10
>
> then reboot
>
> I can not ping 10.10.10.1
>
> If I create bridge0, and add vio0 and vlan0 to bridge0, then I can ping 
> 10.10.10.1
>
> Or if I just use vio0 without vlan,
> hostname.vio0
> inet 10.10.10.101 255.255.255.0 10.10.10.255
> I can also ping 10.10.10.1.
>
> Why vlan0 not linked vio0(parent) without create bridge?
>
> Is this normal? AM I miss understand vlan?
>
> (eg: I also tried on real machine with hostname.em0 card, same result)
>
> Thanks.
>
>
>
>
>
> Key fingerprint: CDB3 6C62 254B C088 1E5D DD32 182C 97DB CF2C 80AC
>

I think you misunderstand vlan.

Maybe describe what you're trying to do and see if somebody can suggest
how to do it, which might involve vlan interfaces, or might not.


Reply via email to