JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Network Interfaces and Network Virtualization     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

1.  Overview of the Networking Stack

Network Configuration in This Oracle Solaris Release

The Network Stack in Oracle Solaris

Network Devices and Datalink Names

Administration of Other Link Types

Part I Network Auto-Magic

2.  Introduction to NWAM

3.  NWAM Configuration and Administration (Overview)

4.  NWAM Profile Configuration (Tasks)

5.  NWAM Profile Administration (Tasks)

6.  About the NWAM Graphical User Interface

Part II Datalink and Interface Configuration

7.  Using Datalink and Interface Configuration Commands on Profiles

8.  Datalink Configuration and Administration

9.  Configuring an IP Interface

About IP Interface Configuration

The ipadm Command

IP Interface Configuration (Tasks)

SPARC: How to Ensure That the MAC Address of an Interface Is Unique

Configuring IP Interfaces

How to Configure an IP Interface

Setting IP Address Properties

How to Set the Property of an IP Address

Setting IP Interface Properties

Enabling Packet Forwarding

Administering Protocol Properties

Setting TCP/IP Properties

How to Restrict a Port's Access to root User Only

How to Implement Symmetric Routing on Multihomed Hosts

Monitoring IP Interfaces and Addresses

How to Obtain Information About Network Interfaces

Troubleshooting Interface Configuration

The ipadm command does not work.

IP address cannot be assigned with the ipadm create-addr command.

The message cannot create address object: Invalid argument provided is displayed during IP address configuration.

The message cannot create address: Persistent operation on temporary object during IP interface configuration

Comparison Tables: ipadm Command and Other Networking Commands

ifconfig Command Options and ipadm Command Options

ndd Command Options and ipadm Command Options

10.  Configuring Wireless Interface Communications on Oracle Solaris

11.  Administering Bridges

12.  Administering Link Aggregations

13.  Administering VLANs

14.  Introducing IPMP

15.  Administering IPMP

16.  Exchanging Network Connectivity Information With LLDP

Part III Network Virtualization and Resource Management

17.  Introducing Network Virtualization and Resource Control (Overview)

18.  Planning for Network Virtualization and Resource Control

19.  Configuring Virtual Networks (Tasks)

20.  Using Link Protection in Virtualized Environments

21.  Managing Network Resources

22.  Monitoring Network Traffic and Resource Usage

Glossary

Index

Comparison Tables: ipadm Command and Other Networking Commands

The ipadm command is the preferred tool to use for all configuration tasks on IP interfaces. This command replaces the commands in previous releases that were used for network configuration, such as the ifconfig and ndd commands. The following tables list selected command options of these previous tools and their equivalents in the ipadm command.


Note - These tables do not provide a comprehensive list of ipadm options. For a full list, see ipadm(1M) man page.


ifconfig Command Options and ipadm Command Options

The following table shows the ifconfig command options and the approximate corresponding ipadm subcommands.

Table 9-3 Syntax Mapping Between the ifconfig and ipadm Commands

ifconfig Command
ipadm Command
plumb/unplumb
ipadm create-ip

ipadm create-vni

ipadm create-ipmp

ipadm enable-addr

ipadm delete-ip

ipadm delete-vni

ipadm delete-ipmp

ipadm disable-addr

[address[/prefix-length] [dest-address]] [addif address[prefix-length]] [removeif address[prefix-length]][netmask mask][destination dest-address]{auto-dhcp|dhcp}[primary][wait seconds]extend | release | start
ipadm create-addr -T static

ipadm create-addr -T dhcp

ipadm create-addr -T addrconf

ipadm show-addr

ipadm delete-addr

ipadm refresh-addr

[deprecated | -deprecated] [preferred | -preferred] [private | -private] [zone zonename | -zones | -all-zones][xmit | -xmit]
ipadm set-addprop

ipadm reset-addprop

ipadm show-addprop

up
ipadm up-addr
down
ipadm down-addr
[metric n] [mtu n] [nud | -nud] [arp | -arp] [usesrc [name | none] [router | -router]
ipadm set-ifprop

ipadm show-ifprop

ipadm reset-ifprop

[ipmp] [group [name | ""]] standby | -standby] [failover | -failover]
ipadm create-ipmp

ipadm delete-ipmp

ipadm add-ipmp

ipadm remove-ipmp

ipadm set-ifprop -p [standby] [group]

