Solaris is a Unix operating system originally developed by Sun Microsystems. Solaris is most advanced enterprise operating system. It delivers security, speed, and simplicity for enterprise

Monday, July 13, 2020

Enabling Networking Between the Control/Service Domain andOther 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.
Guest domains can automatically communicate with the control domain or service domain as
long as the corresponding network back-end device is configured in the same virtual LANor
virtual network.

How to Configure theVirtual Switch as the Primary Interface
1. Print the addressing information for all interfaces.
primary# ifconfig -a

2. Configure the virtual switch network interface.
primary# ifconfig vsw0 plumb

3. Remove the physical interface for the device that is assigned to the virtual switch (net-dev).
primary# ifconfig nxge0 down unplumb

4. To migrate properties of the physical network device (nxge0) to the virtual switch device (vsw0),
do one of the following:

■ If networking is configured by using a static IP address, reuse the IP address and netmask of
nxge0 for the virtual switch.
primary# ifconfig vsw0 IP-of-nxge0 netmask netmask-of-nxge0 broadcast + up

■ If networking is configured by using DHCP, enable DHCP for the virtual switch.
primary# ifconfig vsw0 dhcp start

5 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

Enabling the Virtual Network Terminal Server Daemon
Use the svcadm command to enable the virtual network terminal server daemon, vntsd.
primary# svcadm enable vntsd

Use the svcs command to verify that the vntsd daemon is enabled.
primary# svcs vntsd
STATE      STIME    FMRI
online       Oct_08     svc:/ldoms/vntsd:default






0 comments :

Post a Comment

Note: Only a member of this blog may post a comment.