Proxmox can't connect after changing IP's and VLAN setup

Hey!
I recently changed from 192.168.1.1/24 to 10.1.0.0/16, reorganized my vlans and now it seems that proxmox can’t connect to anything when in a vlan? It should get the 10.20.0.2 address and should connect
My setup:
DIY OPNSense router > Unifi aggregation > Proxmox
Firewall rules:


Please tell me if I have to provide anything else!
Sincerely

  • jh-devv

This issue doesn’t seem to be related to firewall rules, am i right?
Because I can connect to the VLAN and it works but not with Proxmox?
Here are what I have set in the unifi portal for the switch:

Hey! I managed to get it working

curl https://10.20.0.2:8006 -s -k | grep title

This ^ works fron any device on the same vlan, but why can’t proxmox access the internet?

FIXED! This issue was because of dns, I had to edit /etc/resolv.conf!

any reason you chose address 10.20.0.2/16 instead of /24 ?

Basically
I don’t need the 24 space because it basically wastes the like second number (10.x.0.0) if you understand what I mean.
And I wanted to try something new :sweat_smile:

Maybe I don’t understand what you’re trying to say here, but it seems to me like you got it the wrong way round. A /16 network is larger than a /24, i.e. has more addresses.

10.0.0.0/24 is the range from 10.0.0.0 up to 10.0.0.255 (that’s 2^(32-24) = 2^8 = 256 addresses).
10.0.0.0/16 is the range from 10.0.0.0 up to 10.0.255.255 (that’s 2^(32-16) = 2^16 = 65,536 addresses).

So if you’re concerned about wasted address space, it makes no sense to choose a /16 over a /24.

@paolo is correct. You should play around with a subnet calculator.

https://www.calculator.net/ip-subnet-calculator.html

1 Like

This is what i meant, sorry. But i also wanted to try something new, realy havent ever diven into subnets more than 24