Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dual WAN DHCP Issues

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 4 Posters 113 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pfsense_user1
      last edited by

      I'm trying to setup a second WAN interface on my 2100. When I power cycle the Spectrum modem, it briefly shows IP 192.168.100.1 for the interface, but then never gets a public IP. I mention the 192 address because it shows me that the modem and pfSense are communicating, but DHCP isn't working. 192.168.100.1 is just the internal mgmt IP for the modem.
      da136c32-f0c9-46cd-955a-7152a2c7c052-image.png

      After the power on of the modem completes, it reverts to no IP addresses for WAN2:
      09a7ccb8-e7c3-4352-89cc-4cf7514e66fa-image.png

      Interfaces:
      0707550a-50a8-479d-9f7e-6d2b9ab9fe98-image.png

      15e4c5f2-d818-4777-a957-b371502d0886-image.png
      I tried setting the parent interface on both LAN and WAN. I'm not sure if this is contributing to the issue.

      0877a3a1-6947-4ce4-a8d9-3f8e9e00ea08-image.png

      203ad79b-27de-488f-90dc-3f87b87d01f7-image.png
      3a1c0ac5-cf02-4a26-a04b-e82ceca26cb1-image.png
      The connection from the modem to the pfSense is on Port 3.

      3c4a9b43-1113-4cb5-8327-b208700f8d79-image.png

      a1b6f20a-7e58-4736-bb8a-3faef733c1f6-image.png

      M 1 Reply Last reply Reply Quote 0
      • M Online
        mcury Rebel Alliance @pfsense_user1
        last edited by

        @pfsense_user1

        In the DHCP server configuration, there is this option:
        edb45beb-d927-40fa-802e-1e91251e1171-image.png

        Just set 192.168.100.1 there.

        dead on arrival, nowhere to be found.

        P 1 Reply Last reply Reply Quote 1
        • P Offline
          pfsense_user1 @mcury
          last edited by

          @mcury Hello thank you for the response. I tried adding that setting in, but it never assigns an IPv4 address.

          One item that I didn't mention originally is that IPv6 is sometimes handed out, but it's sporadic:
          3163c224-9055-4159-a273-af6b5552a43a-image.png

          It never assigns an IPv4 address, before or after adding in the "reject leases from" setting.

          I tried turning off IPv6 on the WAN2 interface, and also deleting the IPv6 WAN2 gateway with no luck:
          c0396e26-8ca2-4807-8604-26690bcec106-image.png
          3235c499-253f-45a6-8995-16e737672a58-image.png
          f7dd458d-b914-4836-8e85-c49c4ebed5d4-image.png

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            Since it showed the 192.168.100.1 gateway address it must have pulled a lease containing that. It may not have been from that IP though. Check the dhcp logs to see what's happening then.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              pfsense_user1 @stephenw10
              last edited by pfsense_user1

              @stephenw10 The dhclient logs only show activity for WAN1, not WAN2.

              I ran a packet capture on WAN2 and this is what I got. I ran the capture after doing a modem reboot.

              16:52:56.503025 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:04.561132 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:05.503615 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:07.504406 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:12.507199 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:22.507780 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:33.589897 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:35.121168 IP 192.168.0.1 > 224.0.0.22: igmp
              16:53:35.845608 IP 192.168.0.1 > 224.0.0.22: igmp
              16:53:38.310160 IP 192.168.0.1 > 224.0.0.22: igmp
              16:53:38.525158 IP 192.168.0.1 > 224.0.0.22: igmp
              16:53:45.505022 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:45.506322 IP 192.168.100.1.67 > 192.168.100.10.68: UDP, length 300
              16:53:53.505188 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              16:53:53.506328 IP 192.168.100.1.67 > 192.168.100.10.68: UDP, length 300
              16:54:05.731285 ARP, Request who-has 192.168.100.10 tell 192.168.100.10, length 28
              16:54:07.178225 ARP, Request who-has 192.168.100.1 tell 192.168.100.10, length 28
              16:54:07.179570 ARP, Reply 192.168.100.1 is-at <MAC removed>, length 46
              16:54:07.179622 IP 192.168.100.10 > 192.168.100.1: ICMP echo request, id 11720, seq 0, length 64
              16:54:07.180623 IP 192.168.100.1 > 192.168.100.10: ICMP echo reply, id 11720, seq 0, length 64
              16:54:20.253659 IP 192.168.100.10 > 192.168.100.1: ICMP echo request, id 12980, seq 0, length 9
              16:54:20.255227 IP 192.168.100.1 > 192.168.100.10: ICMP echo reply, id 12980, seq 0, length 9
              16:54:20.761851 IP 192.168.100.10 > 192.168.100.1: ICMP echo request, id 12980, seq 1, length 9
              16:54:20.763220 IP 192.168.100.1 > 192.168.100.10: ICMP echo reply, id 12980, seq 1, length 9
              16:54:21.777608 ARP, Request who-has 192.168.100.1 tell 192.168.100.10, length 28
              16:54:21.778419 ARP, Reply 192.168.100.1 is-at <MAC removed>, length 46
              16:54:21.778477 IP 192.168.100.10 > 192.168.100.1: ICMP echo request, id 12980, seq 2, length 9
              16:54:21.779491 IP 192.168.100.1 > 192.168.100.10: ICMP echo reply, id 12980, seq 2, length 9
              ...
              16:54:39.519584 ARP, Request who-has 72.X.X.X tell 72.X.X.X, length 46
              ...

              8800b106-0a08-440a-a4b5-1e2b3c3d5537-image.png
              e3a815f4-4d48-4b32-8e64-edf35ea15395-image.png

              5b70e2cd-e52e-43f3-a55a-b5523644bd71-image.png

              The interface appears to be on a public subnet, but it doesn't get an address. After doing a reboot of the pfSense, it got IP 192.168.100.10. I rebooted the modem after that, and it got IP 192.168.100.1. I still have the "reject leases from" set to "192.168.100.1,192.168.100.10".

              1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                Right so it definitely pulled a lease. There should be something shown in the dhcp log when that happened.

                But the pcap shows the dhcp response was from 192.168.100.1 so it should have rejected that offer. Again I'd expect to see something logged.

                1 Reply Last reply Reply Quote 0
                • chpalmerC Offline
                  chpalmer
                  last edited by

                  Are both connections from the same ISP?

                  Triggering snowflakes one by one..
                  Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    pfsense_user1 @chpalmer
                    last edited by

                    @chpalmer No they are separate ISPs

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Offline
                      stephenw10 Netgate Administrator
                      last edited by

                      On a 2100 the WAN has a different MAC so shouldn't be a problem. That can be an issue on the 7100.

                      But, yes, maybe requires a different client identifier?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.