Solaris_11

Configure IP Address on Solaris 11

Configure IP Address Automatically (DHCP) on Solaris 11

Command to Enable Manual Profile(Enable Manual NCP) and static IP (Plumb Interface)
#netadm enable -p ncp DefaultFixed

Command shows the physical network cards that are installed on your system
#dladm show-phys

Command show the datalink on your System and status
#dladm show-link

Create and enable IP address on Network Card
#ipadm create-ip (Interface_Class) net0 (Interface_Name)

[Interface Class]

  • – IP Interface (create_ip)
  • – STREAMS Virtual Network Driver (create_vni)
  • – IPMP Interface (create_ipmp)

#ipadm create-ip net0

Command to Add IP Address to interface
#ipadm create-addr -T (Address_type) -a (IP_Address/[Subnet|prefixlen]) netwrk_Card_name (DataLink_name)
#ipadm create-addr -T static -a 192.168.1.1/24 net0/v4static

Command to display General status for interface
#ipadm show-if

Command to display IP address assign to interface
#ipadm show-addr

Configure IP Address Automatically (DHCP) on Solaris 11

Command to disable Manual Profile(Enable Automatic NCP) and DHCP IP (Plumb Interface)
# netadm enable -p ncp Automatic

Command shows the physical network cards that are installed on your system
#dladm show-phys

Command show the datalink on your System and status
#dladm show-link

Create and enable IP address on Network Card
#ipadm create-ip net0

Command to Sssign Automatic IP (DHCP) to interface
#ipadm create-addr -T dhcp net0/dhcp