[tdst tunnel-dest-addr] [tsrc tunnel-srcs-addr] [encaplimit n| -encaplimit] [thoplimit n]
[auth_algs authentication algorithm] [encr_algs encryption algorithm] [encr_auth_algs encryption authentication algorithm]
[auth_revarp] [ether [address]] [index if-index] [subnet subnet-address] [broadcast broadcast-address] [token address/prefix-length]

dhcp options – inform, ping, release, status, drop

Equivalent subcommands currently unavailable.
modlist] [modinsert mod_name@pos] [modremove mod_name@pos]
Equivalent subcommands currently unavailable.

ndd Command Options and ipadm Command Options

The following table shows the ndd command options and the approximate corresponding ipadm subcommands.

Table 9-4 Syntax Mapping Between the ndd and ipadm Commands

ndd Command
ipadm Command
Retrieving Properties
bash-3.2# ndd -get /dev/ip ?
ip_def_ttl         (read and write)
ip6_def_hops       (read and write)
ip_forward_directed_broadcasts
                   (read and write)
ip_forwarding      (read and write)
...
...

bash-3.2# ndd -get /dev/ip \
ip_def_ttl
100
bash-3.2# ndd -get /dev/ip \
ip6_def_hops
255
bash-3.2# ndd -get /dev/tcp ?
tcp_cwnd_max       (read and write)
tcp_strong_iss     (read and write)
tcp_time_wait_interval
                   (read and write)
tcp_tstamp_always  (read and write)
tcp_tstamp_if_wscale
                   (read and write)
...
...

bash-3.2# ndd -get /dev/tcp ecn
1

bash-3.2# ndd -get /dev/tcp sack
2
bash-3.2# ipadm show-prop ip
PROTO PROPERTY     PERM   CURRENT  PERSISTENT   DEFAULT   POSSIBLE
ipv4  forwarding   rw     off      --           off       on,off
ipv4  ttl          rw     255      --           255       1-255
ipv6  forwarding   rw     off      --           off       on,off
ipv6  hoplimit     rw     255      --           255       1-255
...


bash-3.2# ipadm show-prop -p ttl,hoplimit ip
PROTO PROPERTY   PERM   CURRENT   PERSISTENT   DEFAULT   POSSIBLE
ipv4  ttl        rw     255       --           255       1-255
ipv6  hoplimit   rw     255       --           255       1-255

bash-3.2# ipadm show-prop tcp
PROTO PROPERTY        PERM CURRENT PERSISTENT DEFAULT    POSSIBLE
tcp   ecn             rw   passive --         passive    never,passive,
                                                         active
tcp   extra_          rw   2049    2049,4045  2049,4045  1-65535
      priv_ports
tcp   largest_        rw   65535   --         65535      1024-65535
      anon_port
tcp   recv_           rw   128000  --         128000     2048-1073741824
      maxbuf
tcp   sack            rw   active  --         active     never,passive,
                                                         active
tcp   send_           rw   49152   --         49152      4096-1073741824
      maxbuf
tcp   smallest_       rw   32768   --         32768      1024-65535
      anon_port
tcp   smallest_       rw   1024    --         1024       1024-32768
      nonpriv_port
...
...
...
bash-3.2# ipadm show-prop -p ecn,sack tcp
PROTO PROPERTY PERM CURRENT PERSISTENT DEFAULT  POSSIBLE
tcp   ecn      rw   passive --         passive  never,passive,active
tcp   sack     rw   active  --         active   never,passive,active
Setting Properties
bash-3.2# ndd -set /dev/ip \
ip_def_ttl
64
bash-3.2# ndd -get /dev/ip \
ip_def_ttl
64
bash-3.2# ipadm set-prop -p ttl=64 ipv4
bash-3.2# ipadm show-prop -p ttl ip
PROTO PROPERTY FAMILY PERM VALUE DEFAULT POSSIBLE
ip    ttl      inet   rw   64    255     1-255
PROTO   PROPERTY   PERM   CURRENT   PERSISTENT   DEFAULT   POSSIBLE
ipv4    ttl        rw     64        64           255       1-255
bash-3.2# ipadm reset-prop -p ttl ip
bash-3.2# ipadm show-prop -p ttl ip
PROTO   PROPERTY   PERM   CURRENT   PERSISTENT   DEFAULT   POSSIBLE
ipv4    ttl        rw     255       255          255       1-255