Mostrar IPs
ipadm
NAME CLASS/TYPE STATE UNDER ADDR lo0 loopback ok -- -- lo0/v4 static ok -- 127.0.0.1/8 lo0/v6 static ok -- ::1/128 net0 ip ok -- -- net0/admin static down -- 192.168.56.123/24 net0/v4 static ok -- 192.168.56.121/24 net1 ip ok -- -- net1/admin static down -- 192.168.69.123/24 net1/v4 static ok -- 192.168.69.121/24
Crear IP
ipadm create-addr -T static -a 192.168.69.123/24 net1/admin
Levantar IP
ipadm up-addr net0/admin
Para IP
ipadm down-addr net0/admin