There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Proxmox on Laptop, Network Setup

I am trying to install and setup proxmox on laptop and use it as daily driver. I want to make network setup that can use both ethernet and WiFi, whichever is available and i want VMs to be able to access LAN because some things dont work otherwise (like NDI). I have writen config file that makes 2 bridges and every VM would have 2 interfaces. I havent installed Proxmox yet because i dont want to mess things up (it wouldn’t be first time :) ). My question is does this config look ok and are there some recomendations.

/etc/network/interfaces


<span style="color:#323232;">auto lo
</span><span style="color:#323232;">iface lo inet loopback
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Ethernet interface
</span><span style="color:#323232;">auto eth0
</span><span style="color:#323232;">iface eth0 inet manual
</span><span style="color:#323232;">
</span><span style="color:#323232;"># WiFi interface
</span><span style="color:#323232;">auto wlan0
</span><span style="color:#323232;">iface wlan0 inet manual
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Ethernet bridge
</span><span style="color:#323232;">auto vmbr0
</span><span style="color:#323232;">iface vmbr0 inet dhcp
</span><span style="color:#323232;">    bridge_ports eth0
</span><span style="color:#323232;">    bridge_stp off
</span><span style="color:#323232;">    bridge_fd 0
</span><span style="color:#323232;">
</span><span style="color:#323232;"># WiFi bridge
</span><span style="color:#323232;">auto vmbr1
</span><span style="color:#323232;">iface vmbr1 inet dhcp
</span><span style="color:#323232;">    bridge_ports wlan0
</span><span style="color:#323232;">    bridge_stp off
</span><span style="color:#323232;">    bridge_fd 0
</span>
scholar ,

When you say you want to use proxmox as your daily driver, what sort of things are you wanting to do with it? Are you going to be spending most of your time inside a WM, and want to be able to switch to a different VM? I’m struggling to see your use case.

RealBot OP ,

I would do everything in VMs, mostly Linux and probably one Windows. Proxmox would be only for managing VMs. I want everything in VMs because it’s more flexible for partitioning storage and i can have both Linux and Windows runing at the same time (which can’t be done with dualboot). I am student of computer science so i use it for programming, both for college and side projects. Sometimes there are a lot of programs i have so OS kind of gets bloated, not so much from performance standpoint but just mental overhead of having 10, 20, 30 programs and having to keep in mind what program needs what dependencies, env variables, etc… so i want to kind of group them to VMs and CTs.

exu ,

Have you thought about trying QubesOS instead, as it’s pretty much built for this purpose?

anzo ,

And check their device compatibility list. Also, you’ll need plenty of RAM.

RealBot OP ,

That’s interesting, haven’t considered that. Although I would want to run most things in CTs/LXCs and not full VMs for performance reasons. And Proxmox has more DIY feel which i kind of like. If I fail with Proxmox, might give QubesOS a try.

Findmysec ,

Qubes OS doesn’t have GPU acceleration using Virtio-powered interfaces if that’s something you need. Also it’s based on Xen and you are not encouraged to mess around with dom0.

TBH if there’s a way that you can attach to the display output of a VM with a GUI when you start your computer, it will probably fit your use-case perfectly. I haven’t found a method to do this but I think there should be some way to attach directly to the display of a VM after booting up.

scholar ,

You’d probably be better off picking a normal distro and then running QEMU to run Windows or other VMs. Proxmox is more comparable to VMware ESXi in that it is designed for running server VMs and managed through a web ui.

RealBot OP ,

I have thought about that, but Proxmox already has built-in a lot of things for virtualization and managing VMs and has less bloat because it has only one purpose.

slazer2au ,

It’s still the wrong tool for the job though.

As others have said get a regular desktop os and enable qemu.

vegetaaaaaaa ,
@vegetaaaaaaa@lemmy.world avatar

libvirt/virt-manager is a nice VM management tool.

girsaysdoom ,

You definitely should try something with an actual desktop. It sounds like you’re wanting a headed server with virtualization capabilities. I’d personally run LXD or KVM and LXC if I needed a type 2 hypervisor and containers like what you’re saying. Luckily, a ton of distros support both of these at this point.

Btw, proxmox utilizes KVM and LXC on the backend. So the only difference is that you’re leveraging the tools directly. If you’re a CS student then learning the underlying tools is the best way to learn about a system and how it all interacts.

eldavi ,

watch out for your battery.

i don’t do proxmox; but i do a lot of virtualization through kvm/qemu on my own laptop and the battery can take a beating if you don’t mitigate it somehow. i’ve had this laptop less than 6 months and the battery condition is already at 67%.

i’m lucky in that i got this laptop from a linux company so i can can order replacement batteries; but most people don’t (willingly) have this luxury anymore.

RealBot OP ,

If i mostly use CTs/LXCs the impact should be minimal (in theory), maybe even better if i dont have everything powerd up.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines