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

    Static WAN interfaces crashes, DHCP is OK

    General pfSense Questions
    5
    27
    4.9k
    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.
    • L
      lbm_
      last edited by

      Hi,

      Actually the lease times is 7 days..
      Without knowing the details, it seems to be that their equipment must register this lease, so the equipment learns the MAC address of the equipment in my end. When it is first registret via dhcp, I can remove the DHCP lease, and change it to static (with the same IP as I got from the DHCP). But after some time this then stops working. If I just set a static IP, before the DHCP it is not working. This behaviour is the exact same from pfsense, and a laptop I have plugged in as a test directly to the modem, so I guess there is nothing really I can do.
      I have sent by "complains" to my ISP, then we see how it goes. Most likely I will get nothing from it. :)

      Yes I have a handfull of public addresses (not in range though, or a full subnet).

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

        Since any VIP you add will inherit it's MAC from the parent interface, could you not set a VIP to use DHCP?

        Steve

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          There is one and only one instance where I would even attempt what you seem to have been trying for days now…
          If I were running a public facing DNS server.

          Other than that, why don't you just use the default DHCP on the WAN and get DynDNS or something to track the changing IP?
          BTW - I know my IP address also, but if I set it via static, my ISP will kick me also and say "They don't know why".
          Its happening because they don't want you to have a static IP unless you fork out more $$$ for it.
          They do it purposely.

          “Insanity: doing the same thing over and over again and expecting different results.”
          Albert Einstein

          1 Reply Last reply Reply Quote 0
          • L
            lbm_
            last edited by

            Hi,

            I am using DHCP on the WAN, but I cannot use DHCP on an VIP on the WAN interface.

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

              So your ISP provides you with multiple public IPs but you have to use DHCP to get them? And they are not fixed?
              Seems odd.

              Steve

              1 Reply Last reply Reply Quote 0
              • L
                lbm_
                last edited by

                @stephenw10:

                So your ISP provides you with multiple public IPs but you have to use DHCP to get them? And they are not fixed?
                Seems odd.

                Steve

                The IPs are fixed, but have to be optained using DHCP…  :o

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

                  Well, completely broken. Complain to the ISP.

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

                    Indeed.  ;)

                    Since any VIPs will inherit their MAC (unless you can spoof it?) DHCP cannot work. The easiest way around this may be to add more NICs instead of using VIPs. I don't know how practical that might be for you.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      His situation is EXACTLY the same thing I already beat my head against with the install in Denmark and the ISP sounds exactly same, right down to the 5 IPs over DHCP.  Had to use multiple virtual NICs on a pfsense 2.1 32bit install in esxi.  (64bit version was being testy)

                      The bad news is it forced me to use DHCP at WAN.

                      Good news is the IPs haven't ever changed…  YET.

                      1 Reply Last reply Reply Quote 0
                      • L
                        lbm_
                        last edited by

                        Currently their are talking about some legal bull**** for why this is done :)

                        Anyhow, yes that is indeed possible, but I currently only have 3 nics on my alix board, which was ment like this, WAN,LAN,DMZ. if this cannot be done, I might have to drop the DMZ, or drop the idea of multi public IP for reverse NAT, depending on the source network.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kejianshi
                          last edited by

                          Or get something with 5 physical NICs + 1 for LAN or something bigger with only 2 that will allow you to run pfsense in esxi…  + VLAN switch.

                          1 Reply Last reply Reply Quote 0
                          • L
                            lbm_
                            last edited by

                            @kejianshi:

                            His situation is EXACTLY the same thing I already beat my head against with the install in Denmark and the ISP sounds exactly same, right down to the 5 IPs over DHCP.  Had to use multiple virtual NICs on a pfsense 2.1 32bit install in esxi.  (64bit version was being testy)

                            The bad news is it forced me to use DHCP at WAN.

                            Good news is the IPs haven't ever changed…  YET.

                            It is not really a problem, if the IPs changes RARELY, even with "static" IPs. I know that there are no real static IPs for home users, if you really want real static IPs you have to go with a pro line.
                            Which ISP is this? Full**** ?

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

                              If you are looking to just repurpose those IPs for something in the DMZ, maybe the "Proxy requests to DHCP server on WAN subnet" option could be used.

                              1 Reply Last reply Reply Quote 0
                              • K
                                kejianshi
                                last edited by

                                Yes - Its fullrate….  Reading their Dutch pages was so fun for me.
                                You know how us Americans love the beautiful Dutch language. 
                                Its like Greek to me, but I could do better with Greek.

                                1 Reply Last reply Reply Quote 0
                                • L
                                  lbm_
                                  last edited by

                                  @kejianshi:

                                  Yes - Its fullrate….  Reading their Dutch pages was so fun for me.
                                  You know how us Americans love the beautiful Dutch language.

                                  Its Danish :)

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kejianshi
                                    last edited by

                                    Shut up…  I meant to say Danish - Everybody knows they speak Danish in Denmark...

                                    Especially us Americans - Its virtually our second language.

                                    (Its early - I haven't had my coffee.  No making fun of the dumb American guy before coffee :()

                                    The guy who actually owns the rig had some phrases he wanted me to say so he could laugh at our dumb accents.  :P

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kejianshi
                                      last edited by

                                      Anyway - There is a solution to make it work with pfsense - I'm just not sure it will work out if you are limited to a tiny Alex install.  If you are on Fullrate, same as this other guy, they bind to MACs.  Pain in the butt.

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        lbm_
                                        last edited by

                                        Sorry!  8)

                                        I am awaiting answer from the ISP now, but I am quite sure that there is nothing really to do about it…

                                        Currently I am limited to the alix board (which I actually bought to this pfsense "project")

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kejianshi
                                          last edited by

                                          stephenw10 mentioned something log ago that I never tried.  He said something about using VIPs and entering seperate MACs for each VIP to give fullrate ISP MACs to bind to.  (I may be butchering his actual words)

                                          I'd assumed this would happen on the interfaces drop down menu, after installing the VIPs and that VLAN would be required.

                                          I'm totally not sure, since I've never attempted such a thing.  Fullrate isn't blazing fast.  Could you add several USB NICs if it came down to it?
                                          USB could handle their bandwidth no problems.

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

                                            I've never tried it either, I've never had cause to. I'm not sure if you can spoof the MAC on a VIP.  :-\ Seems like it should work if you can though.

                                            Hmm, some breif googling seems to indicate you can't run multiple MACs on the same real NIC.

                                            Steve

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