how to setup default route in interfaces file during boot process

view story

http://askubuntu.com – I have Ubuntu 12.10 running on HP 4000 PC, the PC has two network cards, one is eth0, another is wlan0. eth0 is connected to internal network (, wlan0 is connected to intranet ( with internet access. I try to add following up commands into /etc/network/interfaces to set up default gateway during the boot time. The command shows as below: up route del default up route add default gw However when I try to boot the Linux box, it takes very long time for the booting process and Linux can't connect to the network both eth0 and wlan0. Is there any good wa (HowTos)