Find the interface you want using either command:

netstat -i
ifconfig

Update the interface with your config (in this example eth0):

sudo ifconfig eth0 10.1.1.6 netmask 255.255.255.0

Now set the default gateway using the following command (same interface as before):

sudo route add default gw 10.1.1.1 eth0