1
20.7 Legacy Series / freeradius does not start with DHCP enabled.
« on: August 15, 2020, 09:32:42 pm »
Hi to everybody,
im quite new to OPNsense and just got my setup of OPNsense 20.7-amd64 combined with a SG350X-24P working as Layer 3 Switch and some VLAN's running.
The Routing between the VLAN's is all done by the switch. Networklayout see attachment.
Now I want to get the DHCP functionality running.
The goal is to setup opnsense als DHCP for all VLAN's. Well after reading alot I just ended up that its not easy possible
.
Than I found this https://github.com/opnsense/plugins/issues/1105
I want the use freeradis to secure my IP-Camera VLAN so running DHCP over it too would be great.
If I understand it right this should be possible.
So I configured my switch for DHCP Relay as discribed here: https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-300-series-managed-switches/smb1070-dhcp-relay-configuration-on-300-series-managed-switch.html and set up freeradius (look attachement). 192.168.10.2 is the ip of my LAN interface connected to the switch with an Layer 3 port. The problem is now that freeradius does not start as soon as I activate DHCP. I dont understany why. The DHCPv4 Server from OPNsense is disabled btw.
Hope anyone can give me a hind what I'm doing wrong. The Log File of freeradius is completly empty...
im quite new to OPNsense and just got my setup of OPNsense 20.7-amd64 combined with a SG350X-24P working as Layer 3 Switch and some VLAN's running.
The Routing between the VLAN's is all done by the switch. Networklayout see attachment.
Now I want to get the DHCP functionality running.
The goal is to setup opnsense als DHCP for all VLAN's. Well after reading alot I just ended up that its not easy possible
.Than I found this https://github.com/opnsense/plugins/issues/1105
I want the use freeradis to secure my IP-Camera VLAN so running DHCP over it too would be great.
If I understand it right this should be possible.
So I configured my switch for DHCP Relay as discribed here: https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-300-series-managed-switches/smb1070-dhcp-relay-configuration-on-300-series-managed-switch.html and set up freeradius (look attachement). 192.168.10.2 is the ip of my LAN interface connected to the switch with an Layer 3 port. The problem is now that freeradius does not start as soon as I activate DHCP. I dont understany why. The DHCPv4 Server from OPNsense is disabled btw.
Hope anyone can give me a hind what I'm doing wrong. The Log File of freeradius is completly empty...

