2 Replies Latest reply on Jul 2, 2018 5:29 AM by leami

    VM guest and Vmware ESXi host on different subnets

    leami Novice

      Hello.

       

      I am using:

      - IP subnet 192.168.2.0/24 for IP phones,

      - IP subnet 192.168.1.0/24 for all the other machines (computers, printers...).

       

      I am using Cisco Unity Connection.

      Cisco Unity Connection runs as a VM inside a Vmware ESXi host.

       

      For now, the IPs attribution is a follows:

      - phone 1: 192.168.2.3

      - phone 2: 192.168.2.4

      - Vmware ESXi host: 192.168.1.6

      - Cisco Unity Connection VM (eth0): 192.168.1.7

       

      I would like to put the Cisco Unity Connection VM on the same subnet as the phones.

      That is to say, I would like to give the IP 192.168.2.7 to the Cisco Unity Connection VM.

      I did this:

      cuc_cli# set network ip eth0 192.168.2.7 255.255.255.0 192.168.2.1

      but the VM has no network connectivity anymore.

      It cannot ping neither 192.168.2.3 (phone 1), nor 192.168.1.6 (the Vmware ESXi host).

       

      Note that, on subnet 192.168.1.0/24 the gateway is 192.168.1.1.

      There is one DNS server on this subnet, its IP is 192.168.1.10.

       

      Should the Vmware ESXi host also be put on the subnet 192.168.2.0/24 like the phones and the VM?

      Can you please tell me how I should proceed?

      Thanks and best regards.

        • 1. Re: VM guest and Vmware ESXi host on different subnets
          aleex42 Enthusiast
          vExpert

          Are you using VLANs or different portgroups? I think your two subnets are not on the same layer 2 network

           

          If your using different portgroups, you need to change the VMs nic to the other group, too.

          • 2. Re: VM guest and Vmware ESXi host on different subnets
            leami Novice

            Hello,

             

            I have two port groups "VMkernel port" ("Management Network", "vmk0", IP 192.168.1.6) and "VM Network".

            They are the "default" ones, I didn't do anything special. They came "out of the box".

            In the "VM Network", I have a single virtual machine which is the Cisco Unity Connection VM.

             

            Indeed phones (which IPs are 192.168.2.3 and 192.168.2.4) are in a separate VLAN (VLAN 100).

            Other machines are in VLAN native and have IPs on subnet 192.168.1.0/24.

             

            I still don't see what I should do.

             

            Thank you for your help and best regards.