JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Connecting Systems Using Fixed Network Configuration in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Overview of Fixed Network Configuration

2.  Configuring a System for the Network

3.  Working With Datalinks

4.  Working With IP Interfaces

Basic ipadm Commands

Removing an IP Interface Configuration (ipadm delete-ip)

Disabling an IP Interface Configuration (ipadm disable-ip)

Removing an Interface's Address (ipadm delete-addr)

Setting IP Interface Properties

Enabling Packet Forwarding

Setting IP Address Properties

Setting TCP/IP Protocol Properties

Enabling Packet Forwarding Globally

Setting Up a Privileged Port

Implementing Symmetric Routing on Multihomed Hosts

Implementing Traffic Congestion Control

Changing the TCP Receive Buffer Size

Monitoring IP Interfaces and Addresses

Obtaining General Information About IP Interfaces

Obtaining Information About IP Interfaces

Obtaining Information About IP Interface Properties

Obtaining Information About IP Addresses

Obtaining Information About IP Address Properties

5.  Configuring Wireless Networking on Laptops Running Oracle Solaris

A.  Comparison Map: ifconfig and ipadm Commands

B.  Comparison Map: ndd and ipadm Commands

Index

Setting IP Address Properties

The ipadm command enables you to set IP address-specific properties after these addresses are assigned to interfaces. By setting these properties, you can determine the following:

You use the following ipadm subcommands when working with IP address properties:


Note - If you want to change the IP address of a specific interface, do not use the set-addressprop subcommand. Instead, delete the address object and create a new one with the new IP address. See Removing an Interface's Address (ipadm delete-addr).


As an example, suppose you want to change the netmask of an IP address. The IP address is configured on the IP interface net3and is identified by the address object name net3/v4. The following commands show how to revise the netmask:

# ipadm show-addr
ADDROBJ     TYPE       STATE     ADDR
lo0/?       static     ok        127.0.0.1/8
net3/v4     static     ok        192.168.84.3/24

# ipadm show-addrprop -p prefixlen net3/v4
ADDROBJ  PROPERTY   PERM  CURRENT  PERSISTENT  DEFAULT   POSSIBLE
net3/v4  prefixlen  rw    24       24          24        1-30,32

# ipadm set-addrprop -p prefixlen=8 net3/v4
# ipadm show-addrprop -p prefixlen net3/v4
ADDROBJ  PROPERTY   PERM  CURRENT  PERSISTENT  DEFAULT   POSSIBLE
net3/v4  prefixlen  rw    8        24          24        1-30,32