• DHCP Server max interfaces of 4 since 21.02-RELEASE-p1

    DHCP and DNS
    3
    0 Votes
    3 Posts
    450 Views
    No one has replied
  • 0 Votes
    1 Posts
    627 Views
    No one has replied
  • 0 Votes
    2 Posts
    596 Views
    V

    I dig some more on the problem. It seems to be a dns problem with pfsense-pppoe and Windows.
    I will update when i discover some more info

  • 0 Votes
    6 Posts
    990 Views
    JKnottJ

    @godhead83

    Start simple. Get the main LAN going first, including DHCP. Once that is done, you can do the same with the VLANs, including a DHCP server for each one. By doing things one step at a time, it's easier to resolve problems. Also, you should get handy with Wireshark, to see what's actually happening on the wire. You can also enable a column in it to display VLAN ID.

  • 0 Votes
    3 Posts
    640 Views
    B

    @stephenw10
    Thank Steve for your reply.
    Switch 2 was connected to igb2 and was not communicating.
    DHCP works correctly for both vlan1 and vlan67 on Switch 1, which connects to igb1.

    I had added rules to both LAN (bridge0) and WiredLAN2 (igb2) to log any rejected events but there were nothing when Switch 2 was plugged in/out igb2.

    Worst still, I started to observe about 0.5% errors out in LAN interface even with igb2 open. Snort was not reporting anything on LAN under the bridge config. These 2 factors are enough for me to pull back from this bridged config.

    Thanks again for your advice anyway.

  • Nintendo won’t take static IP

    DHCP and DNS
    7
    0 Votes
    7 Posts
    1k Views
    JKnottJ

    @volfied said in Nintendo won’t take static IP:

    What I’m really trying to do is assign a DHCP reservation from outside the dynamic pool. It has always worked before.

    That's how it normally works. pfSense will not allow you to assign an address from within the pool.

  • 0 Votes
    13 Posts
    3k Views
    B

    @NollipfSense I am using a cable modem, so I guess I'll just wait and see if the issue returns. Hopefully not!

  • 0 Votes
    1 Posts
    394 Views
    No one has replied
  • 0 Votes
    12 Posts
    2k Views
    JKnottJ

    @CalTommo

    I don't know how, if you've set up DHCP. It just works. Configuring DHCP on a VLAN is no different than on an Ethernet port. Do you have a computer you can configure for VLAN 80? If so, just plug it into the LAN side of the pfSense box and see what happens.

  • 0 Votes
    1 Posts
    860 Views
    No one has replied
  • pfSense WAN interface wont get IP address

    Moved General pfSense Questions
    18
    0 Votes
    18 Posts
    34k Views
    O

    Using Spectrum as ISP and was pulling my hair out on why the Netgate sg-2100 wasn't getting a WAN ip address. After unplugging the modem and the Netgate for a few minutes, then plugging in the cable modem then the Netgate did it get a WAN IP address on the device, thanks!

  • 0 Votes
    10 Posts
    2k Views
    P

    It worked. Nice job.

  • 0 Votes
    5 Posts
    1k Views
    NogBadTheBadN

    Trunk your VLANs on a single pfSense interface.

    The Netgear docs suck big time.

    https://community.netgear.com/t5/Smart-Plus-Click-Switches/Port-trunking-on-GSS108E/td-p/1353948

  • 0 Votes
    3 Posts
    2k Views
    C

    Hi and thank you for your reply.

    When I stop unbound and check for running processes there is no unbound running.

    [2.4.4-RELEASE][admin@gateway.REDACTED.TLD]/root: ps ax | grep unbound 21735 0 S+ 0:00.00 grep unbound [2.4.4-RELEASE][admin@gateway.REDACTED.TLD]/root:

    After stopping all DHCP servers the following processes are running:

    [2.4.4-RELEASE][admin@gateway.REDACTED.TLD]/root: ps ax | grep dhcp 4049 - S 0:00.00 /bin/sh /var/etc/dhcp6c_wan_script.sh 56033 - Ss 618:49.04 /usr/sbin/syslogd -s -c -c -l /var/dhcpd/var/run/log -l /tmp/haproxy_chroot/var/run/log -P /var/run/syslog.pid -f /etc/syslog.conf 97216 - Ss 0:01.42 /usr/local/sbin/dhcp6c -d -c /var/etc/dhcp6c_wan.conf -p /var/run/dhcp6c_pppoe0.pid pppoe0 14705 0 S+ 0:00.00 grep dhcp [2.4.4-RELEASE][admin@gateway.REDACTED.TLD]/root:

    The DHCP log keeps getting spammed by DHCP6 client:

    Nov 5 17:12:53 dhcp6c 97216 Sending Solicit Nov 5 17:12:54 dhcp6c 97216 Sending Request Nov 5 17:12:54 dhcp6c 97216 dhcp6c Received REQUEST Nov 5 17:12:54 dhcp6c 97216 status code for NA-0: no addresses Nov 5 17:12:55 dhcp6c 97216 Sending Solicit Nov 5 17:12:57 dhcp6c 97216 Sending Request Nov 5 17:12:57 dhcp6c 97216 dhcp6c Received REQUEST Nov 5 17:12:57 dhcp6c 97216 status code for NA-0: no addresses Nov 5 17:12:58 dhcp6c 97216 Sending Solicit Nov 5 17:12:59 dhcp6c 97216 Sending Request Nov 5 17:13:00 dhcp6c 97216 dhcp6c Received REQUEST Nov 5 17:13:00 dhcp6c 97216 status code for NA-0: no addresses Nov 5 17:13:02 dhcp6c 97216 Sending Solicit Nov 5 17:13:03 dhcp6c 97216 Sending Request Nov 5 17:13:03 dhcp6c 97216 dhcp6c Received REQUEST Nov 5 17:13:03 dhcp6c 97216 status code for NA-0: no addresses

    My WAN connection uses DHCP6 and I confimed IPv6 connectivity.
    WAN has an address and IPv6 is routed as expected.

    After killing

    97216 - Ss 0:01.42 /usr/local/sbin/dhcp6c -d -c /var/etc/dhcp6c_wan.conf -p /var/run/dhcp6c_pppoe0.pid pppoe0

    I lost IPv6 connectivity and the spamming of DHCP log by DHCP6 client stopped.
    So I reconnected WAN and the spamming was back.

    Nov 5 17:26:20 dhcp6c 97216 Start address release Nov 5 17:26:20 dhcp6c 97216 Sending Release Nov 5 17:26:20 dhcp6c 97216 remove an address 2003:REDACTED:d1d4/64 on igb0 Nov 5 17:26:20 dhcp6c 97216 dhcp6c Received RELEASE Nov 5 17:26:20 dhcp6c 97216 status code: success Nov 5 17:26:21 dhcp6c 97216 exiting Nov 5 17:30:56 dhcp6c 74412 failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory Nov 5 17:30:56 dhcp6c 74412 failed initialize control message authentication Nov 5 17:30:56 dhcp6c 74412 skip opening control port Nov 5 17:30:57 dhcp6c 74510 Sending Solicit Nov 5 17:30:58 dhcp6c 74510 Sending Request Nov 5 17:30:58 dhcp6c 74510 dhcp6c Received REQUEST Nov 5 17:30:58 dhcp6c 74510 add an address 2003:REDACTED:d1d4/64 on igb0 Nov 5 17:30:58 dhcp6c 74510 status code for NA-0: no addresses Nov 5 17:31:00 dhcp6c 74510 Sending Solicit Nov 5 17:31:01 dhcp6c 74510 Sending Solicit Nov 5 17:31:03 dhcp6c 74510 Sending Solicit Nov 5 17:31:07 dhcp6c 74510 Sending Solicit Nov 5 17:31:15 dhcp6c 74510 Sending Solicit Nov 5 17:31:32 dhcp6c 74510 Sending Solicit Nov 5 17:31:33 dhcp6c 74510 Sending Request Nov 5 17:31:33 dhcp6c 74510 dhcp6c Received REQUEST Nov 5 17:31:33 dhcp6c 74510 status code for NA-0: no addresses Nov 5 17:31:35 dhcp6c 74510 Sending Solicit Nov 5 17:31:36 dhcp6c 74510 Sending Request Nov 5 17:31:36 dhcp6c 74510 dhcp6c Received REQUEST Nov 5 17:31:36 dhcp6c 74510 status code for NA-0: no addresses Nov 5 17:31:37 dhcp6c 74510 Sending Solicit Nov 5 17:31:38 dhcp6c 74510 Sending Request Nov 5 17:31:38 dhcp6c 74510 dhcp6c Received REQUEST Nov 5 17:31:38 dhcp6c 74510 status code for NA-0: no addresses Nov 5 17:31:40 dhcp6c 74510 Sending Solicit Nov 5 17:31:41 dhcp6c 74510 Sending Request Nov 5 17:31:41 dhcp6c 74510 dhcp6c Received REQUEST Nov 5 17:31:41 dhcp6c 74510 status code for NA-0: no addresses Nov 5 17:31:43 dhcp6c 74510 Sending Solicit Nov 5 17:31:44 dhcp6c 74510 Sending Request Nov 5 17:31:44 dhcp6c 74510 dhcp6c Received REQUEST Nov 5 17:31:44 dhcp6c 74510 status code for NA-0: no addresses Nov 5 17:31:46 dhcp6c 74510 Sending Solicit Nov 5 17:31:47 dhcp6c 74510 Sending Request Nov 5 17:31:47 dhcp6c 74510 dhcp6c Received REQUEST Nov 5 17:31:47 dhcp6c 74510 status code for NA-0: no addresses

    @Gertjan said in DNS Resolver & DHCP Server are constantly restarting:

    and thus dhcpleases should not run.
    Or, it's that process that restart unbound - see your own logs.

    dhcpleases was running because I enabled it again after disabling didn't change the behaiviour.

    @Gertjan said in DNS Resolver & DHCP Server are constantly restarting:

    Then restart unbound (resolver) and DHCP servers one by one - pause and observe behaviour in logs after each start.

    After starting only unbound with DHCP Registration and Static DHCP disabled unbound gets restarted every time dhcp6c is logging "Sending Solicit"

    So I checked my WAN settings and compared it to another pfSense firewall I am running with the same ISP (Deutsche Telekom Business).
    Under DHCP6 Client Configuration there is an option called Request only an IPv6 prefix (Only request an IPv6 prefix, do not request an IPv6 address).
    After enabling the checkbox the spamming of DHCP logs by DHCP6 client stopped and unbound is running without getting restarted.
    DHCP servers are also running again with no issues.

    I have no idea why it was working fine for 2+ years without the "Request only an IPv6 prefix" option checked.
    Maybe the ISP changed some settings on their side.

    Thank you very much @Gertjan for pointing me in the right direction.

  • 0 Votes
    6 Posts
    1k Views
    M

    SOLVED - I figured out my problem. It was caused by this setting below (Static ARP under the DHCP Server configuration for the interface), which I had enabled on the interface because I interpreted it incorrectly. It essentially took precedence over any and all allow rules configured for the OPT2 interface, and prevented any host without a statically assigned DHCP address from communicating with the interface even though the host received the dynamic DHCP assignment from the OPT2 interface. I hope this saves other folks time and headache.

    Screen Shot 2019-11-06 at 9.46.34 PM.png

    As explained in docs.netgate[.]comScreen Shot 2019-11-06 at 10.40.04 PM.png

  • Error in DHCP logs

    DHCP and DNS
    1
    0 Votes
    1 Posts
    238 Views
    No one has replied
  • Pfsense , DHCP and OpenVpn

    OpenVPN
    2
    0 Votes
    2 Posts
    714 Views
    V

    You have to forward OpenVPN packets on your ISP router to the pfSense WAN IP. The pfSenes WAN address should be static.

    Configuring an OpenVPN Remote Access Server

    If your public IP from your ISP isn't static, you will have to use a dynamic DNS service to have a static FQDN, which you are able to connect to from outside.
    The DDNS update should be done by the ISP router if possible. If it doesn't support that you may do it on pfSense, you can run a cron job with a short interval for that.

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • DHCP Failover and CARP

    DHCP and DNS
    2
    0 Votes
    2 Posts
    2k Views
    H

    After running for the last week I haven't had any issues with not having a failover DHCP server defined.

    Each firewall takes over their duties as expected when their partner isn't available.

    I would like to get some final confirmation though; if anyone has been through this (CARP + DHCP server failover) please tell me if my setup seems strange.

  • 0 Votes
    2 Posts
    622 Views
    stephenw10S

    @jpod2019 said in Can you run DHCP, DNS and NTP on different VIPs?:

    (I’m assuming everything will be done through the LAN interface and VIPs)

    I'm assuming you mean WAN there. 😉
    You can have a single interface and it will be WAN and that's fine. The anti-lockout rule will be applied there instead of LAN in that case.

    If you add a VIP on the WAN all services will listen on it by default so you can add VIPs for NTP and DNS and it will work. DHCP will only run on the interface address though.
    By default DHCP wil hand out it's own IP for NTP and DNS so you would need to make sure you set those values in the DHCP setup. Though it would still work fine for anything using DHCP since those services would also be listening on the interface IP.

    Steve