ifconfig ipadm
ifconfig -a ipadm show-addr
ifconfig plumb net0 ipadm create-ip net0
ifconfig net0 1.2.3.4 ipadm create-addr -T static 1.2.3.4 net0{/id-string}
Ifconfig net0 auto-dhcp ipadm create-addr -T dhcp net0{/id-string} {-h hostname}
ifconfig net0 up ipadm up-addr net0{/id-string}
ifconfig net0 ipadm show-addr net0{/idstring} (for IP information)
ipadm show-if net0 (for information on "dhcp or satic", and so on)
dladm show-link net0 (for lowest level information)
ifconfig net0 down ipadm down-addr net0{/id-string}
ifconfig unplumb net0 ipadm delete-ip net0
No comments:
Post a Comment