Still on the VLAN thingie. Thanks to Ranzo Davoli I have fixed the guest OS 
talking to another via VLAN trunking by changing the qemu/kvm network emulation 
to e1000. But now I believe I hit another problem.

I have set up in the guest OS (Server) VLAN 150 (eth0.150) with IP 
192.168.200.1 and another guest OS (Client) with eth0 192.168.200.2. On the 
switch side, port 11 is connected to the server, and port 12 is connected to 
the client here is the configuration :-

vde$ port/print
0000 DATA END WITH '.'
Port 0001 untagged_vlan=0000 ACTIVE - Unnamed Allocatable
 Current User: NONE Access Control: (User: NONE - Group: NONE)
 IN:  pkts          6          bytes                  468
 OUT: pkts          1          bytes                   42
  -- endpoint ID 0007 module tuntap      : tap1
Port 0011 untagged_vlan=0000 ACTIVE - Unnamed Allocatable
 Current User: root Access Control: (User: NONE - Group: NONE)
 IN:  pkts        159          bytes                22615
 OUT: pkts        219          bytes                58370
  -- endpoint ID 0012 module unix prog   : QEMU user=root PID=20971  
SOCK=/tmp/vde.ctl1/.20971-00000
Port 0012 untagged_vlan=0150 ACTIVE - Unnamed Allocatable
 Current User: root Access Control: (User: NONE - Group: NONE)
 IN:  pkts        235          bytes                60890
 OUT: pkts        156          bytes                22493
  -- endpoint ID 0009 module unix prog   : QEMU user=root PID=20953  
SOCK=/tmp/vde.ctl1/.20953-00000
.
1000 Success

vde$ vlan/print
0000 DATA END WITH '.'
VLAN 0000
 -- Port 0001 tagged=0 active=1 status=Forwarding
 -- Port 0011 tagged=0 active=1 status=Forwarding
VLAN 0150
 -- Port 0011 tagged=1 active=1 status=Forwarding
 -- Port 0012 tagged=0 active=1 status=Forwarding

Pinging each other works normally. And when I do tcpdump -ni eth0.150 on the 
server, I could see the icmp request and reply. 

However if I do tcpdump -ni eth0, I don't see the tagged vlan 150 traffic. Is 
it normal ? Is it again qemu/kvm problem or it's mine ?

Regards.



      

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to