Fundamental Network Interface Configuration in Proxmox

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

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

  • @presequel
    @presequel 4 หลายเดือนก่อน +11

    i read the title which said basic network, but then you scared me with your setup :D

    • @homenetworkguy
      @homenetworkguy  4 หลายเดือนก่อน +1

      Sorry to scare you. I mentioned ‘basic’ to discuss some fundamental networking aspects in Proxmox without going into even more complex configurations.
      Using a virtualization server in general is going a little beyond basic networking for many home users.

  • @Jacob4duke
    @Jacob4duke 9 หลายเดือนก่อน +2

    please do a video for setting up an IOT network, your 3 part opnsense tutorial was amazing and got me started with homelabbing, would love to see how to setup IOT in opnsense

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

      Thanks! What would you like to see? Once you have a separate network for IoT, you can just put whatever devices you like on that network since it will be isolated from other parts of your network (in case they get compromised).

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

      I just rewatched your opnsense tutorial and there is definitely enough info for IOT in there. Is it that big of a security risk to have everything on the same subnet/vlan? its the only way i can get IOT devices to work with my homeassistant and AP@@homenetworkguy

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

      IOT devices are typically the most insecure devices because they are quickly produced and are only supported with updates for a short while after the products are released. That is why it is recommended to put those devices on their own network so if something gets compromised it doesn’t spread to the rest of your network. You can minimize the damage caused by an exploit.

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

    Looks amazing. I can't ev en get Proxmox to talk to my network. Network sees it but there is no traffic. Never had an OS that was so difficult to connect up to the network, despite all the ports being seen and recognized when installing it. I wish VMware was still Homelab friendly, everything just worked.

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

      Interesting.. what type of hardware are you using? I recently had some issues with a system with 10Gbps SFP+ interfaces but it could’ve been incompatible DAC cables I was using.

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

      @@homenetworkguy I got 2 x 36-bay Supermicro super storage servers, primary and a backup. Bother were running Unraid, but Unraid isn’t that stable and the performance is bad so I’ve kept one on Unraid and the other on TrueNAS Scale. Then I realized it was risky homelabbing on the servers storing all my data so I got a NUC with 64GB RAM. Ran out of RAM in like a week so I bought a Dell R730 and threw ~400TB RAM to run Proxmox and I’m homelabbing on that snd just keep some backup Plex and arrs on Unraid in case the Proxmox server goes down. Ended up wanting to build a rack mount PC for me and another for my son and realized that the 25U rack that I thought would be more than enough wasn’t, and got another one. I use SFP+ as an uplink to my primary router in another part of the house and also to a 10G switch I have for the servers. Got a cheap 10G and 2.5G switch for the second rack which uplinks to the main server rack so it’s all pretty fast with loads of bays to spare.

  • @ericyost5287
    @ericyost5287 10 หลายเดือนก่อน +1

    For vlan aware network bridge. so if you have a switch port that is vlan 100 that bridge port that has vlan aware enabled any vms or containers will be on vlan 100?

    • @homenetworkguy
      @homenetworkguy  10 หลายเดือนก่อน +2

      If you connect a switch port to a VLAN-aware interface on the Proxmox system and the switch port is already assigned to a particular VLAN, all VMs and CTs will be on that particular VLAN. If that is the case, you don't even need to make the bridge VLAN aware. It will just exist on that VLAN by default because the switch will tag all the traffic with the VLAN ID. VLAN-aware bridges are better suited if you are connecting to a trunk port on a network switch where you assigned multiple VLANs. This gives you the flexibility of assigning VMs and CTs to any VLAN on your network that you like.

  • @HAJJIGAMING
    @HAJJIGAMING 12 วันที่ผ่านมา

    Hello,
    I recently installed Proxmox on my pc I have 2 built-in Nics i226-V ver4 2.5G but Proxmox gets only a gigabyte speed. Is there any solution, please
    I tried to install Synology OS directly on my PC, but it is picking up the NIC as 2.5G, so it has something to do with Proxmox.

    • @homenetworkguy
      @homenetworkguy  12 วันที่ผ่านมา

      That’s odd. I haven’t seen issues with that because Proxmox is Linux based and the network drivers are generally pretty good for that sort of hardware.
      I can’t think of what the issue would be. Sometimes a better quality Ethernet cable helps but for 2.5G you only need Cat5e.
      It not only negotiating at 1Gbps when you connect it to a switch or are you referring to what it shows when you look at the system information? Just curious if you tested the throughput using iperf3 or via some other way to ensure you are getting the proper throughput.

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

    Thank you kind sir

  • @BrentLeVasseur
    @BrentLeVasseur 25 วันที่ผ่านมา

    I just went through Proxmox nic card hell. Can you please post your /etc/network/interfaces file in the description so we can see exactly how you setup all those card ports. Thanks!

    • @homenetworkguy
      @homenetworkguy  25 วันที่ผ่านมา +1

      I no longer use the same interfaces for Proxmox as in the video since I've moved to a mini PC with 4 network interfaces. I'm also using a basic Proxmox cluster as well. I've simplified how I use the interface a bit even though I'm using it in a cluster now. Below is what my config looks like (I don't want to put it in the description because it doesn't match the video):
      auto lo
      iface lo inet loopback
      iface enp3s0 inet manual
      auto enp4s0
      iface enp4s0 inet static
      address 172.30.0.40/24
      #Cluster
      iface enp5s0 inet manual
      iface enp6s0 inet manual
      iface enp2s0f0np0 inet manual
      auto enp2s0f1np1
      iface enp2s0f1np1 inet static
      address 172.20.0.40/24
      #Storage
      auto vmbr0
      iface vmbr0 inet static
      address 192.168.1.40/24
      gateway 192.168.1.1
      bridge-ports enp3s0
      bridge-stp off
      bridge-fd 0
      #Management
      auto vmbr1
      iface vmbr1 inet manual
      bridge-ports enp2s0f0np0
      bridge-stp off
      bridge-fd 0
      bridge-vlan-aware yes
      bridge-vids 2-4094
      #VLANs
      auto vmbr2
      iface vmbr2 inet manual
      bridge-ports enp5s0
      bridge-stp off
      bridge-fd 0
      #WAN
      auto vmbr3
      iface vmbr3 inet manual
      bridge-ports none
      bridge-stp off
      bridge-fd 0
      bridge-vlan-aware yes
      bridge-vids 2-4094
      #Virtual
      source /etc/network/interfaces.d/*

    • @BrentLeVasseur
      @BrentLeVasseur 25 วันที่ผ่านมา

      @ Wow! I had to revert mine to just the basics because it broke everything. Now I am still having problems with my TrueNAS VM on Proxmox, which is not seeing the network gateway, and can’t assign an IP to itself or connect to the internet to update itself. It’s driving me nuts.

  • @Shpongle64
    @Shpongle64 25 วันที่ผ่านมา

    Maybe you know how but how do I setup an actual VLAN with subnet? I tried the Linux Bridge with a Simple Zone, Vnet, Subnet, Natting. The vms will be on a private network like 10.10.10.1 but it can communicate with anything on the LAN.

    • @homenetworkguy
      @homenetworkguy  25 วันที่ผ่านมา

      Not quite sure what you’re wanting to accomplish. If you create a bridge with no physical interface, it will be a completely virtual network that other VMs can connect to on their own network.
      What I like to do is create the VLAN on my router and switches. Then I configure a VLAN-aware bridge in Proxmox and I can assign the VMs/CTs to any VLAN I want (the port on the switch where Proxmox is connected needs to be trunked to allow all VLANs)

    • @Shpongle64
      @Shpongle64 25 วันที่ผ่านมา

      @@homenetworkguy You actually answered what I thought. It has to be done on a managed switch or router.
      I've bonded a virtual bridge to a port on a nic. The VLAN zone is associated with a Vnet VLAN with a subnet of the 10.10.10.0/24. But it doesn't get an IP because I don't have a DHCP on that subnet. If I force an IP it still can't reach out through the gateway that the Proxmox server uses. The subnet wants 10.10.10.1 gateway, example, but I don't have a gateway for it really.

    • @homenetworkguy
      @homenetworkguy  25 วันที่ผ่านมา

      You could have a completely virtual bridge that’s private just for VMs but then add a second bridged interface to the VM that is associated to a real physical interface where you have VLANs assigned- Assuming you want to bridge the gap between 2 networks (a virtualized network and a physical network).

    • @Shpongle64
      @Shpongle64 20 วันที่ผ่านมา

      @@homenetworkguy I just created a virtual bridge without any configuration on it and plugged it directly to a pfsense port that was configured for a VLAN. Seems to be the only way to properly put it into a VLAN.

    • @homenetworkguy
      @homenetworkguy  20 วันที่ผ่านมา

      @@Shpongle64 I would argue that is the best way to go. You could in theory create a VLAN-aware bridge, and create multiple bridges (one for each VLAN by entering the VLAN tag on each bridge) and then assign all of those bridges to the pfSense/OPNsense VM. I think it's messier to do it that way than to use a single bridge.

  • @TimSchneider-qw1zs
    @TimSchneider-qw1zs 3 หลายเดือนก่อน

    Does this allow for network cross talk? If I vmbr0 and vmr1, how can i keep networks crossing?

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

      If both bridges are on 2 different physical interfaces, you could simply configure the network switch to be on 2 separate VLANs. This would prevent traffic from communicating between the 2 interfaces because they are on separate Layer 2 networks. You can also restrict access at Layer 3 via a router with firewall rules.

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

    Sorry if not right place to ask this. Please would you be able to do a video on opnsense Kea DHCP? Is there a way to migrate over to it?

    • @homenetworkguy
      @homenetworkguy  9 หลายเดือนก่อน +1

      I've had someone mention Kea DHCP a while ago. I haven't spent a lot of time digging into this yet but I did see where ICS DHCP is deprecated in favor of the more modern Kea DHCP. Based on a few comments on the OPNsense forum, it is likely not ready for prime time since it has recently just become available as an option to select as your DHCP service. I think this would be a good topic to cover especially once it becomes mandatory (or very strongly recommended) to switch over to it. Not sure if there will be an easy migration path or not.

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

      @@homenetworkguy thank you for your reply. I’ve noticed they implemented it into opnsense 2.41.1. Also seen on Reddit that they planning to remove the ICS DHCP at some point

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

      @@homenetworkguy Same deal for pfsense. It's not ready for prime time yet as not all the features are there like the old ICS.

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

    At 5:08 you say, that you can set VLAN on or inside your Linux Bridges. Can you explain how you do that? In other videos, they always use Linux VLAN. Also, my Opnsense never recognize my Proxmox when I set a static IP Address, hence why I use Static DHCP mapping within Opnsens. My Opnsense and Proxmox server are on separate Hardware. Big thanks for your videos.

    • @homenetworkguy
      @homenetworkguy  7 หลายเดือนก่อน

      If you create a Linux Bridge, you can either create VLANs inside a VM (such as a pfSense or OPNsense VM) and it will work just like a bare metal installation.
      You can also set the VLAN aware option on a bridge so that your VMs/CTs can be set to a specific VLAN using the VLAN Tag option.
      For VMs such as pfSense/OPNsense you won’t want to set the VLAN Tag on the bridge assigned to the VM but rather configure VLANs as usual inside the VM.

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

      @@homenetworkguy so for whatever reason, if VLAN aware is unchecked on my Linux Bridge, I can go to a VM and set the VLAN tag and it works just fine. On the other hand, if I check the VLAN aware on the bridge, the VM can't get networking anymore -- regardless if I set or not the VLAN tag.

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

      @@Tyron76 that sounds odd.. not sure I had that happen before. How do you have your switch configuration set for the port that’s connected to that physical network interface of your Proxmox system?

    • @Tyron76
      @Tyron76 4 หลายเดือนก่อน +1

      Found out that I just needed a reboot to make it work 🙄
      In the process, actually discovered a use case for creating a Linux VLAN (5:00). If you configure the port on the switch with VLAN40, then your physical network interface will be on that, thus your bridge's (vmbr0) CIDR for management needs to be in that VLAN. If you want to keep your switch in another VLAN (eg Default VLAN = 1), then you can not set CIDR on vmbr0 and configure CIDR on vmbr0.40. That way, VMs connected to the vmbr0 bridge will not be on VLAN40 by default if no tag is assigned.

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

    This guy networks.

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

    9:23 thats really cool... Sounds like you can have vlans without a managed switch... Any regular switch connected to a vlan'ed interface/NIC is on that network... Giving you multiple virtual networks even if you dont own a managed switch. Just maybe with a performanace hit....
    Is that right?
    Thanks Guy! ;)

    • @homenetworkguy
      @homenetworkguy  10 หลายเดือนก่อน +1

      If you have a managed switch configured for multiple VLANs, you can connect an unmanaged switch to any of those VLANs and anything connected to that unmanaged switch would belong to that VLAN. Same concept with virtualization. If you configure a VLAN on the server and connect an unmanaged switch it will be on that VLAN. But of course is not very practical to have one physical unmanaged switch per multiple VLANs. I actually have 1 unmanaged switch in my server rack connected to OPNsemse for my lab network so I can have a few higher speed interfaces to test performance, etc.

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

      @@homenetworkguy nice! Thanks. Might be a good stepping stone for 1st vlans, or like you said, other specific use cases...
      I don't have a managed switch but for my first clan/exploration, this new knowledge I think will help... An extra NIC is far cheaper than a managed switch...
      Maybe I'll buy a card that has a double interface. I already "need" a port to have my server running pihole to also run OpenSense and replace my old router/firewall. I think a video of your or someone explained how I can do that with a single interface but its probably best I just add a NIC to that underutilized box

  • @zyghom
    @zyghom 10 หลายเดือนก่อน +3

    I counted how many times you said: "actually" but I got lost after 123 ;-)

    • @homenetworkguy
      @homenetworkguy  10 หลายเดือนก่อน +2

      Seriously? Wow. I was focused on editing out the “umm”s and lips smacks (which I’m getting better at avoiding now that I’m more aware of the situation). Speaking in videos is much more challenging (for me) than writing guides, reviews, etc. like on my website. Always something to improve upon! Haha

    • @zyghom
      @zyghom 10 หลายเดือนก่อน +1

      @@homenetworkguy don't worry, you are doing GREAT job ;-)

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

      ​@@homenetworkguy wonder if noisegate can help take those out or if it will someday with a little ML love.

  • @zyghom
    @zyghom 10 หลายเดือนก่อน +2

    Proxmox for home LAB is as important as Home Assistant and Opnsense.
    These 3 programs are basics for everything else (of course: Linux is top but Linux is with us for what... 30 years? (ok, I checked: 1991, I wasn't that far)
    btw: dark mode sir... ;-)

    • @homenetworkguy
      @homenetworkguy  10 หลายเดือนก่อน +2

      Yes I love and use all 3 products on my home network. Several years ago, it took a little bit of time for me to warm up to the concept of using a virtualization server at home but now I can’t imagine my homelab without it.

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

    Here is a question how I connect proxmox to the WIFI without ethernet and a laptop without an Ethernet port.

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

      If you can’t configure it from the web UI, you may have to tweak that configuration via command line. I haven’t tried configuring wireless with Proxmox since I have always used wired interfaces. Would be interesting to look into though even though it’s not quite as ideal as using a wired connection (I understand you are trying to reuse a laptop as a virtualization server and don’t have other options).

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

    so much bla bla bla and nothing informative...

    • @homenetworkguy
      @homenetworkguy  6 หลายเดือนก่อน +1

      Thanks for your feedback.

    • @samf15h3r
      @samf15h3r 6 หลายเดือนก่อน

      Same, this wasn’t very informative for someone new to proxmox. Please define what a bridge is and the concept of assigning ports to them first.

    • @homenetworkguy
      @homenetworkguy  6 หลายเดือนก่อน

      Sometimes finding the right balance between novice level information and more advanced topics is difficult because you have to assume a certain level of knowledge when covering topics. I like to focus more on intermediate/advanced topics rather than beginner topics. However I do want to make as much of my content approachable to new users as possible. Thanks for the feedback! It helps me determine what is useful and what is not as useful.

  • @CharizardSnyper
    @CharizardSnyper 10 หลายเดือนก่อน +1

    Do you have a discord server I can join for some one on one help?

    • @JasonsLabVideos
      @JasonsLabVideos 10 หลายเดือนก่อน +1

      Nope, but thats a good idea for him.

    • @homenetworkguy
      @homenetworkguy  10 หลายเดือนก่อน +2

      I don’t have my own server set up but I do have a Discord account. I have debated if it’s best to use an ecosystem like Discord or set up a Discourse forum on my website (right now I’m using Simple Machines Forum but it feels more clunky than a Discourse forum- I’m also have other issues with that forum I have yet to fix).

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

      @@homenetworkguy why limit yourself to just one platform? You can have a forum site for the people that prefer a thread oriented support system (where answers can build up) and a discord server for people like me that are seeking real time support. Kinda spit balling over here but you could probably set up something that can automatically archive 14 days old discord tickets and post them on your site for them google clicks.
      Mind if I ask here on youtube?

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

      The hard part for me is not spreading myself too thin, I get emails through my contact page, comments on my website, questions on my forum (when it was working properly), comments on TH-cam, comments/questions on Reddit, questions on Facebook (rare but has happened), questions/comments on Twitter/X, comments on Instagram.
      I think have quite a few options already. I’m only one man doing all of this in my spare time (would be awesome to do it full time though!), haha.
      I could try adding another platform.. but I may be slow to answering questions at times. I still have an email backlog to get through from December. Haha.
      Sure, you may ask some questions here. Sometimes it’s a bit hard to find them because TH-cam kind of makes it hard to follow back up with comments once you start getting new comments (they get a bit buried).

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

      I think you need to centralize your community instead trying to keep up with multiple platforms. I get posting and helping people on reddit,x/twitter, Instagram and Facebook since it brings attention to your page, but what happens when your channel starts growing at a rapid rate?
      If you were to set up a discord server with a ticketing system and/or a dedicated forum site, you can offload a lot of the common questions you might normally receive to the individuals you have helped previously. You won't have to be as hands on unless there's an individual trying to set up something more complex than the average user.
      A bit of context for my questions: I'm trying to set up a glorified 10gb router/switch using a modified supermicro board with 3x540-t2 chips (6×10gb ports). I am not bridging my connection between my modem and opnsense box but running it behind my modem (I will be switching from fiber to cable in the coming days for 3 months and then switch back to my fiber provider when I qualify as a new customer for the $70 8gb plan).
      Questions:
      Bare metal opnsense: why is it that whenever I configure opnsense lan address using the same subnet as my isp provided modem, 192.168.2.x, I can't access the webgui? Same thing happens when I use opnsense cli commands to grab a dhcp lan address from my modem.
      Virtualize opnsense using proxmox: all the problems I was having with bare metal just works, but how can I set up my network so I can have a 10gb connection between opnsense and my pc but still have access to proxmox management interface on my pc? When I was testing it out during the weekend, I had to use a cheap unmanaged switch to connect proxmox management network, opnsense lan and my pc to the same newtwork just to access the webguis

  • @brizm7193
    @brizm7193 4 หลายเดือนก่อน +1

    So went from basics to you going all over the place... I am so confused now. Don't advertise a basic network video, then gloss over what you have setup without the reasons why.

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

      Sorry that you are confused. I wasn’t implying a “basic network setup” but a “basic network interface” configuration in Proxmox. Basic network configuration in Proxmox consists of knowing how to use bridges. I suppose you could only use the default bridge that Proxmox sets up by default and that would be considered more basic. The reason I said ‘basic’ is that you could get into SDNs (software defined networks) which I consider more advanced network configuration for Proxmox. The SDN is a newer networking feature of Proxmox.