is there possible to create a 802.1q vlan on top of a macvtap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I am trying to set up a vlan between VM on two hosts, both RHEL-6.

I create macvtap on both host by :
ip link add link eth0 name macvt-v0 type macvtap mode vepa
ip link set macvt-v0 up

and then boot guest RHEL-6 VM with the above created macvtap nic, guest network functioning well.can ping each other.

But when I trying to setup vlan between two guests,things go bad...
inside guests:
modprobe 8021q
VM1:
ifconfig eth0.1 192.168.1.1 netmask 255.255.255.0
vconfig eth0.1 1
VM2:
ifconfig eth0.1 192.168.1.2 netmask 255.255.255.0
vconfig eth0.1 1

after the above cmd,
I ping VM2 from VM1,by 
ping 192.168.1.2 -I eth0.1 
nothing response,I am curious is there possible for macvtap to deal with 8021q vlan ?

Thanks for any reply

Best Regards,
Billy
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux