Network of Virtual machine not working


 
Thread Tools Search this Thread
Operating Systems Solaris Network of Virtual machine not working
# 8  
Old 01-08-2015
Quote:
Originally Posted by keziacp
Do you have some ideia or a guess of why my virtual machine network doesn't work?
Please post the commands you run and their output. My crystal ball is out of order ...
# 9  
Old 01-08-2015
Sorry... Smilie

Anyway... I have tryed a lot to configure my network and nothing work...
Code:
root@nagios2:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ipmp0: flags=8011000802<BROADCAST,MULTICAST,IPv4,FAILED,IPMP> mtu 1500 index 2
        inet 0.0.0.0 netmask 0
        groupname ipmp0
net0: flags=39040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED,STANDBY> mtu 1500 index 3
        inet 192.168.4.120 netmask ffffff00 broadcast 192.168.4.255
        groupname ipmp0
        ether 0:14:4f:f9:b9:83
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128
ipmp0: flags=28012000800<MULTICAST,IPv6,FAILED,IPMP> mtu 1500 index 2
        inet6 ::/0
        groupname ipmp0
net0: flags=20032000841<UP,RUNNING,MULTICAST,IPv6,FAILED,STANDBY> mtu 1500 index 3
        inet6 ::/0
        groupname ipmp0
        ether 0:14:4f:f9:b9:83
root@nagios2:~# ping 192.168.4.55
ping: sendto No route to host

Some times the host give me the message "Network is unreachable"
# 10  
Old 01-12-2015
Power

Pleaseee, help me Smilie
# 11  
Old 01-12-2015
The NIC you need to use to ping that adress is in status ...FAILED,STANDBY. From what I can see in your ifconfig output that won't work. I can't find to much useful informations to troubleshoot network problems in your previous posts. Be more specific with your configuration and what you are trying to do, so someone might be able to help.
# 12  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question