If setting the gateway doesn't work for you, you can put the line
Code:
/sbin/route add -net 0.0.0.0 gw 192.168.2.1 eth0
at the end of the start section in your network init script in /etc/init.d.
Then you should have an internet connection even after a reboot.