ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VMWare Standard Vswitch Expected Behavior

    Scheduled Pinned Locked Moved IT Discussion
    5 Posts 3 Posters 700 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NetworkNerdN
      NetworkNerd
      last edited by

      I feel like this is a pretty basic question, but I think I am missing something. Say you have an ESXi box with 2 physical NICs. You provision 2 VMs in the same port group and on the same vSwitch and on the same vlAn. That vSwitch is attached to only one physical server NIC.

      In this scenario, my understanding is that for the 2 VMs to communicate via network, the traffic never leaves the ESXi host. Would that still be true if the VMs are contacting one another via DNS nam with the DNS server on a total separate host?

      1 Reply Last reply Reply Quote 1
      • NetworkNerdN
        NetworkNerd
        last edited by

        Suppose you have an application server that is configured to reference a back-end database server by fqdn. I am curious if all traffic stays within the ESXi host. What about if the app server references the database server by ip instead? I would think that would definitely stay within the host but am not sure about the DNS portion (thinking it may actually slow down communication between the VMs).

        Reid CooperR 1 Reply Last reply Reply Quote 1
        • Reid CooperR
          Reid Cooper
          last edited by

          DNS itself is only resolution and has nothing to do with the routing or switching of traffic. Resolution traffic would exit the device to hit the DNS server, but the communications itself would behave normally however it would behave if you were manually using IP addresses directly.

          1 Reply Last reply Reply Quote 3
          • Reid CooperR
            Reid Cooper @NetworkNerd
            last edited by

            @NetworkNerd said:

            Suppose you have an application server that is configured to reference a back-end database server by fqdn. I am curious if all traffic stays within the ESXi host. What about if the app server references the database server by ip instead? I would think that would definitely stay within the host but am not sure about the DNS portion (thinking it may actually slow down communication between the VMs).

            FQDN, short name and IP address will all be identical - in all three cases it references by IP Address when it actually does the connection. There is no way at the IP layer (layer 3) to use DNS. DNS is over and done with by that point.

            1 Reply Last reply Reply Quote 2
            • DashrenderD
              Dashrender
              last edited by

              Reid is dead on. Since it's a vSwitch, no traffic should leave the host as long as the communications are only between those two VMs.

              1 Reply Last reply Reply Quote 2
              • 1 / 1
              • First post
                Last post