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

    Gateways and dynamic IP addresses

    Scheduled Pinned Locked Moved Routing and Multi WAN
    13 Posts 3 Posters 6.5k 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.
    • D
      doktornotor Banned
      last edited by

      Dynamic is dynamic is dynamic because it's dynamic. You are welcome to grep the relevant code. It's autogenerated gateway. What "documentation" you need? When it ain't static, it's dynamic. It could be called "bazooomblahbleh" instead; doesn't matter. Do NOT touch that thing.

      1 Reply Last reply Reply Quote 0
      • R
        RJS
        last edited by

        Thank you for your reply - I know the difference between a dynamic IP address and a static IP address. My question is about why my gateway is configured to use a dynamic IP address when my ISP provides me with a static IP address.

        As for the value "dynamic" not being documented, it's not documented - I mention this is passing in case someone wants to fix the documentation. Code is not documentation.

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          Because the code lacks AI to know that your DHCP-assigned IP is static…  ::) ::) ::)

          1 Reply Last reply Reply Quote 0
          • R
            RJS
            last edited by

            OK - I agree that there is no easy to deduce whether an IP address is static or dynamic…  :'( :'( :'(

            So let me ask my question in a different way:

            1. Why is the gateway IP address set to "dynamic" rather than the static IP address?
            2. What would break if I changed the gateway IP address to the static IP address?

            Thank you.

            Robert

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              It is set to DYNAMIC because it is NOT STATIC. If you want static, then get a static IP from your ISP and set up your WAN as STATIC instead of DHCP.

              1 Reply Last reply Reply Quote 0
              • R
                RJS
                last edited by

                But it is static - that's the whole point of my question. My ISP has allocated a static IP address for my WAN, so why is my gateway set to dynamic?

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  No, it is NOT static when WAN is set to DHCP. Noone knows that your ISP does not change the leases or the GW. Period. Stop setting the WAN to DHCP when you want static. What on earth is so hard to get here?!?

                  1 Reply Last reply Reply Quote 0
                  • R
                    RJS
                    last edited by

                    I'm sorry, but you are the one who is struggling to understand what is going on here. I appreciate your attempts to help, but you do not seem to have read my question.

                    In particular, my WAN interface definitely has a static IP address - I know this and my ISP knows this. Even pfSense knows this.

                    Moreover, my WAN interface is not configured as DHCP - it is configured as PPPoE. But that is not relevant here - my question is about the Gateway configuration in pfSense, not the Interface configuration.

                    Why is my Gateway configured as dynamic when my WAN has a static IP address?

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      Look, everything that is NOT static is DYNAMIC by definition. If you STILL cannot grok this absolutely simple concept, then imagine you have "pppoe" or "dhcp" or whatever "non-static" written there. If you STILL cannot understand, then just move on.

                      And for goddamn sake, whether or not your ISP has a static lease for you is COMPLETELY outside the code's knowledge. Ya know, the code won't ring your ISP and ask "does this dude have a static IP plan with you, guys. Since he's having giant issues with seeing a word "dynamic" so I'd like to replace that in the GUI dynamically [pun intended] with a word that doesn't bother him"?

                      ::) ::) ::)

                      1 Reply Last reply Reply Quote 0
                      • S
                        sideout
                        last edited by

                        This thread made my day!!!!

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