[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] "host_net_add user" not working as expected
From: |
Peter Münster |
Subject: |
[Qemu-discuss] "host_net_add user" not working as expected |
Date: |
Fri, 12 Jul 2013 11:42:48 +0200 |
User-agent: |
Gnus/612.570008 (真 Gnus v0.8) Emacs/24.3 (gnu/linux) |
Hi,
I would like to start qemu without the "user" network, and later add it
when needed using the "host_net_add user" command. But it does not work:
"info network" shows the right thing:
hub 1
\ user.0: index=0,type=user,net=10.0.2.0,restrict=off
\ virtio-net-pci.1:
index=0,type=nic,model=virtio-net-pci,macaddr=52:54:00:12:34:01
hub 0
\ tap.0: index=0,type=tap,ifname=tap0,script=,downscript=
\ virtio-net-pci.0:
index=0,type=nic,model=virtio-net-pci,macaddr=52:54:00:12:34:00
but the guest cannot use the 10.0.2.0 network. (the hub 0 is for my host
connection).
But when starting qemu with "-net user,vlan=1" and just after the start
I remove it with "host_net_remove 1 user.0" then it works as expected.
Is this a bug or intention? Or should this be done in another way?
TIA for any help!
--
Peter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-discuss] "host_net_add user" not working as expected,
Peter Münster <=