1836700 Members
2496 Online
110108 Solutions
New Discussion

Error to conect server

 
error connect
New Member

Error to conect server

I have a guest that connects to the VMhost but does not connect with an external server
7 REPLIES 7
likid0
Honored Contributor

Re: Error to conect server

Have you created a virtual switch that maps to a phisical nic(that has external conectivity) on the host?

more info on your configuration please,
It's almost imposible to help you, with this kind of input.

Windows?, no thanks
error connect
New Member

Re: Error to conect server

Version A.03.50.00
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
vdul 16 HPUX On (OS)

[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
1 10.0% 100.0%

[Memory Details]
Total Reserved
Memory Memory
======= ========
1 GB 64 MB

[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 0 0 0 0 lv /dev/vgPROY/rlvvirtual
dvd scsi 0 0 0 1 0 disk /dev/rdsk/c0t0d0

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan clan1 1 0 2 0 5a-fa-ea-42-90-b6

[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console

Version A.03.50.00
Name Number State Mode NamePPA MAC Address IP Address
======== ====== ======= ========= ======== ============== ===============
clan1 24 Up Shared lan1 0x001438ebfbbf 10.xx.xxx.114

[Port Configuration Details]
Port Port Port Untagged Number of Active VM
Number State Adaptor VLANID Reserved VMs
======= ============ ======== ======== ============ ============
1 Active lan none 1 vdul

VMhost

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x001438EBFBBE 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x001438EBFBBF 1 UP lan1 snap1 2 ETHER Yes 119

lan1: flags=843
inet 10.xx.xxx.114 netmask ffffff00 broadcast 10.xx.xxx.255

VMguest

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/2/0 0x5AFAEA4290B6 1 UP lan1 snap1 1 ETHER Yes 119

lan1: flags=1843
inet 10.xx.xxx.101 netmask ffffff00 broadcast 10.xx.xxx.255
Eric SAUBIGNAC
Honored Contributor

Re: Error to conect server

Bonjour,

What we can see is that :

- host ip 10.x.x.114 is bound to host's lan1
- virtual switch 'clan1' is bound to host's lan1
- virtual switch 'clan1' is up and running
- guest ip 10.x.x.101 is bound to guest's lan1 (nothing to do with host's lan1, just the same name)
- guest nic lan1 is connected to virtual switch 'clan1'

... and the guest can join the VM Host. Nice, I couldn't understand if it was not the case.

But how does the host to communicate with external servers ? If it uses lan0, from which you gave no information, it could be a normal behavior if :

- host's lan0 has a different IP subnet than the IP bound to host's lan1

- if host's lan0 and lan1 are not in the same ethernet lan or in a different vLan. You can check this with 'linkloop -i 1 0x001438EBFBBE'

Eric
error connect
New Member

Re: Error to conect server

It is necessary that VMhost and VMguest ip are the same?
Eric SAUBIGNAC
Honored Contributor

Re: Error to conect server

Not sure with your question.

If you are really speaking of the "same IP" assigned to both guest and host, the answer is definitivly NO.

If your are speaking in term of the "same IP network", the answer is that it depends on your network topology.

In this case, just forget that the VM guest is a virtual machine and just think in term of ip subnet and ip routing. And answer to the question : if my virtual machine was a hardware box, what should I do in order to have it speaking with other nodes.

What about lan0 on the VM Host ?

Eric
error connect
New Member

Re: Error to conect server

My problem is to talk to other nodes from VMguest and I'm not sure of the correct configuration VMguest
Eric SAUBIGNAC
Honored Contributor

Re: Error to conect server

Sorry, I am to leave office this afternoon. Maybe tomorrow, or unless someone can help you before.

But for the moment, post configuration of lan0 on the host (ifconfig lan0), routing informations from host and guest (netstat -rn)

See U 2morrow