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

    PFSENSE couldnt get WAN ip from modem

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    33 Posts 9 Posters 12.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.
    • ?
      Guest
      last edited by

      I said, connect directly to pfSense from your Laptop, where did I say to go via the Cisco switch?

      Can you connect to pfSense when connected directly from the LAN port of pfSense to your Laptop, YES OR NO?

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

        yes , i can directly connect pfsense with LAN port of laptop i get DNS server as 192.168.2.1 and IP V4 of laptop as 192.168.2.2 , Here 192.168.2.1 is the LAN ip assigned in shell prompt of pfsense .

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          Good. Now connect the WAN port of pfSense to the ISP router.

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

            yeah , did as directed but WAN ip is not detecting automatically as well as i couldn't ping 8.8.8.8 DNS server of google from laptop command prompt ?

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              OK, leave the WAN connected, and go into the pfSense Web interface, What does it show as the IP address of the WAN interface?

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

                hi ,

                sorry for delay .No IP is detected its empty in the WAN interface field.

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

                  Does it show the WAN interface as UP? (green arrow)

                  Can we see a screenshot from Status > Interfaces.

                  Steve

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

                    no WAN interface is in RED

                    1 Reply Last reply Reply Quote 0
                    • NollipfSenseN
                      NollipfSense
                      last edited by

                      Dude…why are you opening multiply thread on the same exact issue...that's a big turn off!

                      Onto the subject at hand...sounds to me some conflict going on with your cable modem and might need to be in bridge mode.

                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                        should i need to change any settings over there ?

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

                          A screenshot of the WAN from Status > Interfaces would be very helpful here. Please try to get that.

                          If the interface shows the red 'down' arrow though that implies it's not even connected. I would look for a link issue, perhaps a bad cable or speed/duplex mismatch. That assumes your WAN is Ethernet directly though, if it's PPP of some sort there may be other issues. The screenshot would tell us all that.

                          Steve

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

                            I see in fact you did post a screenshot in one of the other threads you opened. I re-attached it here.

                            That shows what looks to be a working connection. The WAN is linked, UP and has a valid IP.

                            It seems like you are trying to put the cable router in modem mode to bridge the PPP connection yes?

                            Steve

                            troubleshooting.png
                            troubleshooting.png_thumb

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

                              yes but public ip is not detected in wan interface i don't know why

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

                                If it's showing a private IP on the WAN like in that screenshot it's because the ISP supplied modem/router is not passing it through. Instead is it running a dhcp server and giving pfSense a lease from that.

                                If it's a PPPoE connection you will need to configure the 'modem' to run is modem or bridge mode and then configure the PPPoE connection on the pfSense WAN.

                                Steve

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

                                  yeah i tried  to login to modem gw 192.168.1.251 for PPPoE configuration but i am unable to login to url with this gateway ip

                                  can please share me how to configure PPPoE configuration steps

                                  Thank you

                                  1 Reply Last reply Reply Quote 0
                                  • GertjanG
                                    Gertjan
                                    last edited by

                                    @rangarajan:

                                    can please share me how to configure PPPoE configuration steps

                                    Your device that is hooked up to your cable/phoneline/Coax incoming wire should be put into pure "modem" mode. In that case it just 'translates' info from one line - the incoming connection, to packets that flow over an Ethernet cable to pfSense.
                                    This Ethernet cable should be put into the WAN interface. PPPOE should be activated on this WAN (pfSense)  interface, and you probably have to enter some credentials (logion + password : transmitted to you by your ISP - this same info is present now in your router device, so it can enable the conenction).

                                    Everything depends on the instructions given to you by your ISP (their support web site, FAQ, etc)  - you haven't said anything about that part, so we don't know nothing about that.

                                    No "help me" PM's please. Use the forum, the community will thank you.
                                    Edit : and where are the logs ??

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

                                      Dear Team

                                      i here by explaning the despite of making cable modem to bridge mode also am unable to get WAN ip details in pfsense

                                      whether i should configure ppp0e in cable modem or in pfsense firewall am not clea in this point

                                      |
                                                                                  cablemodem(192.168.1.251)
                                                                                    |
                                                                                pfsense firewall(wan - 192.168.1.223) ,(lan - 192.168.2.1)
                                                                                    |
                                                                                  cisco switch (smart one)
                                                                                  |
                                                                                  pc (192.168.2.2)

                                      here am able to access the internet but issue is publi ip is not detected in wan interface of pfsense , here i have attached interface and other details in screenshots

                                      please help me

                                      20171220_105843.jpg
                                      20171220_105843.jpg_thumb
                                      20171220_105902.jpg
                                      20171220_105902.jpg_thumb

                                      1 Reply Last reply Reply Quote 1
                                      • GertjanG
                                        Gertjan
                                        last edited by

                                        IF your "cable modem" was really working in "modem" mode, it had no notion of "IP" (it's just transforming electric signals from one wire to another), and pfSene would actually have a 'real' WAN IP on it's WAN interface.
                                        But, right now, you are using DHCP-client on the WAN interface, which means it's asking for an IP. Somehow, a DHCP server is still running on your modem … and it gives a 'local' IP ( 192.168.1.251 ) to pfSEnse.

                                        Btw : the fact that you have a working Internet connection is a pretty solid prove that you have a router-after-router setup now. So your modem isn't functioning in "modem" mode at all.

                                        When I was using the box my ISP gave me, I had to put it in Modem or PPPOE mode. I had to chose pppoe mode on the WAN interface on pfSEnse, and enter a lgin and password, and I had a real WAN like "82.127.34.254" on the pfSense WAN interface.

                                        Why do you keep the DHCP-client activated on the WAN ? Is this per ISP instructions ?

                                        Today, with my new router that is hooked up to my VDSL phone line in front of pfSense has to be a router - "modem" mode isn't possible. A classic "router-after-router" setup.
                                        Not really a big deal for :
                                        he.net (for my IPv6) works.
                                        The DyNDNS service still works
                                        I have to double NAT for some IPv4 port, but I don't care, it works.

                                        Again : check out with your ISP how to change your device into a pure modem device - we can't help you with that.

                                        Edit: Removed link and merged the topics. Steve

                                        No "help me" PM's please. Use the forum, the community will thank you.
                                        Edit : and where are the logs ??

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

                                          Dear Team,

                                          i am able to access internet via pf sense firewall but only issue is public IP is not detected in wan interface of pf sense firewall despite of changing my cable modem to bridge mode also nothing worked .please help me in this

                                          1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate
                                            last edited by

                                            Typical Cable Modem procedure:

                                            Unplug WAN port from cable modem

                                            Set WAN port to DHCP

                                            Do whatever you need to do to get the cable "modem" into bridge mode.

                                            Reboot the cable modem and let it sync up.

                                            Connect the WAN port to the cable modem.

                                            In the USA, all cable modems are naturally in bridge mode. Some unlucky folks have routers with a built-in cable modem and the router portion is what actually has to be put into bridge mode. Your particular circumstance there is actually a better topic for your ISP's forum than here if you want a more specific answer.

                                            In some cases the ISP has made the brain-dead decision to lock down the MAC address it will serve on the customer side. Rebooting often clears that, but sometimes a call to the ISP is necessary and, in extreme cases, spoofing the MAC on the WAN interface might be necessary.

                                            Chattanooga, Tennessee, USA
                                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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