Proxmox VLAN Configuration: Linux Bridge Tagging, Management IP, and Virtual Machines

Поделиться
HTML-код
  • Опубликовано: 22 ноя 2024

Комментарии • 100

  • @hibbertsa
    @hibbertsa 9 месяцев назад +6

    This video saved my life! 50+ hours in and you finally helped me. Thanks so much!

  • @auslander1026
    @auslander1026 7 месяцев назад +16

    6:13 from manual - If you made manual changes directly to the /etc/network/interfaces file, you can apply them by running ifreload -a
    This will avoid rebooting pve as I understand

    • @AhoyCapnLinux
      @AhoyCapnLinux 18 дней назад +1

      Another option is `systemctl restart networking`

  • @radiowolf80211
    @radiowolf80211 Месяц назад +1

    Can't say this only took me an hour or even two, I struggled getting vPro to work as an out of band interface, but thanks for the video! Great info, this helped me a ton.

  • @dleemt
    @dleemt 8 месяцев назад

    Thank you SO much for this video. I was stuck on getting into the web gui on my newly deployed ProxMox server due to needing to have the management IP address on a specific vlan. this was an extremely clear and straightforward tutorial. well done.

  • @MrPir84free
    @MrPir84free 9 месяцев назад +2

    Wish I had seen this weeks or months ago; learned the hard way thru experimentation on some of this; learned other stuff however ; so not a loss. The experimentation was, uh, frustrating because not only had I added a new 4 port NIC, wasn't sure that it was working or not.
    Was tired of replugging things to move them at a switch; Now back to work..
    Thanks for the video.

    • @VirtualizationHowto
      @VirtualizationHowto  9 месяцев назад

      Awesome @MrPir84free.....experimenting and learning the hard way is always frustrating, but like you, I feel better for it afterwards...generally sticks that way :) Be sure to join the forums and share your experiences there and help others to pass along the knowledge too: www.virtualizationhowto.com/community

  • @MrSlimbrowser1
    @MrSlimbrowser1 22 дня назад

    A lot easier than how I tried to do get it to work, thank you!

  • @v6transplant
    @v6transplant 8 месяцев назад

    This video is spot-on and simple to understand. Thank you for taking the time to illustrate. 🙂

  • @fatihakbas8529
    @fatihakbas8529 3 месяца назад +1

    Thank you so much for this video!! I am new to Proxmox and this was the best tutorial for networking part! You are a great instructor!

  • @Kaffius
    @Kaffius 8 месяцев назад

    Super helpful. fixed up my issues with my bond0 and truenas networking.

  • @holgerturck6718
    @holgerturck6718 Месяц назад

    Thanks very much. This is exactly what I was looking for.

  • @jwilk2107
    @jwilk2107 7 месяцев назад

    Thank you very much for this video. Very informative👍

  • @bobkoss280
    @bobkoss280 3 месяца назад +1

    As always, your tutorials are crystal clear. Many thanks for taking the time to make them.

  • @223surf
    @223surf 11 месяцев назад +5

    Just a note that may come in handy. For larger Xeon servers, such as xeon gold, we ran into a problem with VLANs being broken due to spectre and meltdown mitigation's. I had to disable them. While this may be fixed in Kernel 6.5, I had major production issues with 6.2.

    • @VirtualizationHowto
      @VirtualizationHowto  11 месяцев назад

      Please share your findings over on the VHT forums here: www.virtualizationhowto.com/community. Thank you for the comment!

  • @SimonMudd
    @SimonMudd 8 месяцев назад +10

    When showing reconfigurations do not apply the reconfiguration by rebooting the host. Linux should not require a reboot to take configuration changes. If this were a production system you'd take it down for the time that's needed to do a reboot. Alternatively it might be better to show the specific proxmox configuration to reload the modified network configuration which should be much faster and almost immediate.

    • @elduderino7767
      @elduderino7767 6 месяцев назад

      to apply the new network configuration after changing in console just run: ifreload -a

  • @Jarek.
    @Jarek. 11 месяцев назад +5

    Personally I do this slightly different: create N bridges for all my VLANs and then bind each of them to port enp4s0.X. Then create N Linux VLANs enp4s0.X . I found this more readable to which VLAN my VM is connected to. Having said that - looking forward to see how we can use SDN introduced in recent version of Proxmox.

  • @WeVloging
    @WeVloging Месяц назад +1

    if you do not have a switch just do not follow this videoo and even you want to follow make sure your router support VLAN tagging as well and also you need to create a tag on your router and assign VLAN tag to specific port where your host is connected to. I think every video like this should start with pre-requisite

  • @jstnumber73
    @jstnumber73 6 месяцев назад +1

    You are a gentleman and a scholar. Thanks!

  • @matthewbennett2844
    @matthewbennett2844 10 месяцев назад +1

    worked a treat thanks for this video helped a lot.

  • @jegwebb
    @jegwebb 5 месяцев назад

    This was sooo good! Thank you very much! :)

  • @NADIRBAACH
    @NADIRBAACH 5 месяцев назад +1

    thanks for this video, i like your job, you have my light in this life, juste thanks !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @Ecker00
    @Ecker00 10 месяцев назад +3

    Have you looked at how the new SDN interface in PVE 8.1 works?

  • @traviswilliams6140
    @traviswilliams6140 5 месяцев назад

    I want to see an updated video for VLAN management using the new SDN features with existing externally managed (UniFi) VLANs including tagging the host os

  • @NicolaCampbell-mm9bg
    @NicolaCampbell-mm9bg 7 месяцев назад +3

    sorry i'm confused here, how do i remote into the new vlan IP address if i don't already have a host on that subnet? seems like when i apply those changes in the interfaces file i'm going to lose access to my server all together

    • @aaronryder4008
      @aaronryder4008 4 месяца назад

      I have the same question. By any chance did you find a solution for it?

    • @cmonspike
      @cmonspike Месяц назад +1

      @@aaronryder4008 He forgets to mention the part where if you change to the new vlan IP address, the port to which the Proxmox host connects to on the switch must be a Trunk port and allow traffic for VLAN 149. Your PC should also be connected to a switch on the same network that allows traffic to and from VLAN 149 to reach the Proxmox host. 😄

    • @maksymyudin2569
      @maksymyudin2569 Месяц назад

      @@cmonspike Thank you!

  • @eoeoeovideos
    @eoeoeovideos 10 месяцев назад

    Hello, thank for this tutorial! Any idea how to add IP Pools in Promox? Or how to add automatically a next public ip to the next VM that will be created!

    • @VirtualizationHowto
      @VirtualizationHowto  10 месяцев назад

      @eoeoeovideos thank you for the comment. Interesting question. I would like to learn more about your use case. Sign up on the forums and create a thread and let's discuss this in more detail: www.virtualizationhowto.com/community

  • @shakibhossain4334
    @shakibhossain4334 5 месяцев назад

    Brother i'd love to know your suggestion about building a small data center for a cloud computing service company running with Proxmox as a core system.
    Is it a good idea to run with proxmox as the core system?
    Thank you!

  • @igordasunddas3377
    @igordasunddas3377 5 месяцев назад

    Does any of this change if I want to deploy OPNsense/pfsense and use VLANs in there, too?

  • @jasoncrawford1489
    @jasoncrawford1489 Месяц назад

    These steps assume the proxmox host is connected to a managed switch that understands vlan tags?

  • @seapro4018
    @seapro4018 10 месяцев назад

    Good information here. I am trying to configure bonds and vlans, in conjunction with bridges. Basically, I want to create 2 bonds, 1 for the mgmt, and the other for my vm's. I want to have the vlans 'aware' on the vm-network, and not the mgmt bond. I can create the bonds but am having issues creating or assigning the bridge to the vm-network. Any suggestions as to how I might be able to get this done? Thanks for your videos and suggestions you might have

    • @VirtualizationHowto
      @VirtualizationHowto  10 месяцев назад

      @seapro4018 thank you for your comment! Hey hop over to the forums if you don't mind and sign up there to create a topic and we can discuss this in more detail: www.virtualizationhowto.com/community

  • @Monster_Rancher
    @Monster_Rancher 9 месяцев назад

    nice work.

  • @edd7
    @edd7 9 месяцев назад +1

    What are the downsides of just tagging the vlan ID to each VM's Network Device without doing any of this setup?

  • @ronm6585
    @ronm6585 11 месяцев назад

    Thank you.

  • @stevefxp
    @stevefxp 9 месяцев назад

    If i make a vmbr vlan aware does that mean the corresponding switch port would be setup to tag only the vlans to be passed?

  • @jefffontenot1782
    @jefffontenot1782 8 месяцев назад

    I wish someone could make a video where the installation is clear and makes sense.

    • @VirtualizationHowto
      @VirtualizationHowto  8 месяцев назад

      @jefffontenot1782 thank you for the comment! Ping me on the forums if you need more detailed help in your environment: www.virtualizationhowto.com/community

  • @DavidGlover-mi1po
    @DavidGlover-mi1po 5 месяцев назад

    If the VLAN tagging is happening on the switch ports then adding a VLAN configuration in PVE should not be needed, correct?

  • @sereneislandmusic
    @sereneislandmusic 7 месяцев назад

    Thanks! I have a question about DHCP. If I have an external DHCP server and configure the IP helper on the switch for the respective VLANs, after configuring the VLAN bridge on the host is the VM able to automatically obtain an IP address from the external DHCP?

  • @fasti8993
    @fasti8993 7 месяцев назад

    If I make vmbr0 VLAN aware but don't set a VLAN tag in the network device net0 of a VM, will the latter act as a VLAN trunc so that i could use that VM as a docker host and putt the docker containers on different VLANs using 802.1q MAC VLANs in docker?

  • @truckerallikatuk
    @truckerallikatuk 3 месяца назад

    What do you do if checking "Vlan aware" makes your NIC choke up? My Connect-x3 can only listen to 126 vlans at once. I only need 3 vlans.

  • @begamess
    @begamess 7 месяцев назад

    canyou show how to do it with unifi device like what to set up on the router side

  • @andymok7945
    @andymok7945 11 месяцев назад

    Thanks.

  • @rzart47
    @rzart47 3 месяца назад

    and what does the "AWARE" check do?

  • @debnathmriganka2010
    @debnathmriganka2010 25 дней назад

    Sir, Please help me one thing I am facing issue My PVE is bridge connection and can acess internet but when i install Ubutntu LXC, there is no internet connection. I am very new on linux, canyou please help me.

  • @CyberCam1969
    @CyberCam1969 11 месяцев назад +8

    I'm still looking for someone on YT to cover the OpenVSwitch configuration in Proxmox. Everyone and their dog does videos on the linux networking, but no one does the OpenVSwitch networking which is suppose to be better. Why? I'm really curious to know?

    • @VirtualizationHowto
      @VirtualizationHowto  11 месяцев назад +3

      create a topic over on the VHT forums here: www.virtualizationhowto.com/community and let's discuss. Thank you for the comment!

    • @2008spoonman
      @2008spoonman 11 месяцев назад

      Configuring OVS in Proxmox is very easy. Not sure about RUclips tutorials but there are a few good websites that explain howto configure OVS. Just Google it.

    • @BitterRealist27
      @BitterRealist27 10 месяцев назад

      ruclips.net/video/t7qt1wlS9uA/видео.htmlsi=slU7c-guRg2C58Bw
      Openvswitch pfsense

    • @Rivenlab
      @Rivenlab 9 месяцев назад

      Why do you want it to be covered in YT ? There is tons of tuto on google

    • @carbohydratespeter361
      @carbohydratespeter361 9 месяцев назад

      There is like no good video on that I agree

  • @ТервелМетодиев
    @ТервелМетодиев 3 месяца назад

    Hi i have a problem with configuration on my proxmox VE at the beginning of the installation i freshly install it and can't access the web GUI, i try to ping from another pc the IP address of the proxmox but nothing, get in the router i use and he doesn't see the proxmox too, so im 100% sure the problem is in the proxmox, now my question is how do i fix this i watch a lot of crap suggestions from changing my ip to rewriting the whole network/interface file nothing work can you help mi how proxmox is connecting to the internet wath i have to change DHCP IP or more.

  • @AthelstanEngland
    @AthelstanEngland 2 месяца назад

    Erm.. thanks but this puts the VM on the same Vlan as the management of the host. What if you want the management on say 10.0.0.x and different VLANs for your VMs perhaps 192.168.0.x and 192.168.1.x I cannot get that to work. Ping between VMs on the same VLAN works but none of the VMs can get to the firewall (which is on 10.0.0.x) and thus no external traffic.

  • @raul230285
    @raul230285 11 месяцев назад

    Cool

  • @matthewbennett2844
    @matthewbennett2844 10 месяцев назад

    Do you need to set the switch port as a trunk port for this to work

    • @VirtualizationHowto
      @VirtualizationHowto  10 месяцев назад +1

      @matthewbennett2844 yes you would need to make sure your switch ports uplinkng your proxmox host are configured as trunks that pass all VLANs or is tagged with all VLANs you have configured on your Linux VLANs in Proxmox. Let me know if you have any other questions. Sign up on the VHT forums and we can discuss in more detail www.virtualizationhowto.com/community

  • @iluvpeanuts7919
    @iluvpeanuts7919 7 месяцев назад

    I am having troubles with trying to get a VM in proxmox to communicate with a device outside of proxmox, separated by a L2 switch. I configured the connection from the proxmox server to the switch to be a trunk port and the connection from the switch to the external device to be an access port, accessing vlan 10. As vmbr0 is being used for something else, I created another linux bridge vmbr1, which is linked to a subinterface, ens33.10, of my physical network interface, ens33 (chatgpt told me that I could do this). I then followed your video to create a linux vlan, which creates vmbr0.10 subinterface which is then use by proxmox to communicate with the internal VM. After all this set up, the internal VM is still unable to communicate with the external VM. Any ideas?

    • @VirtualizationHowto
      @VirtualizationHowto  7 месяцев назад

      @iluvpeanuts7919 Thank you for the comment! Do you mind creating a forum post under the Proxmox help forum? We can get into more detail to troubleshoot it there. Looking forward to diving in...here is a direct link to the proxmox help forum: www.virtualizationhowto.com/community/proxmox-help/

  • @phybroptyx1999
    @phybroptyx1999 11 месяцев назад

    Random question: Is Proxmox capable of implementing port mirroring/spanning?

    • @VirtualizationHowto
      @VirtualizationHowto  10 месяцев назад

      @phybroptyx1999 join up on the VHT forums and let's discuss this: www.virtualizationhowto.com/community

  • @JirkaLottmann
    @JirkaLottmann 11 месяцев назад +1

    is it possible use this when i set proxmox to dhcp ip adress not static?

    • @VirtualizationHowto
      @VirtualizationHowto  11 месяцев назад

      Absolutely, it should work for either.

    • @VirtualizationHowto
      @VirtualizationHowto  11 месяцев назад +1

      @jirkalottmann let me know if you have more questions, be sure to sign up on the VHT forums here: www.virtualizationhowto.com/community if you want to discuss anything in more detail

  • @antropology721
    @antropology721 15 дней назад

    Thank you so much, but you shouldn't reboot pve machine after making changes. It's enough to restart networking service

  • @mikebeutler84
    @mikebeutler84 3 месяца назад

    I'm not sure why you resorted to SSH for everything. All of the settings are easily applied through the GUI, including modifications to HOSTS.

  • @sudan911
    @sudan911 9 месяцев назад

    i get blank screen when i use nano /etc/network/interface also at the top of your shell cli its an IP# PUTTY my say GNU NANO 7.2
    help?

  • @fbifido2
    @fbifido2 11 месяцев назад

    @5:34 - why only 2 to 4094 ?
    does it not have vlan 1? (0 & 4095 is revs.)
    what about vxlan ?

    • @pepeshopping
      @pepeshopping 11 месяцев назад +1

      VLAN 1 is the default untagged vlan.

    • @fbifido2
      @fbifido2 11 месяцев назад

      @@pepeshopping so, the command in that config file tells Proxmox to tagged vlan 2 to 4094?

    • @dieselwelds8645
      @dieselwelds8645 11 месяцев назад +1

      ​​@@fbifido2vlan1 by default is the native vlan. Native vlan means the frames are untagged. So the command vlan 2-4094 is permitting all frames tagged within that range. If you changed it to say vlans 20, 40, & 60, but the network had vlans 10, 20, 30, 40, 50, & 60, the vswitch will block/drop any frames tag as 10, 30, & 50 while allowing vlans 20, 40, & 60.
      Thing of a trunk port as an access port, but instead of access vlan X it's native vlan X and any other vlan frames allowed on the trunk are tagged so the switch knows how to forward them

    • @VirtualizationHowto
      @VirtualizationHowto  11 месяцев назад

      @fbifido2, thanks for the comment! Create a topic over on the VHT forums here: www.virtualizationhowto.com/community and let's discuss.

    • @dieselwelds8645
      @dieselwelds8645 11 месяцев назад

      one thing to add to that too is if you do a pcap of a 802.1q trunk interface you will see frames in the pcap with 802.1q with the vlan ID listed.

  • @edufur
    @edufur 3 месяца назад

    This did not work for me. It actually made it so I could no longer access my PVE at all. I triple checked everything and I did not get it wrong. I had to access from the console to put it back in order to gain access again.

  • @basudebbhanja1144
    @basudebbhanja1144 11 месяцев назад

    Showing error Nested Virtualization Using Windows 11 and VMWare workstation When power on Eve in VMWARE showing error VMware Workstation
    Error whie powering on: VMware Player does not
    support nested virtualization on this host.
    Module 'HV power on faied.
    Faled to start the virtual machine.

    • @basudebbhanja1144
      @basudebbhanja1144 11 месяцев назад

      Want to load Eve Ng and run Qemu in it but showing error

    • @VirtualizationHowto
      @VirtualizationHowto  11 месяцев назад

      @basudebbhanja1144 hop over and sign up on the VHT forums and let's discuss this: www.virtualizationhowto.com/community

  • @netbin
    @netbin 11 месяцев назад

    First!

  • @alexanderwenger9304
    @alexanderwenger9304 11 месяцев назад

    I used the same management IP as before and now I cant access my ProxMox anymore :(

    • @VirtualizationHowto
      @VirtualizationHowto  11 месяцев назад

      @alexanderwenger9304 hey sign up over on the forums and I we can discuss it further to troubleshoot: www.virtualizationhowto.com/community.

  • @ianemenaja4222
    @ianemenaja4222 9 месяцев назад

    How to config 2 nic and 2 Switch with vlan trunking. Port channel.😊😊

  • @RK-ly5qj
    @RK-ly5qj Месяц назад

    And thats why prox isnt popular on enterprise as ESXI is. I know what happen with vmware, but man, its much much better managed then prox. Simple things like vlans/taggs, untaggs, and u still need crafting in CLI :p

  • @roylavender7241
    @roylavender7241 8 месяцев назад

    You really should learn a little about creating videos. All the cuts and the continuous auto focus are really distracting. With a little preparation, these should be easy to avoid.

    • @VirtualizationHowto
      @VirtualizationHowto  8 месяцев назад

      @roylavender7241 Thank you for the comment and the constructive criticism. Always trying to get better, unfortunately video is not one of my strengths, but still learning :)

    • @roylavender7241
      @roylavender7241 8 месяцев назад

      @@VirtualizationHowto The content was great. It really amazes me that Proxmox is still so un-polished when it comes to supporting something as simple as VLANs. I must admit I was dumbfounded that you had to jump through these hoops so I looked in a bunch of other places. Sure enough, this is what you need to do. I mean the CLI commands aren't difficult but come on, if you make a GUI for your product, you'd think it would support these basic functions. Especially after all this time. Anyway, thank you for the content.

    • @roylavender7241
      @roylavender7241 8 месяцев назад

      Oh, and for your next video, just change the setting on your camera from continuous auto focus to single auto focus. Unless you are moving around a lot (which you aren't in videos like this), continuous auto focus is horrible. Its a simple, one-click, setting and makes the video look much more professional IMHO.

    • @edufur
      @edufur 3 месяца назад

      Get over it. He took out all the stuff that didn't need to be in the video so that we only got the important stuff. Who cares about the cuts. I care about useful content only. He shouldn't have to re-film it for a fringe group of picky Karens.