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

    Can't set wan ip to static in pfsense 1.2.3 RC1

    Scheduled Pinned Locked Moved DHCP and DNS
    19 Posts 4 Posters 18.2k 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.
    • H
      haxs
      last edited by

      You can find your DNS servers in System > General setup, what do you have there at the moment?

      1 Reply Last reply Reply Quote 0
      • M
        MrLOVER
        last edited by

        @haxs:

        You can find your DNS servers in System > General setup, what do you have there at the moment?

        they are empty at the moment. i'll check by setting dns after few hours. now i can't break internet connectivity to my users, will update here :) thanks a lot

        1 Reply Last reply Reply Quote 0
        • D
          danswartz
          last edited by

          A couple of questions: try getting the ip info in dhcp mode and post that.  e.g. gateway, dns, subnet mask, etc…  Also, is it possible to set the adsl modem/router into bridge mode?  If so, that would make things much simpler for you.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            If pfSEnse gets its WAN IP address from DHCP it will normally also get the DNS addresses from DHCP also. Hence if you set a static WAN IP you will normally have to configure DNS IP addreses in pfSense.

            You may be able to configure your ADSL modem to always give your pfSense the same IP address (by tieing the IP adress to the MAC address of the pfSense WAN interface). This will mean the DNS IP address will get propagated from the ADSL modem and your pfSense WAN IP address wll always be the same. Works for me!

            1 Reply Last reply Reply Quote 0
            • M
              MrLOVER
              last edited by

              @danswartz:

              A couple of questions: try getting the ip info in dhcp mode and post that.  e.g. gateway, dns, subnet mask, etc…  Also, is it possible to set the adsl modem/router into bridge mode?  If so, that would make things much simpler for you.

              DHCP results in my pfsense WAN interface:
              IP address 192.168.2.10 
              Subnet mask 255.255.255.0
              Gateway 192.168.2.1
              ISP DNS servers 192.168.2.1
              Media 100baseTX <full-duplex>In/out packets 6987844/5670544 (2.65 GB/960.32 MB)
              In/out errors 0/0
              Collisions 0

              im using ZTE ZXDSL 831 series dsl modem/router. it supports bridging. but i don't know how to work with bridging…
              furthermore, all i need to do is portforwarding with ease. so i want static ip for my pfsense server. i have set my dsl modem's dhcp server to only one ip, this has solved my problem for sometime. but i think static ip is more better choice here. you can tell me if bridging will solve the problem ?</full-duplex>

              1 Reply Last reply Reply Quote 0
              • D
                danswartz
                last edited by

                bridging is always better in this kind of situation, since it removes one level of routing and NAT.  unless there is something that you need to be able to access on the adsl unit, i would just put it it bridging mode and ignore it from then on.

                1 Reply Last reply Reply Quote 0
                • M
                  MrLOVER
                  last edited by

                  @danswartz:

                  bridging is always better in this kind of situation, since it removes one level of routing and NAT.  unless there is something that you need to be able to access on the adsl unit, i would just put it it bridging mode and ignore it from then on.

                  wow it means my pfsense server will connect to my main isp without any interference of my dsl modem? and i will not need to forward ports on my dsl modem to my pfsense server? please tell me how to do bridging if this is so. this is what i want. thanks

                  1 Reply Last reply Reply Quote 0
                  • D
                    danswartz
                    last edited by

                    i have no idea, it depends on your adsl modem - if it is capable of bridging, there should be something in the docs for that.

                    1 Reply Last reply Reply Quote 0
                    • M
                      MrLOVER
                      last edited by

                      @danswartz:

                      i have no idea, it depends on your adsl modem - if it is capable of bridging, there should be something in the docs for that.

                      can you please help by team viewer? or any other remote software please?

                      1 Reply Last reply Reply Quote 0
                      • D
                        danswartz
                        last edited by

                        no, sorry.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MrLOVER
                          last edited by

                          ok i will manage bridging on my dsl, can you tell me what changes i will have to make in my pfsense after setting my modem on bridging?

                          1 Reply Last reply Reply Quote 0
                          • D
                            danswartz
                            last edited by

                            depends on how the ISP is delivering the connection.  if you have to go on the router to set bridging, look at how its WAN is set and do the same on pfsense WAN.

                            1 Reply Last reply Reply Quote 0
                            • M
                              MrLOVER
                              last edited by

                              @danswartz:

                              depends on how the ISP is delivering the connection.  if you have to go on the router to set bridging, look at how its WAN is set and do the same on pfsense WAN.

                              ok, let me show you the screenshots of my dsl modem wan pages. please recommend me how, and where i will setup my pfsense server to start bridging between my dsl modem and pfsense server.

                              when i setup bridging mode on my dsl modem. i get these steps with these options.
                              Setp 1:
                              VPI = 8
                              VCI = 81
                              Service catagory = UBR Without PCR

                              Setp 2:
                              Protocol = Bridging
                              Encapsulation Mode = LLC/SNAP

                              and here the WAN setup finished with bridging mode.

                              Other info:
                              im using ZTE ZXDSL 831 Series ADSL Modem/router.
                              my isp giving me dsl with dynamic ip.

                              here are some screenshots of my modem.

                              screenshot 1 = the other page under my wan
                              screenshot 2 = my wan connections on modem
                              screenshot 3 = this is the step 1 that i described above
                              screenshot 4 = step 2 of setup.

                              please tell me now :)

                              ![wan connections.JPG](/public/imported_attachments/1/wan connections.JPG)
                              ![wan connections.JPG_thumb](/public/imported_attachments/1/wan connections.JPG_thumb)
                              ![wan ADSL settings.JPG](/public/imported_attachments/1/wan ADSL settings.JPG)
                              ![wan ADSL settings.JPG_thumb](/public/imported_attachments/1/wan ADSL settings.JPG_thumb)
                              ![Step 1.JPG](/public/imported_attachments/1/Step 1.JPG)
                              ![Step 1.JPG_thumb](/public/imported_attachments/1/Step 1.JPG_thumb)
                              Step2.JPG
                              Step2.JPG_thumb

                              1 Reply Last reply Reply Quote 0
                              • D
                                danswartz
                                last edited by

                                Unfortunately, this does not tell us what the modem was set to before :(  My best guess is DHCP, so try that…

                                1 Reply Last reply Reply Quote 0
                                • M
                                  MrLOVER
                                  last edited by

                                  @danswartz:

                                  Unfortunately, this does not tell us what the modem was set to before :(  My best guess is DHCP, so try that…

                                  ahh ok, im sorry for taking you time. if you could tell me what you need to know so i will try my best to tell you all that info?

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    danswartz
                                    last edited by

                                    i have no idea - i don't have your modem or ISP info.  just try DHCP on the pfsense WAN and see if it works.

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