Netgate 1100 LAN+OPT as switching ports
-
Hello!
I setup a DHCP Server and it works pretty well on the LAN port.
Furthere more I tried to setup the OPT port as an swichting port by following this How-To Guide https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/switch-overview.html
I expected that the DHCP server works now on LAN and OPT but it does not.
What i am missing?
-
@matthias-1 What do you have set in the PORTS and the VLAN tabs in the Switch configuration on the 1100?
-
@rcoleman-netgate thank you for your reply.
This are my settings:
-
@matthias-1 As far as I can tell here you have nothing plugged into OPT.
What shows up in the System Log under firewall regarding DHCP?
-
@rcoleman-netgate i plugged in a second PC to the OPT port.
Here the corresponding log entries:
Jun 23 05:56:13 dhcpd 72282 Internet Systems Consortium DHCP Server 4.4.2-P1
Jun 23 05:56:13 dhcpd 72282 Copyright 2004-2021 Internet Systems Consortium.
Jun 23 05:56:13 dhcpd 72282 All rights reserved.
Jun 23 05:56:13 dhcpd 72282 For info, please visit https://www.isc.org/software/dhcp/
Jun 23 05:56:13 dhcpd 72282 Config file: /etc/dhcpd.conf
Jun 23 05:56:13 dhcpd 72282 Database file: /var/db/dhcpd.leases
Jun 23 05:56:13 dhcpd 72282 Internet Systems Consortium DHCP Server 4.4.2-P1
Jun 23 05:56:13 dhcpd 72282 PID file: /var/run/dhcpd.pid
Jun 23 05:56:13 dhcpd 72282 Copyright 2004-2021 Internet Systems Consortium.
Jun 23 05:56:13 dhcpd 72282 All rights reserved.
Jun 23 05:56:13 dhcpd 72282 For info, please visit https://www.isc.org/software/dhcp/
Jun 23 05:56:13 dhcpd 72282 Wrote 0 class decls to leases file.
Jun 23 05:56:13 dhcpd 72282 Wrote 3 leases to leases file.
Jun 23 05:56:13 dhcpd 72282 Listening on BPF/mvneta0.4091/f0:ad:4e:23:32:f9/10.78.1.0/24
Jun 23 05:56:13 dhcpd 72282 Sending on BPF/mvneta0.4091/f0:ad:4e:23:32:f9/10.78.1.0/24
Jun 23 05:56:13 dhcpd 72282 Sending on Socket/fallback/fallback-net
Jun 23 05:56:13 dhcpd 72282 Server starting service.
Jun 23 05:56:15 dhcpd 74408 Internet Systems Consortium DHCP Server 4.4.2-P1
Jun 23 05:56:15 dhcpd 74408 Copyright 2004-2021 Internet Systems Consortium.
Jun 23 05:56:15 dhcpd 74408 All rights reserved.
Jun 23 05:56:15 dhcpd 74408 For info, please visit https://www.isc.org/software/dhcp/
Jun 23 05:56:15 dhcpd 74408 Config file: /etc/dhcpdv6.conf
Jun 23 05:56:15 dhcpd 74408 Database file: /var/db/dhcpd6.leases
Jun 23 05:56:15 dhcpd 74408 Internet Systems Consortium DHCP Server 4.4.2-P1
Jun 23 05:56:15 dhcpd 74408 PID file: /var/run/dhcpdv6.pid
Jun 23 05:56:15 dhcpd 74408 Copyright 2004-2021 Internet Systems Consortium.
Jun 23 05:56:15 dhcpd 74408 All rights reserved.
Jun 23 05:56:15 dhcpd 74408 For info, please visit https://www.isc.org/software/dhcp/
Jun 23 05:56:15 dhcpd 74408 Wrote 1 NA, 0 TA, 0 PD leases to lease file.
Jun 23 05:56:15 dhcpd 74408 Bound to *:547
Jun 23 05:56:15 dhcpd 74408 Listening on Socket/6/mvneta0.4091/2003:e7:970f:acf8::/62
Jun 23 05:56:15 dhcpd 74408 Sending on Socket/6/mvneta0.4091/2003:e7:970f:acf8::/62
Jun 23 05:56:15 dhcpd 74408 Server starting service.Looks like the dhcp service is crashing/restarting if i plug in something in the OPT Port, this should not happen.
-
Do you have the LAN referencing the OPT port for status? If so the services running on it will be restarted when it's disconnected.
Steve
-
@stephenw10 Hi Steve! Where can I check this?
-
In Interfaces LAN there is a field 'Switch port'. That will use the external switch port status for the interface since the physical NIC on the 1100 is internal and always UP. By default that should be set to port 2 (the LAN port). If it's set to port 1 it will reload when the OPT port links.
You can set it to 'Select the switch port' and it will no longer reflect external changes there.Steve