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

    WAN DHCP briefly assigns IP in the same subnet as LAN

    Scheduled Pinned Locked Moved DHCP and DNS
    20 Posts 4 Posters 2.0k Views
    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.
    • R
      rcoleman-netgate Netgate @pfpv
      last edited by

      @pfpv said in WAN DHCP briefly assigns IP in the same subnet as LAN:

      I am on Plus 22.05.

      What hardware you running 22.05 on?

      Ryan
      Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
      Requesting firmware for your Netgate device? https://go.netgate.com
      Switching: Mikrotik, Netgear, Extreme
      Wireless: Aruba, Ubiquiti

      P 1 Reply Last reply Reply Quote 0
      • P
        pfpv @rcoleman-netgate
        last edited by

        @rcoleman-netgate
        It's Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz PC with two dual-port PCI-E Intel NICs. Older chipset (forgot the number) that identifies as igb.

        R J 2 Replies Last reply Reply Quote 0
        • R
          rcoleman-netgate Netgate @pfpv
          last edited by

          @pfpv Have you done a PCAP on the WAN interface during this process to see what device out there is sending the DHCP address your WAN port is getting?

          Ryan
          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
          Requesting firmware for your Netgate device? https://go.netgate.com
          Switching: Mikrotik, Netgear, Extreme
          Wireless: Aruba, Ubiquiti

          P 1 Reply Last reply Reply Quote 0
          • J
            Jarhead @pfpv
            last edited by

            @pfpv That's not your LAN network.
            Your cable modem uses that as it's private address space.
            When you power cycle it, it doesn't have a wan address and assigns the private IP's to lan clients.
            Totally normal for cable modems.

            P 1 Reply Last reply Reply Quote 1
            • P
              pfpv @rcoleman-netgate
              last edited by

              @rcoleman-netgate
              No. That WAN port is connected only to the cable modem. Only my cable modem could send the address and I described why it could do it this way.

              R 1 Reply Last reply Reply Quote 0
              • P
                pfpv @Jarhead
                last edited by pfpv

                @jarhead said in WAN DHCP briefly assigns IP in the same subnet as LAN:

                @pfpv That's not your LAN network.
                Your cable modem uses that as it's private address space.
                When you power cycle it, it doesn't have a wan address and assigns the private IP's to lan clients.
                Totally normal for cable modems.

                My LAN network happens to be on the same subnet. The modem assigns it only for 2 minutes before assigning a public IP but it seems it's enough to wreck havoc.

                P.S. You confused me for a minute. The modem is in bridge mode. It is not supposed to have "LAN clients". It looks like it goes into routed mode for 2 minutes before going into bridge mode.

                J 1 Reply Last reply Reply Quote 0
                • R
                  rcoleman-netgate Netgate @pfpv
                  last edited by

                  @pfpv Have you done a PCAP on the WAN interface during this process to see what device out there is sending the DHCP address your WAN port is getting?

                  If your cable modem is authoring the DHCP address that's why you're getting it.
                  if it's coming from outside your modem it's a bigger ISP issue.

                  Ryan
                  Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                  Requesting firmware for your Netgate device? https://go.netgate.com
                  Switching: Mikrotik, Netgear, Extreme
                  Wireless: Aruba, Ubiquiti

                  P 1 Reply Last reply Reply Quote 1
                  • J
                    Jarhead @pfpv
                    last edited by

                    @pfpv Yeah, you may want to change your LAN address.

                    BTW, you can test it just by disconnecting the coax from the modem, you'll see the private address on the WAN again.

                    https://www.192-168-1-1-ip.co/router/hitron/coda-4582/6655/#:~:text=Type%20192.168.,Hitron%20CODA%2D4582%20is%20cusadmin.

                    1 Reply Last reply Reply Quote 1
                    • P
                      pfpv @rcoleman-netgate
                      last edited by

                      @rcoleman-netgate said in WAN DHCP briefly assigns IP in the same subnet as LAN:

                      @pfpv Have you done a PCAP on the WAN interface during this process to see what device out there is sending the DHCP address your WAN port is getting?

                      If your cable modem is authoring the DHCP address that's why you're getting it.
                      if it's coming from outside your modem it's a bigger ISP issue.

                      I am pretty sure it's my cable modem. I explained the possible reason. It goes into routed mode first while booting, then it goes into bridge mode.

                      I guess my question is more if I have to switch my LAN to a different subnet if this modem behavior that I can't change causes problems. Is it a problem that WAN and LAN happen to be on the same subnet for 2 minutes? DHCP server on LAN crashed and DynDNS update was initiated without a reason and didn't go well. For now I placed a dumb switch between the modem and pfSense again but it's a bandaid.

                      J R 2 Replies Last reply Reply Quote 0
                      • J
                        Jarhead @pfpv
                        last edited by

                        @pfpv It's not gonna cause any problems. It's not like you can connect to anything until the modem comes up anyway.

                        P 1 Reply Last reply Reply Quote 1
                        • R
                          rcoleman-netgate Netgate @pfpv
                          last edited by

                          @pfpv said in WAN DHCP briefly assigns IP in the same subnet as LAN:

                          I am pretty sure it's my cable modem. I explained the possible reason. It goes into routed mode first while booting, then it goes into bridge mode.

                          This is normal, though.

                          Ryan
                          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                          Requesting firmware for your Netgate device? https://go.netgate.com
                          Switching: Mikrotik, Netgear, Extreme
                          Wireless: Aruba, Ubiquiti

                          1 Reply Last reply Reply Quote 1
                          • P
                            pfpv @Jarhead
                            last edited by

                            @jarhead said in WAN DHCP briefly assigns IP in the same subnet as LAN:

                            @pfpv It's not gonna cause any problems. It's not like you can connect to anything until the modem comes up anyway.

                            Why did it cause the LAN DHCP server crash and DynDNS update? Keep in mind I am on dual-WAN with failover and at that time the primary WAN was on DSL. I think pfSense was confused.

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jarhead @pfpv
                              last edited by

                              @pfpv In that case change your LAN address.
                              I always use the 10/8 addresses based on the owners birthday.
                              So if your birthday was today, I would make your LAN address 10.7.24.0/2x.
                              Been doing this for years and have never overlapped or reused an address yet! I still expect it to come someday though.

                              P 1 Reply Last reply Reply Quote 1
                              • S
                                serbus
                                last edited by

                                Hello!

                                Check the DHCP Client Configuration in the Interface...Maybe...

                                Firefox_Screenshot_2022-07-24T22-52-00.604Z.png

                                John

                                Lex parsimoniae

                                J P 2 Replies Last reply Reply Quote 1
                                • J
                                  Jarhead @serbus
                                  last edited by

                                  @serbus Excellent point! Forgot that was there. Would save from having to change the subnet.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pfpv @Jarhead
                                    last edited by

                                    @jarhead
                                    Thanks for the tip about 10/8 addresses! Quite useful.

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      pfpv @serbus
                                      last edited by

                                      @serbus said in WAN DHCP briefly assigns IP in the same subnet as LAN:

                                      Hello!

                                      Check the DHCP Client Configuration in the Interface...Maybe...

                                      Firefox_Screenshot_2022-07-24T22-52-00.604Z.png

                                      John

                                      Thank you! This solves it. I should browse settings that are set and forgotten more often. It could have saved me from another earlier issue.

                                      Would you happen to know the details about the "Alias IPv4 address" setting in the same tab? The Netgate docs say

                                      This value used as a fixed IPv4 alias address by the DHCP client since a typical IP Alias VIP cannot be used with DHCP. This can be useful for accessing a piece of gear on a separate, statically numbered network outside of the DHCP scope. One example would be for reaching a cable modem management IP address.

                                      I set to 192.168.100.1 which is the modem management interface when in bridge mode but going there brought me to pfSense login page. I am confused.

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        rcoleman-netgate Netgate @pfpv
                                        last edited by

                                        @pfpv Try setting it to 100.2

                                        Ryan
                                        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                                        Requesting firmware for your Netgate device? https://go.netgate.com
                                        Switching: Mikrotik, Netgear, Extreme
                                        Wireless: Aruba, Ubiquiti

                                        P 1 Reply Last reply Reply Quote 1
                                        • P
                                          pfpv @rcoleman-netgate
                                          last edited by pfpv

                                          @rcoleman-netgate said in WAN DHCP briefly assigns IP in the same subnet as LAN:

                                          @pfpv Try setting it to 100.2

                                          Yes, thank you. Once you wrote it, it suddenly became very logical. It works now.

                                          I have always had a virtual IP on WAN 192.168.100.5/24 and it seemed to let me access 192.168.100.1. Only now I read in the instructions that "a typical IP Alias VIP cannot be used with DHCP".

                                          1 Reply Last reply Reply Quote 0
                                          • P pfpv referenced this topic on
                                          • P pfpv referenced this topic on
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.