Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Solaris >> 11 >> Networking >> How to configure static IP address on a new interface

netadm list

netadm enable -p ncp DefaultFixed

## determine which interface

dladm show-phys

## first create the interface

ipadm create-ip net3

## then assign IP v4 addr
## -T = type
## -a = address

 

ipadm create-addr -T static -a 192.168.0.200/24 net3/v4

## set DNS server

svccfg -s svc:/network/dns/client setprop config/nameserver=192.168.1.254


## check current default gateway

route delete default

or

netstat -rn

## if incorrect, delete current default gateway and set the correct one
## e.g.

route delete default 192.168.8.254
route -p add default 192.168.1.254


 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]