$ sudo ifconfig eth0 192.168.1.152 broadcast 192.168.1.255 netmask 255.255.255.0
$ sudo /sbin/route add default gw 192.168.1.254
$ sudo ifconfig eth0 down
$ sudo ifconfig eth0 up
auto eth0
iface eth0 inet static
address 192.168.1.152
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.254
$ netstat -r