7.1 Configuring and Managing Virtual Networks (Step by Step guide)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this module we are going to configure and manage virtual network in vSphere version 6.5 hello friends this is nick from adobe solutions and today we are going to continue with the next module which is on the topic of configuring and managing virtual networks in the vSphere 6.5 so in this video we are going to look and try to describe the virtual switch connection types we are going to configure a standard switch and see how we can connect our virtual machines to standard switches and to configure virtual machine port groups as well as the VM kernel port some villains and security features included in the standard switches and we are going to look at what's the difference between the distribute switches and the standard switches so in general we have a lot of hard things to do but let's see if we can make them more simple so for the purpose of this video I have in front of me my trusty a domain controller which I'm going to use for authentication on the other hand I have my storage server which I'm going to use for storage the Icicle storage and I have powered on my 2u ESXi hosts alongside with my vCenter server which and we're going to mostly work on the V Center to see if we can configure everything from there which is the recommended action to do the first thing that I'm going to do is log into my vCenter server with my domain admin account B lab comm and while the V Center is loading I can give you more information about the network configuration and how VMware are implementing the network connection from the VMS to through the holes to the actual physical network so they're using virtual switches and most of you should be already familiar with virtual switches but the virtual switches are a layer 2 switches that can be used to connect virtual machines and they're pretty much the same as the physical switches as well but they are used to connect VMs on the same host or on different hosts the virtual switches also support VM kernel network which can be used to access remote host management vSphere vMotion ice cozy and nf-- storages so in general the two connection types within the vmware vsphere are virtual machine port groups and this is the thing that you're most of the time you use to connect your virtual machines and VM kernel ports like I said the VM kernel port is specific for specific services like IP storage vSphere vMotion migration vSphere fault tolerance visan and wispy replication in general so and of course the most important thing is the ESXi management network as well so now that I have my V Center fully loaded I'm just going to close the license one and what you want to do is you want to go to hosts and clusters and click on one of the ESXi hosts go to the configure tab right on the top and scroll to the virtual switches under the networking so in there you'll see that at the moment I have my V switch this feed this which 0 sorry I'm not able to speak correctly this morning I have my this switch 0 which if I click on it I will see what are the actual connection types that I have within this switch so at the moment I have one VM kernel port which is for my ESXi management network and I have a one virtual machine port group which is called VM Network and in there I have two connected virtual machines to it you can see right there the ports that are connected and both the management network and the VM network are connected to a single physical adapter and we are going to try and play around with connecting multiple physical adapters for load balancing and redundancy so we can see how this is done as well so if I want to add another V switch to my ESXi 0 1 host what I need to do is I need to go to this small icon on the left side at hosts networking and click in there and I'll be presented with several options that I can select from the first one is the vmkernel network adapter which again is used to configure traffic for specific ESXi services that you can see right on the top you can add a physical network adapter if you want or you can use the virtual machine port group for a standard switch to add a normal port group on another or on the same virtual switch that you have so I'm going to select this option and click Next and you can see right there I have the option to select my old V switch 0 1 only 0 or create a new standard switch which I'm going to do right now so if I need you to click this one except from from talking I'm not able to click correctly them in the morning as well that's strange but nevertheless let's continue so to create the actual standard switch I'll need a physical network adapter for me to connect to the V switch so I'm going to click on the plus and you can see I have one network adapter that is currently active I have different options as well unused adapters the chicken this is the farewell fell over order group but yeah this is the VM Nick one that I've connected to my ESXi and at the moment this Nick is not used so I'm going to select that and you can see right on the right side there are options that can be configured in here as well and things that you can you can check to see what actually you cannot configure anything but you can see different things for example the configured speed if it's a full or half duplex you can see that yeah what are what are basically the functionality of this network card so I'm going to select that and click Next and on the network on the next tab I have the option to configure the network label and this is the name that is going to be I'm going to name my virtual switch again I have problems with writing so I'm just going to copy over something I'm going to name it tests on the bottom of that you can see that I have a VLAN tagging and this is if you configure your if you want to separate the network and this is the proper way to do it most probably you have different VLAN tags on different ports where the actual ESXi are connected this is where you can basically tag the this this with the switch so it can tag the actual packets and connect successfully to the uplink port on the physical switch as well for this purpose I'm going to just leave it the way it is and just click finish to create the actual virtual switch now that I've created the this which one I can click on it and see what is the virtual machine port grouped a right here test there are no virtual machines connected and this is the physical connection to my physical Oh actually virtual connection to my physical adapter and this is another consideration here that you can use if you have a lot of physical adapters what you can do is you can create different virtual switches and that's why that way you can separate the virtual port groups and connect it to different physical switches so we can separate the network or what you can do is you can just go to the to a single V switch and in there you can create different board groups the way that there they are created right now so if I want to add another virtual board group so I'm going to just click in here and select the visa switch 0 and I'm going to create this test so it's currently taken of course I'm going to rename that so if I click finish another board group a virtual machine port group should appear right here which is called test one so instead of making two virtual switches with a single physical adapter what you can do is you can combine the two physical adapters under a single virtual switch so that way you will have redundancy on the physical level and you can separate the network by using different virtual board groups and different vmkernel ports to connect to a single switch so these are the two considerations that you can you can do in your environment so in order for me to show you how you can configure the actual physical adapters to be honest on a single virtual switch I'm just going to delete the switch that I've just created so we can free the physical adapter okay and in here by the way you can click to select specific virtual port group so that way test one for example only but just for testing purposes but if I click on edit I'm going to think be able to add another let me see if I'm going to be able to add another NIC to this one okay if we switch 0 I'm going to assign virtual Nick one and finish so now I have two physical adapters and this is the thing that you can play around with for example I can configure my test one virtual network to be only internal to have only internal connections so it's it will not go outside and I can configure so it can only connect to me see I can connect to my virtual machines to this adapter to this support group and there will be no active devices enabled so that way I will have internal connectivity for my virtual machines for example I want to isolate this network for testing let's say and it will not connect to other or go outside in general it will be only internal so only the two virtual machines can see each other what you can do on the other hand is you can connect only a single adapter so I want this network to have only to choose only one adapter and the other one can be unused and this is you can see I have to click on the overwrite so I can configure this but let's say I want to use only VM NIC 0 ok so you can see that the connection is explicitly connected to VM NIC 0 right now so these are things that you can do you can play around with the virtual machine port groups you can play around with management networks and we're going to dig a bit deeper into the failover and what are the different options but for now this is a consideration for you to see as well and try to configure yourself play around see how the connection is done and so that way you will be a bit familiar and you will get to know how the actual network inking VMR works by default during DSA xxi installation it creates a virtual machine port group named VM network that you can see right here and this is a default vm network that all the virtual machines are connected to it creates a management Network which is a VM kernel port and this is for my to manage my ESXi host so um vmware recommend that you keep separate the management network from the vm network that way you have better security and performance because the VM network traffic will be separate completely separate from the management network and if there is a huge load on network traffic the manager use you should be still able to connect your ESXi host so what I'm going to do and I'm going to show you how you can migrate the actual management network or the actual VM kernel port to another switch but what I think it's going to be best for you and it will be less likely to make a mistake is to just move the actual VM network the actual virtual machine port group instead of moving the management network but nevertheless I'm going to show you how you can do this so first in order for me to create another virtual switch for my management network I have to remove one of my physical cards ok and I will have to create another virtual switch which I'm going to only select the physical network adapter to be connected to so this is going to be a new switch and I'm going to add the virtual NIC and click finish so in order for me to migrate the management network both physical adapters need to be connected to your actual environment so if you have on this physical adapter on the second one if it is a violent act for different purpose or if it's in a different network the actual migration for the management network will fail so I'm just going to migrate the VM kernel port from the top and select the management Network click Next for network label I'll have to rename that team management click Next and this is a nice window to see it's going to analyze the actual impact if there is an impact for the virtual machines if there is an impact for the storage or if you're going to lose connectivity it says that there will be no impact so I'm going to click Next and finish like I said it's always good to move the virtual machine ports if they are not connected to you to any virtual machines of course but yeah moving the management can cause unexpected connectivity lost your ESXi so yeah you can see it's the management network the VM kernel port is connected to my physical adapter VM nic 1 and at the moment it's on a separate virtual switch so now I have the recommended state of the network the the initial networking setup that is recommended by VMware
Info
Channel: NLB Solutions
Views: 133,344
Rating: undefined out of 5
Keywords: VMware vSphere 6.5, vSphere Virtual Network 6.5, How to configure virtual network in vSphere 6.5, VCP 6.5, Vcenter 6.5 labs
Id: VHPSkBkfxqg
Channel Id: undefined
Length: 17min 7sec (1027 seconds)
Published: Sun Mar 11 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.