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