Comment 2 for bug 125302

Revision history for this message
Kay Hayen (kayhayen) wrote : Re: kvm-ifup fails to bring up tap0 in feisty

Hello,

I am on Gutsy. The original complaint is likely wrong, in that executing ifconfig tap0 0.0.0.0 up of course won't work, because tap0 will be deleted again after the failure.

But /etc/kvm/kvm-ifup script is also most likely wrong, because it doesn't give a bridge to brctl, but instead the "$switch", which is supposed to be the device with the default router I take. That's my wireless in my case, and far from a bridge.

I tried creating a bridge inside the script and addif the both $switch and $1 (tap0). It seems to work insofar as I can see in tcpdump my packets, for which the WLAN likely will have no friendly words.

Can you clarify, if and where the bridge should be created? tap0 is no bridge. And can you provide a means to say where to bridge to? I would be perfectly happy to bridge to lo device. My only goal is to ssh into the virtual machine from the local machine, but so far I have no succeeded.