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

    No WAN IP

    Scheduled Pinned Locked Moved Virtualization
    21 Posts 4 Posters 2.8k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      @eiger3970 said in No WAN IP:

      pfSense WAN shows 192.168.100.10.

      192.168.100 is normally the network the cable modems dhcp server hands out when it doesn't have actual connection.

      When changing the device that is connected to a cable modem - you almost always need to power cycle the cable modem.. Make sure all the lights on the modem show it has a valid connection, then power up your pfsense or have it try and renew its lease.

      What your going to want to look for on you packet capture is dhcp traffic - set your port on your capture to 67

      If this is a VM, make sure whatever the host that controls that nic is not grabbing your IP from your ISP.

      What are you using for VM host? esxi? hyper-v, virtualbox ? etc. etc.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • E
        eiger3970
        last edited by

        I ran the pfSense packet capture on pfSense’s WAN for port 67 and same results.

        I powered down the ISP bridged modem, shutdown the vm pfSense, turned on the ISP bridged modem, turned on the vm pfSense and same results.

        The vm pfSense is hosted in Proxmox.

        Not sure on checking the vm host dhcp management,
        The cm pfSense shows hardware (virtual network device).
        Network Device (net0) virtio=42:63:7C:E4:6C:E3,bridge=vmbr0
        Network Device (net1) virtio=A6:2D:D5:4F:6C:F3,bridge=vmbr1

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          @eiger3970 said in No WAN IP:

          I ran the pfSense packet capture on pfSense’s WAN for port 67 and same results.

          So you never saw pfsense send out a discover? If so then no you would never get an IP, since you never asked for it.. When you say the same results - you mean you were seeing arps like you posted before?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • E
            eiger3970
            last edited by

            Yes, same results as before, that is:
            05:05:09.928504 ARP, Request who-has 139.217.189.59 tell 139.217.160.1, length 46

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              And what is the mac on that - like I said you prob have another device on the network grabbing your IP... But if pfsense never sends a discover.. Then how would it ever get an IP?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • E
                eiger3970
                last edited by

                The MAC ID on the pfSense:
                LAN VNIC is A6:2D:D5:4F:6C:F3.
                WAN VNIC is 42:63:7C:E4:6C:E3.

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  Talking about in the arp see who 160.1 I have to assume that is your isp.. Was there any responses??? From what mac?

                  Your saying when you sniff on your pfsense wan when trying to do a dhcp... All you ever see is some arp requests?

                  If you never see a discover than no your isp is never going to hand you a IP..

                  And again if you sniffed on wan for port 67, you wouldn't be seeing arp messages!!

                  Here, I setup a capture on wan for port 67, I then when to status interfaces, wan and did a release renew.. You can see when I hit the renew it sent a request for a address, and bam the isp dhcpd responded..

                  You do not see request, or discovers - then NO you would never get an IP... So saying your only seeing arps means you never even asked..

                  dhcprequest.png

                  If all your seeing is arps? Do you see responses??

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    eiger3970 @johnpoz
                    last edited by

                    @johnpoz
                    I released and renewed the WAN, but no change.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by johnpoz

                      2 weeks dude... How can you still be dicking with this?

                      And again - if you see no discover.. Then its not possible for you to get an IP.

                      And again if you would of sniffed how I stated to you wouldn't be seeing arps!!

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        eiger3970 @johnpoz
                        last edited by

                        @johnpoz sorry, only have time every fortnight at the moment.

                        Will reached the arps as per your suggestion.
                        Not sure how to make it ‘discover’?

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by johnpoz

                          dude your not sniffing correctly if you would not be seeing arps!! sniff UDP port 67..

                          If your not seeing discover then NO your isp is never going to send you a dhcp address.. You sure your actual wan is set for dhcp!!

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • E
                            eiger3970
                            last edited by

                            Ok, at location to test.
                            Packet capture WAN port 67 UDP:
                            01:46:30.629618 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300

                            I see no discover, how do I make pfSense discover?

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

                              Ok, you want more info ?!
                              What informing pfSense > Capture :

                              cb9208b6-5978-48d5-9deb-c12d4fd78999-image.png

                              The image shows the DHCP request, send by the DHCP Client.

                              You saw the same thing, more condensed :

                              @eiger3970 said in No WAN IP:

                              01:46:30.629618 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300

                              but my image chows a reply, the "ACK" that comes back from the DHCP server, an opstream router.

                              Yours doesn't show any replies : your upstream router / DHCP server doesn't reply - doesn't exist - requests are blocked - whatever.

                              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
                              • E
                                eiger3970
                                last edited by

                                I connected the bridged ISP modem’s LAN cable to another device and Internet works.

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

                                  @eiger3970 said in No WAN IP:

                                  I connected the bridged ISP modem’s LAN cable to another device and Internet works.

                                  One more thing to check : the WAN NIC on the pfSense device.

                                  Invert LAN and WAN during setup - console access - and retest.

                                  A pfSense can be hookup up after any (router or modem or something else) that has a DHCP server on it's LAN.
                                  pfSense, using DHCP client should and will receive an IP.

                                  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
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.