On 2011-05-03 16:12:53 -0000, Olivier Mengué <475...@bugs.launchpad.net> wrote in <20110503161253.22907.24156.mal...@wampee.canonical.com>: > @dl9sau: if NAT is enough for you, don't use "-net tap": "-net user" is > much simpler to setup.
This is no option. It's generally not a good idea to force a user's network interface to become reconfigured. There are various reasons, like: - security: his firewall filter rules may not apply anymore, the system is open to the world - what makes you think that the guess ("use the iface with the default route as bridge") is always right? There may be more other scenarios where the services the qemu instances provide should be offered to the local network, not to the internet.. - problems if your computer is a WLAN STA (client) -- managed mode and bridging are mutaly exclusive - your script only works in the special case that the interface with the default route is already part of a bride. only then you could apply a brctl addif .. This is no normal setup. The up/down script is mess and should be removed. Kind regards, - Thomas Osterried -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/475327 Title: qemu -net nic -net tap does not start due to qemu-ifXXX scripts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs