Book Image

Oracle Solaris 11 Advanced Administration Cookbook

By : Borges
Book Image

Oracle Solaris 11 Advanced Administration Cookbook

By: Borges

Overview of this book

If you are a Solaris administrator who wants to learn more about administering an Oracle Solaris system and want to go a level higher in utilizing the advanced features of Oracle Solaris, then this book is for you. A working knowledge of Solaris Administration is assumed.
Table of Contents (11 chapters)
10
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...