JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle VM Server for SPARC 2.1 Administration Guide     Oracle VM Server for SPARC
search filter icon
search icon

Document Information

Preface

Part I Oracle VM Server for SPARC 2.1 Software

1.  Overview of the Oracle VM Server for SPARC Software

2.  Installing and Enabling Software

3.  Security

4.  Setting Up Services and the Control Domain

Output Messages

Creating Default Services

Create Default Services

Initial Configuration of the Control Domain

Set Up the Control Domain

Rebooting to Use Logical Domains

Reboot

Enabling Networking Between the Control/Service Domain and Other Domains

Configure the Virtual Switch as the Primary Interface

Enabling the Virtual Network Terminal Server Daemon

Enable the Virtual Network Terminal Server Daemon

5.  Setting Up Guest Domains

6.  Setting Up I/O Domains

7.  Using Virtual Disks

8.  Using Virtual Networks

9.  Migrating Domains

10.  Managing Resources

11.  Managing Configurations

12.  Performing Other Administration Tasks

Part II Optional Oracle VM Server for SPARC Software

13.  Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool

14.  Oracle VM Server for SPARC Configuration Assistant

15.  Using the Oracle VM Server for SPARC Management Information Base Software

16.  Logical Domains Manager Discovery

17.  Using the XML Interface With the Logical Domains Manager

Glossary

Index

Enabling Networking Between the Control/Service Domain and Other Domains

By default, networking between the control domain and other domains in the system is disabled. To enable this, the virtual switch device should be configured as a network device. The virtual switch can either replace the underlying physical device (nxge0 in this example) as the primary interface or be configured as an additional network interface in the domain.


Note - Perform the following procedure from the control domain's console, as the procedure could temporarily disrupt network connectivity to the domain.


Configure the Virtual Switch as the Primary Interface

  1. Print out the addressing information for all interfaces.
    primary# ifconfig -a
  2. Create the virtual switch.

    In this example, vsw0 is the virtual switch being configured.

    primary# ifconfig vsw0 plumb
  3. (Optional) To obtain the list of all virtual switch instances in a domain, you can list them.
    primary# /usr/sbin/dladm show-link | grep vsw
    vsw0            type: non-vlan  mtu: 1500       device: vsw0
  4. Delete the physical network device assigned to the virtual switch (net-dev).

    The physical network device is nxge0 in this example.

    primary# ifconfig nxge0 down unplumb
  5. To migrate properties of the physical network device (nxge0) to the virtual switch (vsw0) device.

    Do one of the following:

    • If networking is configured using a static IP address, reuse the IP address and netmask of nxge0 for vsw0.
      primary# ifconfig vsw0 IP-of-nxge0 netmask netmask-of-nxge0 broadcast + up
    • If networking is configured using DHCP, enable DHCP for vsw0.
      primary# ifconfig vsw0 dhcp start
  6. Make the required configuration file modifications to make this change permanent.
    primary# mv /etc/hostname.nxge0 /etc/hostname.vsw0
    primary# mv /etc/dhcp.nxge0 /etc/dhcp.vsw0

    Note - If necessary, you can also configure the virtual switch as well as the physical network device. In this case, create the virtual switch as in Step 2, and do not delete the physical device (skip Step 4). You must then configure the virtual switch with either a static IP address or a dynamic IP address. You can obtain a dynamic IP address from a DHCP server. For additional information and an example of this case, see Configuring Virtual Switch and Service Domain for NAT and Routing.