Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP won't assign IP on unttaged Port
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCP won't assign IP on unttaged Port (Read 401 times)
y0ng
Newbie
Posts: 1
Karma: 0
DHCP won't assign IP on unttaged Port
«
on:
July 13, 2024, 10:36:37 am »
Hi everyone,
This is my first post after extensively reading about setting up my OPNsense. I'm encountering an issue that I haven't been able to resolve. Let me describe my setup:
I have an OPNsense VM running as my router/firewall on Proxmox, using a 4-port Intel NIC:
Port 1: WAN
Port 2: Management interface (no VLAN)
Ports 3 and 4: Configured as a LAG carrying several VLANs
The OPNsense is connected to a 16-port TP-Link Omada SG2016P switch. My printer is connected to port 12 on the switch. Port 12 is set to untagged with a PVID of 90, which is the VLAN from which the printer should receive an IP address. All other VLANs are not available on that port.
I have configured the printer's MAC address in the corresponding VLAN's DHCP settings to get a lease with a specific IP address, but the printer does not receive an IP at all. When I set VLAN 90 to accept unknown devices, it still doesn't get an IP. When I manually set the IP on the printer, there is no connection. My linux-laptop on the other hand gets the preconfigured IP assigned on that port.
It seems like I might be missing something in the configuration. What additional information do you need to help diagnose the issue?
Thanks for reading!
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: DHCP won't assign IP on unttaged Port
«
Reply #1 on:
July 13, 2024, 12:42:47 pm »
Use "tcpdump -n -i vlan90 port bootpc" to observe DHCP requests. Replace "vlan90" with the OS name of the interface. You can find that in Interfaces > Overview or with "ifconfig" on the shell.
If you do not see any DHCP requests from your printer than it's something about your switch or the tagged port connecting OPNsense to the switch.
If you do see requests but no replies, the problem is probably on the OPNsense side.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP won't assign IP on unttaged Port