VMware ESXi Networking Class for Home lab - the basics

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มิ.ย. 2024
  • I find that many are challenged with understanding basic networking when it comes to building their home labs. I use VMware vSphere in my home lab environment. In the video we walk through understanding the basic constructs of VMware vSphere networking, VLANs, the vSphere standard switch, and networking with nested ESXi virtualization.
    Subscribe to the channel: / @virtualizationhowto
    My blog:
    www.virtualizationhowto.com
    _____________________________________________________
    Social Media:
    / vspinmaster
    LinkedIn:
    / brandon-lee-vht
    Github:
    github.com/brandonleegit
    Introduction to vSphere networking for home labs - 0:00
    Introducting the features of the VMware networking stack - 1:24
    How do you do things like tagging VLANS? - 2:00
    How do you view the physical layer? - 2:20
    Overview of the underlying configuration - 2:31
    Describing my nested VMware ESXi environment - 2:50
    Looking at the physical network adapters that uplink the ESXi hosts - 3:45
    Speed of the network connection and other information - 4:36
    Moving on to the default virtual switch and port group - 4:57
    Describing vSwitch0 - 5:30
    Looking at the management network and VMkernel port - 6:00
    Looking at the DCUI to correlate information - 6:25
    Looking at the management network in the DCUI - 6:45
    Looking at which physical adapters are configured for management access - 7:00
    Looking at the IP address configuration in the DCUI - 7:47
    Matching up what we see from the DCUI in the vSphere Client - 8:07
    Reviewing the overall picture of ESXi networking - 8:19
    How do you create VLANs and connecting VMs to VLANs - 9:00
    Describing the vSphere port group - 9:23
    Looking at the default vSphere port group - VM network - 9:51
    No VLAN tag associated with the default VM Network - 10:18
    Creating a new port group - 10:37
    Assigning a VLAN - 10:54
    Assigning a port group to a virtual machine - 11:15
    Overview of nested virtualization and networking considerations - 11:46
    Describing nested virtualization - 12:43
    How to think about nested ESXi networking - 13:30
    Talking about tagged VLAN frames - 14:17
    The requirements for the physical uplinks tagged with the appropriate VLAN frames - 15:31
    Wrapping up the networking basics class for vSphere networking basics - 16:03
    My VMware Home lab:
    www.virtualizationhowto.com/2...
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 44

  • @marbranchez
    @marbranchez ปีที่แล้ว +11

    Hello Brando Lee ! I am from Brazil and always see your vídeos about VMware ! I I would like to thank you for your videos. You speak in a very easy to understand way. Through your videos I can learn a lot

    • @leonardosouza6437
      @leonardosouza6437 ปีที่แล้ว +4

      I agree with it... very clear English to understand. Thanks for the video Brando Lee!

  • @kamikaze_twist
    @kamikaze_twist 6 หลายเดือนก่อน +5

    As an ex VMware engineer, I would say, for people looking to run this in their homelabs to learn, using it on top of workstation pro(better if its on linux) gives you the added advantage of letting you add multiple nics in bridged mode, which will get assigned a physical IP address directly from your router for each of the individual virtual nics on the workstation layer. You can then run esxi as a VM inside of Workstation and all those nics will appear as physical nics to the ESXi VM letting you take the vmnic count to 8 nics! Great for running VSAN, HA, DRS and as well as lets you use a FreeNas VM as a iSCSI or NFS datastore.! This i found it as a better solution than running ESXi directly baremetal if your homelab does not have a management interface like that of HPE iLO or Dell iDrac.

    • @VirtualizationHowto
      @VirtualizationHowto  6 หลายเดือนก่อน +2

      @nealkashya, It would be great if you could share your experiences over on the VHT forums: create a topic over on the VHT forums here: www.virtualizationhowto.com/community. Thank you for the comment!

    • @kamikaze_twist
      @kamikaze_twist 5 หลายเดือนก่อน +1

      @@VirtualizationHowto Would definitely love to since I had come across your articles in our VMware blogs as well! Currently working on building up my second homeserver/lab on a spare haswell i7 machine and will try to make a guide for noobs for esxi, pfsense, K8s,docker,portainer and truenas for self hosting since I myself had to dig up quite a lot for the same and I feel it would be a great place for beginners to just visit a single topic to just get started with!

    • @kamikaze_twist
      @kamikaze_twist 5 หลายเดือนก่อน

      @@VirtualizationHowto On the hindsight, would also be great to have your two cents on an issue where my the webconfigurator is not accessible through the WAN ip when I add a second/LAN network to my pfsense VM on my esxi host, but works if I remove the 2nd network adapter. Works entirely fine with the same workflow on Proxmox host though so baffled.

  • @nicholasbatte5560
    @nicholasbatte5560 ปีที่แล้ว +2

    Amazing, simplified tutorial. Many thanks

  • @grahammccann8554
    @grahammccann8554 10 หลายเดือนก่อน

    Hi Brandon Lee, Thank you for taking the time to make this video.

  • @anthonyhenry4543
    @anthonyhenry4543 7 หลายเดือนก่อน +1

    Brandon, thanks very much for your great videos. Your videos are always easy to understand and very informative.

  • @JosueAlejandroFerret
    @JosueAlejandroFerret 9 หลายเดือนก่อน

    The video I needed! A Million thanks!!! Keep them coming, great job!

  • @JPrez-io6qj
    @JPrez-io6qj ปีที่แล้ว +1

    First, thank you for taking the time to make these videos - extremely helpful. This video seems to have helped me get mostly there but am curious if you have another video around resource allocation/system traffic and network resource pools?

  • @akopolteseller134
    @akopolteseller134 ปีที่แล้ว

    Thank you bro..im noobs in vmware esxi and im a bit confused how this virtual switch is working..and you answer it correctly on this video

  • @cydoniaoutlaw
    @cydoniaoutlaw 4 หลายเดือนก่อน

    Great explanation... Thank you!!

  • @iamkoks_
    @iamkoks_ 8 หลายเดือนก่อน

    This was very useful. Thank you

  • @kg6itc
    @kg6itc ปีที่แล้ว

    This was Great THANKS!!!

  • @kevinkirk529
    @kevinkirk529 ปีที่แล้ว

    Thank you! Just got done upgrading 6.7 to 7.0.3.

    • @kevinkirk529
      @kevinkirk529 ปีที่แล้ว

      None of my VMFS settings were preserved. So I got a deep dive quick.

    • @kevinkirk529
      @kevinkirk529 ปีที่แล้ว

      I also have a problem with my DHCP server, webmin, on a linux VM. I have all VLAN's setup correctly within Vsphere.
      I changed out some switches and now one subnet isnt being recognized from my DHCP server. Any ideas where to start? The trunk port for all 3 hosts in my cluster?

  • @sunnylm2045
    @sunnylm2045 10 หลายเดือนก่อน

    Thank Brandon, well explaint on vswitch, but i dont quite understand the last bit you saying about "upstream " are you referring to the standard alone physical vmhost?

  • @user-pz8ft9kj4h
    @user-pz8ft9kj4h 7 หลายเดือนก่อน

    gj man.
    keep it up

  • @fredalstrom8964
    @fredalstrom8964 ปีที่แล้ว +1

    Great explanation! I'm fairly new to VMware, and have a question. Are the vmnic0, vmnic1, etc. (physical adapters) that are connected to the physical switch trunking by default, or would the interfaces need to be setup as trunk ports?

    • @VirtualizationHowto
      @VirtualizationHowto  ปีที่แล้ว +1

      Fred, thanks for the comment! The interfaces and default vSphere port group are just untagged interfaces that do not pass any VLAN tags. You have to explicitly create the port groups with the VLAN tags. Just think of the vmnic0 and vmnic1 as the pipe that carries the traffic. You then have to specify which traffic you want it to carry if that makes sense.

    • @fredalstrom8964
      @fredalstrom8964 ปีที่แล้ว

      @@VirtualizationHowto thank you! That did make sense, its not so much a mystery now. Just subscribed as well.

  • @jefferytse
    @jefferytse ปีที่แล้ว

    When a server comes with 4 nics (2 1gb and 2 10gb), what's the best practice to use in vmware?

  • @rnwtenor
    @rnwtenor 10 หลายเดือนก่อน

    Brando, I have two 10GB nics on my lab server (single esxi8 box). Currently one is configured for the ESXi8 host on vlan99 (management), which is tagged from the physical switch that the ESXi host is plugged into. I would like to use the second 10gb nic for the lab network, vlan80, which is also tagged from the physical switch. Do I need to add a vSwitch1 to vmnic1 and then add a vmk1 VMkernel adapter? Also, if I wanted to further subdivide the vlant80, it feels like I should be adding a trunking configuration to esxi8, and assigning the vlan tags in esxi. Great video. Thanks,

    • @VirtualizationHowto
      @VirtualizationHowto  10 หลายเดือนก่อน

      @rnwtenor Hey check out my reply in Discord....I think this screenshot I posted there will help.

  • @jg1000c
    @jg1000c 2 หลายเดือนก่อน

    I got confused at the end with the physical uplink, how traffic from virtual gets forwarded to physical. How is that configured? Do you configure the physical nics in trunk mode on both the virtual and physical ESXi nics? And when you build a host VM, you add 2 nics that are based on physical nics?

  • @imissyy
    @imissyy ปีที่แล้ว

    Hi Brando, I'm a bit confused that how do you run several ESXi inside a physical vSphere cluster environment mentioned at 12:05.

    • @VirtualizationHowto
      @VirtualizationHowto  ปีที่แล้ว +1

      Hey Rick, this is called nested virtualization. It just means you have ESXi installed as a virtual machine on a physical ESXi host. In this way, you can run an entire vsphere cluster on a single host.

    • @imissyy
      @imissyy ปีที่แล้ว

      @@VirtualizationHowto Thanks for your reply.

  • @g.s.3389
    @g.s.3389 ปีที่แล้ว +1

    can you make a series of video about GPU on esxi, thanks.

    • @VirtualizationHowto
      @VirtualizationHowto  ปีที่แล้ว +1

      G.S. thank you for the comment! This would be interesting and may be something I consider down the line.

  • @kristianjohnramos6678
    @kristianjohnramos6678 3 หลายเดือนก่อน

    Sir can I create vlan even I don't have switch

  • @mattboston74
    @mattboston74 ปีที่แล้ว +1

    If I wanted to setup vSphere and ESXI in my home lab are there free versions?

    • @TritonB7
      @TritonB7 ปีที่แล้ว +2

      Yes, there is a free version, although you don't have API access and you're limited to a maximum of eight cores I believe. If you're going to use VMware seriously for your career I would highly recommend looking into VMUG membership.

    • @SamAndrew27
      @SamAndrew27 ปีที่แล้ว +2

      ESXi, yes, there's a free version. For vCenter, no. However, you can get a trial. vSphere == vCenter/s managing ESXi host/s.

  • @victornoagbodji
    @victornoagbodji ปีที่แล้ว +1

    Are the Management Network and the VM Network port groups too? What didn't they a VLAN ID? 🤔

    • @keithmarkham943
      @keithmarkham943 ปีที่แล้ว +1

      Yes the management and the VM Network are individual portgroups.
      You have to conceptualize the vSwitch in the physical ESXi as the physical switch for the nested ESXi.
      The rule is, tagged traffic from the originating portgroup must match the way the physical switch handles the traffic.
      If it is an access/native/default VLAN then you send the packets untagged.
      If the physical switch is a trunk, then send the packets tagged.

    • @keithmarkham943
      @keithmarkham943 ปีที่แล้ว +1

      Your home wifi router works in this fashion. The default/access VLAN is VLAN 1. Your phone/smart TV/tablet/alexa etc... send traffic untagged and your wifi router/switch tags the traffic with VLAN 1.

    • @victornoagbodji
      @victornoagbodji ปีที่แล้ว

      @@keithmarkham943 thank you!

    • @VirtualizationHowto
      @VirtualizationHowto  ปีที่แล้ว +1

      Victor, yes these are default port groups. They are just simply "untagged" port groups. So they would just assume the native VLAN of the physical switch port. However, you can add VLAN configuration to both the Management and VM Network port groups. Does this help?

    • @victornoagbodji
      @victornoagbodji ปีที่แล้ว

      @@VirtualizationHowto yes. thank you!

  • @mikebarden8938
    @mikebarden8938 10 หลายเดือนก่อน

    I think one or two diagrams would have helped me more