ip-adress 192.168.1.2
subnet mask 255.255.255.0
gateway 192.168.1.1

seems ok to me.