Sponsored Content
Operating Systems Solaris Network of Virtual machine not working Post 302931300 by Peasant on Monday 12th of January 2015 12:02:56 PM
Old 01-12-2015
On Solaris 11.2, you should be using ipadm to configure network, not ifconfig.

As a glanced thru your posts, there is a lot of errors regarding initial configuration of primary domain (the hypervisor), since you were using Solaris 10 guide on Solaris 11 operating system.

In this point, due to above stated, quickest way would be to reinstall the entire machine and configure it properly following the documentation for your solaris release, in this case Solaris 11.2
After initial installation of operating system, the primary domain will need to have network configured.

The configuration of network will differ depending on the technology used and how are network ports on switch configured (VLAN tagging, trunking etc.)

The most simplest configuration of primary domain would be :

Using ipadm command and selected interfaces (e.g. net0,net1... dladm show-phys will show you connected and available interfaces to configure).
Code:
ipadm create-ip net0
ipadm create-ip net1
ipadm create-ipmp ipmp0
ipadm add-ipmp -i net0 -i net1 ipmp0
ipadm set-ifprop -p standby=on net1 # this is optional, we are using active passive, where net0 is active and net1 is on standby if net0 fails.
ipadm create-addr -T static -a <youraddress>/bitmask ipmp0/v4
route -p add default <yourdefault router>
# you might want to configure resolving, ntp and additional parameters here...


Now that we are over with initial network configuration of primary (control domain)...

Code:
ldm start-reconf primary # we will intitiate a delayed reconfiguration which will be active after reboot
ldm set-vcpu 8 primary # we are giving 8 vcpu to hypervisor
ldm set-mem 4G primary  # we are giving 4 GB of memory to hypervisor
ldm add-spconfig <yourconfigname>

Reboot the host using init 6 command as root.

Network on the hypervisor should work now with persistent route added and static address configured.

Now you need to configure network for ldoms by creating virtual switch(es) to be used with ldoms.
You can use net0 and net1 for virtual switches as well as any other available physical interface (not ipmp groups, but, for instance, VLAN tagged interfaces - yes)

IPMP groups are created inside ldoms.

Aggregated interfaces are created on the hypervisor (control/service) domain, and the newly create interface (aggr0) is the net-dev used for virtual switch creation.

All configuration commands noted by me can and should be expanded for your specific needs.

You will need to read the documentation with understanding, not just paste commands from it to servers.

Hope this clears things a bit.

Regards
Peasant.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Link type between working machine and server machine

There are two servers where my machine is connected. Is there any type of link formed between my machine and server machine? (1 Reply)
Discussion started by: palash2k
1 Replies

2. Solaris

Is there any Virtual data center as we have Virtual Machine?

Do we have any Virtual Data Center software as we have Virtual Machine? I want to practice everything of Solaris practically but i don't have resources like data center which includes Servers, Data storages, switches, and other things. (2 Replies)
Discussion started by: karman0931
2 Replies

3. UNIX for Dummies Questions & Answers

virtualising virtual machine

Hi, I'm virtualising ubuntu on a mac forum and I get the following error when I run my application... If I try ping localhost from guest OS, it works... thanks (0 Replies)
Discussion started by: aneuryzma
0 Replies

4. UNIX for Dummies Questions & Answers

how to see network speed of virtual linux machine?

After installing PV (Para virtual drivers) drivers I m not able to check the network speed of my Ethernet port. Please check the output of mii-tool and ethtool. # mii-tool eth0 SIOCGMIIPHY on 'eth0' failed: Operation not supported # ethtool eth0 Settings for eth0: Link... (2 Replies)
Discussion started by: pinga123
2 Replies

5. Red Hat

Virtual Machine

Hi All, In my Org we are using Xen Hypervisor on RHEL 5.Now now the biggest challenge for us is to take online snapshot of running VM Guests.But this feature is not available in Xen. So i am trying to figure it out with some of the blogs found on net,in one blog its saying to create... (0 Replies)
Discussion started by: ajaincv
0 Replies

6. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

7. Red Hat

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool Hi, I don't seem to have the Virtual Machine Manager Desktop tool set up on my RHEL6 Machine. The Linux machine runs off VMWare player and I'm not sure whether it is a VMWare software issue or a problem with the RHEL6... (2 Replies)
Discussion started by: accipiter1
2 Replies

8. UNIX for Advanced & Expert Users

Virtual machine

Can I please get some recommendations on virtual machine software? I am using Fedora. What do you think is the best software and why? I need a windows virtual machine to run some windows software. What do you think is the best Windows version to use and why (xp, vista, 7, 8, 8.1)? Is it hopefully... (2 Replies)
Discussion started by: cokedude
2 Replies

9. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

10. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies
SYSTEMD-NETWORKD.SERVICE(8)				     systemd-networkd.service				       SYSTEMD-NETWORKD.SERVICE(8)

NAME
systemd-networkd.service, systemd-networkd - Network manager SYNOPSIS
systemd-networkd.service /lib/systemd/systemd-networkd DESCRIPTION
systemd-networkd is a system service that manages networks. It detects and configures network devices as they appear, as well as creating virtual network devices. To configure low-level link settings independently of networks, see systemd.link(5). systemd-networkd will create network devices based on the configuration in systemd.netdev(5) files, respecting the [Match] sections in those files. systemd-networkd will manage network addresses and routes for any link for which it finds a .network file with an appropriate [Match] section, see systemd.network(5). For those links, it will flush existing network addresses and routes when bringing up the device. Any links not matched by one of the .network files will be ignored. It is also possible to explicitly tell systemd-networkd to ignore a link by using Unmanaged=yes option, see systemd.network(5). When systemd-networkd exits, it generally leaves existing network devices and configuration intact. This makes it possible to transition from the initrams and to restart the service without breaking connectivity. This also means that when configuration is updated and systemd-networkd is restarted, netdev interfaces for which configuration was removed will not be dropped, and may need to be cleaned up manually. CONFIGURATION FILES
The configuration files are read from the files located in the system network directory /lib/systemd/network, the volatile runtime network directory /run/systemd/network and the local administration network directory /etc/systemd/network. Networks are configured in .network files, see systemd.network(5), and virtual network devices are configured in .netdev files, see systemd.netdev(5). SEE ALSO
systemd(1), systemd.link(5), systemd.network(5), systemd.netdev(5), systemd-networkd-wait-online.service(8) systemd 237 SYSTEMD-NETWORKD.SERVICE(8)
All times are GMT -4. The time now is 10:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy