Nathan Coulson wrote: > Not any time to proofread this, but this is what I use > > echo > /etc/qemu-ifup << "EOF" > ip addr add 0.0.0.0 dev $1 > ip link set $1 up > brctl addif br0 $1 > EOF
Nathan, this is exactly what I need. In the above, do you need brctl addbr br0 or is qemu supposed to do that for you? My client right now is Fedora and there is no br0 present. > I also attached my bridge script, which was upgraded to the new system > (I still had boot_mesg in there though [cosmetic], but I did a quick > fix on that. Untested) > > cat > /etc/sysconfig/ifconfig.br0-0 << "EOF" > IFACE=br0 > ONBOOT=yes > CHECK_LINK=no > SERVICE=bridge > INTERFACES=eth0 > EOF When I run the following on the host brctl addbr br0 ip addr add 0.0.0.0 dev br0 ip link set br0 up brctl addif br0 eth0 That last command kills my normal eth0 connection. I had to reboot to get it back. > qemu-system-x86_64 -net nic -net tap > > will create a new tap0, calls /etc/qemu-ifup tap0, which I proceed > to dump into my br0 (disclaimer: not sure if I mean tun or tap) When I run qemu-system-x86_64 -net nic -net tap, I get /etc/qemu-ifup: could not launch network script the script is present and executable. but if I say -net tap,script=no, I get the GRUB prompt and it will boot. I do have at that point a tap0 device on the host. Any ideas? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
