Hello Group,
Could you please help me with the procedure to configure a virtual ip (second ip) under the same interface in Solaris 11.
Thanks in advance !
Hello Group,
Could you please help me with the procedure to configure a virtual ip (second ip) under the same interface in Solaris 11.
Thanks in advance !
in short:
# dladm create-vnic -l net0 vnic0
# ipadm create-ip vnic0
# ipadm create-addr -T static -a 192.168.0.80 vnic0/v4
While vnics are definitely cool, it is not required to create one if you don't want a new virtual "physical interface" to be created but just need a virtual IP on the same interface which is what I believe the OP asked.
This single line would be sufficient:
# ipadm create-addr -T static -a 192.168.0.80/24 net0/virtual1