Date: Thu, 10 Apr 2008 10:36:25 +0100 From: Andrew Cid <andrew@accid.net> To: Jim Stapleton <stapleton.41@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: QEMU networking quirkiness on 7.0 Message-ID: <20080410093625.GA95076@farnborough.darq.net> In-Reply-To: <80f4f2b20804091825y2a37bddehd68e91f57426dc04@mail.gmail.com> References: <80f4f2b20804081710k5af28466k17f3d38cdd6e344a@mail.gmail.com> <20080409091859.GA14939@farnborough.darq.net> <80f4f2b20804091825y2a37bddehd68e91f57426dc04@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jim, > I just C&Ped a huge section and tacked it on to the end of this mail. > It says to do this within the emulator, but the emulator is supposedly > running win2k. I take it this is done on the host system? Yes, this needs to be setup on the host system. The way a bridge is configured has changed on 7. Here are the steps assuming that your external interface is em0: # ifconfig tap0 create # ifconfig tap0 up # ifconfig em0 up # ifconfig bridge0 create # ifconfig bridge0 addm tap0 addm em0 Now tap0 and em0 are bridged together. You should configure your external IP on the bridge instead of em0 as you normally would. If you use DHCP then: # dhclient bridge0 And start qemu: # qemu -boot c -net nic -net tap -hda <path_to_your_disk_image> Now the VM should be able to see your LAN and get an IP from DHCP (if that's what you use on your LAN) Hope this helps, Andrew -- accid.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080410093625.GA95076>