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 ...

Get Oracle Solaris 11 Advanced Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.