Book Image

Oracle Solaris 11 Advanced Administration Cookbook

By : Alexandre Borges
Book Image

Oracle Solaris 11 Advanced Administration Cookbook

By: Alexandre Borges

Overview of this book

Table of Contents (17 chapters)
Oracle Solaris 11 Advanced Administration Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Creating, administering, and using a virtual network in a zone


I love this recipe because here, we are going to use the main feature of zones in Oracle Solaris 11 virtual networks. Concisely, we are going to create and configure the following scenario:

  • zone1 | vnic1 (192.168.1.51) | vswitch1 (etherstub) | net0 (192.168.1.144)

  • zone2 | vnic2 (192.168.1.52) | vswitch1 (etherstub) | net0 (192.168.1.144)

Each zone connects to its respective virtual network interface (VNIC), and both VNICs go to the same etherstub (a kind of a virtual switch). Because of this, etherstub requires a virtual interface (vnic0). Finally, etherstub connects to a real interface (net0). The zonepath property for each zone and other properties are as follows:

  • zonepath zone1: /myzones/zone1

  • zonepath zone2: /myzones/zone2

  • IP type: exclusive-IP

Getting ready

This recipe requires a virtual machine (VirtualBox or VMware) that runs Oracle Solaris 11, with 4 GB (minimum) or 8 GB RAM (recommended), an extra disk with 80 GB, and a...