Can't setup new interface.

Hi all,
Currently I am running Solaris 10 update 10 machine.
My current ifconfig -a output is:

ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
        inet 172.21.16.65 netmask ffffff00 broadcast 172.21.16.255
        ether 0:14:4f:a1:5d:9c 
dladm show-dev
bge0            link: up        speed: 1000  Mbps       duplex: full
bge1            link: unknown   speed: 0     Mbps       duplex: unknown
bge2            link: unknown   speed: 0     Mbps       duplex: unknown
bge3            link: unknown   speed: 1000  Mbps       duplex: full 

I want to setup a new IP of a different subnet on bge3. bge0 is already configured and I am using ssh on it to connect remotely.

First I did a:

ifconfig bge3 plumb

Then my ifconfig -a output became :

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
        inet 172.21.16.65 netmask ffffff00 broadcast 172.21.16.255
        ether 0:14:4f:a1:5d:9c 
bge3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 9
        inet 0.0.0.0 netmask 0 
        ether 0:14:4f:a1:5d:9f 

Next when I do a ;

ifconfig bge3 172.21.6.130 netmask + 255.255.255.0 up

It gives me an error:

ifconfig: setifdstaddr: SIOCSLIFDSTADDR: bge3: Cannot assign requested address

What is wrong ? How can I fix it ?
:frowning:

Why do you use "+" and 255.255.255.0 after netmask? Try just one or the other