Hi all!
I'm starting to use VDE so it's possible I'm going to ask trivial
questions. But as for know I don't know (and I can't find) answers for them.
I'm using gentoo, qemu-1.2.2 (with vde support), and vde-2.3.1.
Initial situation after starting vde is:
vde[/var/run/vde.ctl/vde.mgmt]: port/print

Port 0001 untagged_vlan=0000 ACTIVE - Unnamed Allocatable
 Current User: NONE Access Control: (User: NONE - Group: NONE)
  -- endpoint ID 0007 module tuntap      : tap100
Success

Now I'm startin qemu-kvm OS:
...  -net nic,model=virtio,vectors=4,vlan=4,macaddr=52:54:1C:10:12:24
-net vde,vlan=4,port=24 ...

port/print shows new port:
Port 0024 untagged_vlan=0000 ACTIVE - Unnamed Allocatable
 Current User: root Access Control: (User: NONE - Group: NONE)
  -- endpoint ID 0008 module unix prog   : QEMU user=root PID=12776
SOCK=/var/run/vde.12776-00001
Success

vde[/var/run/vde.ctl/vde.mgmt]: vlan/allprint

VLAN 0000
 -- Port 0001 tagged=0 active=1 status=Forwarding
 -- Port 0024 tagged=0 active=1 status=Forwarding
Success

Shouldn't be this virtOS connected as tagged VLAN to port 24?

Now I would like to have port 1 and 24 only as tagged VLAN 4, so I'm doing:
vlan/addport 4 1
vlan/addport 4 24

I'm getting:
vde[/var/run/vde.ctl/vde.mgmt]: vlan/allprint

VLAN 0000
 -- Port 0001 tagged=0 active=1 status=Forwarding
 -- Port 0024 tagged=0 active=1 status=Forwarding
VLAN 0004
 -- Port 0001 tagged=1 active=1 status=Forwarding
 -- Port 0024 tagged=1 active=1 status=Forwarding
Success

How to remove ports 1 and 24 from VLAN 0? I'm trying to do this in such way:
vde[/var/run/vde.ctl/vde.mgmt]: vlan/delport 0 1

Address already in use
vde[/var/run/vde.ctl/vde.mgmt]: vlan/delport 0 24

Address already in use

but I don't know what "Address already in use" means in this context.
Another question is how to add again working qemu virt machines to vde?
For example I'm starting vde, next I'm starting qemu OSes, next somthing
happens and vde is restarted. What next? Should I restart virtual
machines to add them to vde?
Thanks for help!
Regards,
Marcin

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to