Subnet issue

Started by Fuggin, February 03, 2025, 06:06:31 PM

Previous topic - Next topic
Greetings. I have a minisforum MS-01 that I am using as a proxmox host running OPN in a VM. I bridged over all 4 eth ports on host, then on the OPNsense VM, I created the 4 eth ports so that the installer would see the eth ports. They are set up as follows:

WAN - 2.5gb port
LAN - 10gb port
WIFI - 2.5gb port
TEST - 10gb port

WAN port set for DHCP and picks up external IP no problem. Router is in bridge mode. Ethtool port checks in host console verifies they are connected and active.

LAN, WIFI, TEST all have just a basic ipv4 rules allow all/any for simplicity while setting up.

LAN, WIFI, TEST are set to static IP (192.168.1.0/24 through 192.168.3.0/24, respectively) with DHCP server enabled on each.

LAN and TEST work just fine. WIFI does not. I can put a wireless AP on either LAN or TEST and it will work but not on WIFI. I tried 2 different brands of wireless APs and it will not work on the WIFI subnet.

I have no idea why. Can someone shed some troubleshooting tips?

How do you accomplish this??? The two ports you mentioned are 10Gig SFP+ and the other two are 2.5Gig Copper.

You can try switching the assignments of the non-working port with one of the working ports. That should clarify if it is a port or a setup problem.

Easiest would be to exchange WAN and WIFI.

Also: How did you bridge the ports? One bridge for each port giving vtnet0-vtnet3 on OpnSense?
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 770 up, Bufferbloat A

Also, cables.

Did you try to connect a machine to WIFI and test the basics? Got IP, ping, DNS, ...

Quote from: lilsense on February 03, 2025, 06:57:36 PMHow do you accomplish this??? The two ports you mentioned are 10Gig SFP+ and the other two are 2.5Gig Copper.

It's simple..proxmox allows you create Linux bridges for each eth port. Then in the opnsense VM, you add hardware (ethernet) ports that reference the Linux bridges. Only way OPNsense sees them in the interfaces assignment.

Quote from: meyergru on February 03, 2025, 06:59:18 PMYou can try switching the assignments of the non-working port with one of the working ports. That should clarify if it is a port or a setup problem.

Easiest would be to exchange WAN and WIFI.

Also: How did you bridge the ports? One bridge for each port giving vtnet0-vtnet3 on OpnSense?

Yeah. I'll try that.

Yes..One bridge per port. Vtnet0-3

Quote from: EricPerl on February 03, 2025, 09:28:53 PMAlso, cables.

Did you try to connect a machine to WIFI and test the basics? Got IP, ping, DNS, ...

Duh...I don't know why I didn't think of that. I'll plug my laptop into it.

But I did try other cables before. Same result.

Quote from: EricPerl on February 03, 2025, 09:28:53 PMAlso, cables.

Did you try to connect a machine to WIFI and test the basics? Got IP, ping, DNS, ...

So...I tried this just now...laptop won't connect with the wifi port unless I manually enter the IP. It's like the OPN DHCP service is not running even though it says it is. I tried  ISC and Kea DHCP...same results.

If the laptop works with static IP, the OPN port is fine.

ISC can be disabled per interface (first option).
Or the interface/pool could be misconfigured.

Screenshot for the settings for that interface?
DHCP log?
DHCP is actually 4 messages so it's not hard to look at a packet capture as you plug the cable (or otherwise try to get a lease).