I have a tinycore image that I have booted on various clouds and xen VMs. Networking comes up OK except for on Google compute engine, where I have to add the following to bootlocal.sh:
sudo route add -net 10.240.0.0 netmask 255.255.0.0 dev eth0
sudo route add default gw 10.240.0.1 eth0
With the above entries the networking comes up fine. Obviously it would be better if explicit configuration wasn't required and instead it just worked from DHCP. DHCP must be working to some extent because the Tinycore instance is getting an IP address.
Can anyone suggest why it might be necessary to add the above lines to make the network come up?
thanks!