No guru here but may this will work. I got this from Gentoo when I did it:
# ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK
# route add -net default gw $GTWAY netmask 0.0.0.0 metric 1 $IFACE
Definitions
$IFACE = usually- eth0
$IPNUM = Your static address
$BCAST = usually 192.168.1.255
$NMASK = usually 255.255.255.0
$GTWAY = Gateway address - usually 192.168.0.1
Then edit your /etc/resolv.conf file to:
domain mydomain.com
nameserver 10.0.0.1
nameserver 10.0.0.2
Of course you would replace the 10.0.0.1 with your DNS
Then try it out:
ping -c 3
www.yahoo.com