Routing
Create the file /etc/defaultrouter and insert IP of default gateway
DNS
edit /etc/nsswitch.conf and add dns to the line with hosts. Then create /etc/resolv.conf with domain $domain in the first line and nameserver $nameserver_IP in the lines below.