The current network setup is bridged, which is very brittle (due to differences between operating systems; for example, Ubuntu doesn't ship the bridge utilities by default), and also unnecessarily complex (besides the inherent complexity, up/down scripts are required).
Using the QEMU built-in user is trivial, and much more stable, since it doesn't require any change on the host system.
Change the etc/network/interfaces to be:
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.0.2.15
netmask 255.255.255.0
broadcast 10.0.2.255
gateway 10.0.2.2
The current network setup is bridged, which is very brittle (due to differences between operating systems; for example, Ubuntu doesn't ship the bridge utilities by default), and also unnecessarily complex (besides the inherent complexity, up/down scripts are required).
Using the QEMU built-in user is trivial, and much more stable, since it doesn't require any change on the host system.
Change the
etc/network/interfaces
to be:Then, in the startup script, replace this:
with:
and drop the ifup/down scripts.
And don't forget to update the README :smile:.