On Thu, May 16, 2013 at 2:56 PM, Zdenek Styblik <zdenek.styb...@gmail.com> wrote: >>> The switch does not delete ports 1 and 24 from vlan0 because port 1 and 24 >>> are already using vlan 0 for their >>> untagged traffic. >>> If you want to define tagged only ports use the following command: >>> /port/setvlan 1 4095 >>> /port/setvlan 24 4095 >>> >>> Vlan 4095 does not exist, it is used to say that no untagged traffic should >>> pass >>> through the port. > >> Great! It works but it wasn't obvious for me. Is it good idea to add >> this information to yours wiki? > >>> I hope these explanations are not arriving too late.... >> No, they didn't arrive too late. > >> I have worse news. I have more questions!:) If you don't mind I'd like >> to ask you about such corner case. Let imagine vde_switch process crash, >> next I start vde_switch again. Is it possible to readd VM to port >> without restarting qemu? After some reading it looks I have to use >> vde_plug2tap to do it. Am I right? > > Hello, > > first of all, thank you both, renzon and Marcin, for this information. > > Sadly, my VDE2-2.3.2 crashes after QEMU taps to port with (untagged) > VLAN 4095, resp. 'port/setvlan 24 4095'. >
This happens with VDE from trunk as well. VDE started as: vde_switch -s /var/run/vde2//vde.virswitch0 --mgmt /var/run/vde2//vde.virswitch0.sock --mgmtmode 660 -p /var/run/vde2//vde.virswitch0.pid ~~~ strace --- SIGALRM (Alarm clock) @ 0 (0) --- rt_sigreturn(0) = -1 EINTR (Interrupted system call) poll([{fd=5, events=POLLIN|POLLHUP}, {fd=4, events=POLLIN|POLLHUP}, {fd=0, events=POLLIN|POLLHUP}, {fd=3, events=POLLIN|POLLHUP}], 4, -1) = ? ERESTART_RESTARTBLOCK (To be restarted) --- SIGALRM (Alarm clock) @ 0 (0) --- rt_sigreturn(0xe) = -1 EINTR (Interrupted system call) poll([{fd=5, events=POLLIN|POLLHUP}, {fd=4, events=POLLIN|POLLHUP}, {fd=0, events=POLLIN|POLLHUP}, {fd=3, events=POLLIN|POLLHUP}], 4, -1) = 1 ([{fd=4, revents=POLLIN}]) accept(4, {sa_family=AF_FILE, NULL}, [2]) = 6 poll([{fd=5, events=POLLIN|POLLHUP}, {fd=4, events=POLLIN|POLLHUP}, {fd=0, events=POLLIN|POLLHUP}, {fd=3, events=POLLIN|POLLHUP}, {fd=6, events=POLLIN|POLLHUP}], 5, -1) = 1 ([{fd=6, revents=POLLIN}]) read(6, "\316\372\355\376\3\0\0\0\0\36\0\0\1\0/var/run/vde2/vde."..., 256) = 145 access("/var/run/vde2/vde.virswitch0/.03184-00000", R_OK|W_OK) = 0 stat("/var/run/vde2/vde.virswitch0/.03184-00000", {st_mode=S_IFSOCK|0700, st_size=0, ...}) = 0 socket(PF_FILE, SOCK_DGRAM, 0) = 7 fcntl(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 connect(7, {sa_family=AF_FILE, path="/var/run/vde2/vde.virswitch0/.03184-00000"}, 110) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ ~~~ strace Any ideas what might be wrong? Thanks, Z. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ vde-users mailing list vde-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vde-users