I have a virtual box debian guest running on a mac 10.7.5 host. adapter 1 of the guest is bridged network to en1 the wifi. adapter 2 is ahost only adapter to vboxnet0
the guest's /etc/network/interfaces file is as follows;
auto lo iface lo inet loopback allow-hotplug eth0 auto eth0 iface eth0 inet static address 192.168.1.6 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1 broadcast 192.168.1.255 auto eth1 iface eth1 inet static address 192.168.56.20 netmask 255.255.255.0 network 192.168.56.0 broadcast 192.168.56.255
the guest boots fine, however within a few hours probably more than 3 but less than 7 it drops 192.168.1.6 and replaces it with an address from a DHCP server on the network.
I can't think of any reason why it would do this. Can anyone suggest places to look?