Joe Schmoe said:
Out of curiosity, how does this work?
I.e., supposed my local network is 192.168.197.* and my Windows machine is 192.168.197.82 and my TAP device is 192.168.197.173 (Obviously, I'm just making these numbers up), then what do I set the Linux "eth0" device to (inside QEMU)?
Initially the emulated Pi is given a dynamic IP from the dynamic pool on your router. If you want to you can then assign it a static IP address. You can do this by creating a cfg-eth0 file in the /etc/sysconfig/network-scripts directory as described here:
http://thedaneshproject.com/po.....-in-linux/
Don't forget to scroll down in the eth0 static settings box or you will miss some settings that are required. I also added an extra line to the cfg-eth0 file to use my router as the DNS server:
DNS1=192.168.1.254
This gets auto-populated into /etc/resolv.conf during initialisation of the eth0 interface.
In my case I've given the emulated Pi a separate static IP address from the IP address of TAP adapter which is outside of the dynamic IP pool range of my router.