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
VLAN(7) 						 Miscellaneous Information Manual						   VLAN(7)

NAME
VLAN - virtual local area network DESCRIPTION
This manpage provides a brief overview of VLAN (virtual LAN) technology. VLANs are logical, or network segments that can span multiple physical network segments. A primary benefit of VLANs is that they can iso- late broadcast and multicast traffic by determining which destinations should receive that traffic, thereby making better use of switch and end-station resources. Logical separation using VLAN allows for the logical grouping of PCs, servers and other network resources to behave as if they were con- nected to the same, physical segment, even if they are not. HP-UX VLAN is an implementation of IEEE 802.1p/Q standards. VLAN interfaces can be configured in HP-UX servers using the command (see nwmgr_vlan(1M)) or (see lanadmin_vlan(1M)). HP recommends that you use for HP-UX Release 11i Version 3 and forward. Interfaces can also be configured using the web-based management tool HP-UX System Management Homepage (HP SMH). Each VLAN interface created is assigned a VLAN PPA (VPPA) that is unique across the system and a VLAN ID, that identifies the virtual LAN it is part of. The VLAN ID is unique on the interface on which the VLAN interface is created. WARNINGS
The and commands are deprecated. These commands will be removed in a future HP-UX release. HP recommends the use of replacement command nwmgr(1M) to perform all network interface-related tasks. SEE ALSO
lanadmin(1M), lanadmin_vlan(1M), lanscan(1M), nwmgr(1M), nwmgr_vlan(1M), smh(1M). IEEE 802.1p, IEEE 802.1Q VLAN(7)
All times are GMT -4. The time now is 11:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy