Quantcast
Viewing all articles
Browse latest Browse all 92

Solaris 11 Networking with ipadm (Basic)

The following concise post is intended as a reference to the networking commands used to satisfy basic networking requirements on a Solaris 11 host.

Using dladm and ipadm commands to modify the live configuration and also modify the config files in one go, means that networking changes made this way are persistent, i.e. survive a system reboot.

Show Network Links

dladm show-link

Image may be NSFW.
Clik here to view.

dladm show-phys

Image may be NSFW.
Clik here to view.

Show Network Addresses

ipadm show-addr

Image may be NSFW.
Clik here to view.

Create IP interface

ipadm create-ip net0 && dladm show-link && dladm show-phys net0

Image may be NSFW.
Clik here to view.

At this point although there is an IPv4 interface, there is no IP address bound to it (just the internal loopback address).

Image may be NSFW.
Clik here to view.

Configure IP interface to use DHCP

ipadm create-addr -T dhcp net0  && ipadm show-addr

Image may be NSFW.
Clik here to view.

Configure Static IP address on IP interface

ipadm create-addr -T static -a 192.168.1.200 net0 && ipadm show-addr

Image may be NSFW.
Clik here to view.

Delete IP interface

In our case, the IP interface that is configured to use DHCP.

ipadm delete-addr -r net0/v4

Image may be NSFW.
Clik here to view.

 

 

Image may be NSFW.
Clik here to view.
Facebook
Image may be NSFW.
Clik here to view.
twitter
Image may be NSFW.
Clik here to view.
google_plus
Image may be NSFW.
Clik here to view.
reddit
Image may be NSFW.
Clik here to view.
pinterest
Image may be NSFW.
Clik here to view.
linkedin
Image may be NSFW.
Clik here to view.
mail

The post Solaris 11 Networking with ipadm (Basic) appeared first on Cyberfella Ltd.


Viewing all articles
Browse latest Browse all 92

Trending Articles