Add gateway

Hi Community,

I've a question about network adaptors.

I've installed Solaris 10 configuring the ce0 port with an IP(10.23.8.15) , an interface_name (first) and a gateway(10.23.8.1) .
I need to change the name of the interface ce0 and to configure another interface (ce1) with another IP(10.23.9.16) and ANOTHER gateway (10.23.9.1).

I tought to change hostname.ce0 for ce0 then I tought to use this command to configure another interface (ce1) : ifconfig ce1 10.23.9.16 netmask 255.255.255.0 broadcast 10.23.9.255 up.
And then using the following command to add another gateway:

route add -net 255.255.255.0 netmask 255.255.255.0 gw 10.23.9.1 dev ce1

and then modifying hostname.ce1.

Is it All? Or are there other things to do?

Thank you very much and I apologize for my English.

Yor network mask ought to be 10.23.255.255, and your can ot use the broard cast address for a node address which means your pool of usable ip addresses goes from 10.23.8.1-10.23.8.254.