Book Image

Oracle Solaris 11: First Look

By : Philip P. Brown
Book Image

Oracle Solaris 11: First Look

By: Philip P. Brown

Overview of this book

Oracle Solaris provides innovative, built-in features that deliver breakthrough high availability, advanced security, efficiency, and industry-leading scalability and performance to help businesses grow. "Oracle Solaris 11: First Look" covers the new features and functionality of Oracle Solaris 11 and how these new features and improvements will make it easier to deploy services to the enterprise while improving performance and reducing total cost of ownership.This book starts with coverage of Image Packaging System and the new installation methods. It then moves swiftly to network configuration. The book also includes some security features and improvements.  
Table of Contents (19 chapters)
Oracle Solaris 11: First Look
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
IPS Package Reference
New ACL Permissions and Abbreviations
Index

IP tunneling


In Solaris 10 and earlier, it was possible to create IP tunnels manually, using ifconfig. In Solaris 11, you use the dladm and ipadm commands. The bad news is the process involves a few more steps. The good news is it is automatically persistent across reboots, and also is more readable, by virtue of the fact that you can name the tunnels.

To create an IPv4 tunnel between your own host at 1.2.3.4 and a remote gateway at 5.6.7.8, use the following sequence of commands:

dladm create-iptun -T ipv4 -a local=1.2.3.4,remote=5.6.7.8 tunnelname0
ipadm create-ip tunnelname0
ipadm create-addr -T static -a local=1.2.3.4,remote=5.6.7.8 tunnelname0/usefulnamehere

As you can see, the syntax is fairly similar to VLAN creation. First, the creation of a base-layer kernel object is required, through dladm. After that, the IP-level setup via ipadm is almost identical to other IP administrative tasks.