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

    ARP reports bogons

    Scheduled Pinned Locked Moved General pfSense Questions
    91 Posts 5 Posters 14.4k 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 @deanfourie
      last edited by

      @deanfourie said in ARP reports bogons:

      if I try ipconfig /renew it fails to contact a dhcp server

      Well yeah if your devices loose their ips nothing is going to work. And as they get closer to their lease expire they will start screaming for renew.. faster and faster.. Until it finally expires, then they will send out a discover..

      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
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You wouldn't see offers in pfSense because they are sent to the clients dircetly.

        However you would expect to see something on the client. Even if it was from the wrong server.

        This starts to feel more like something blocking DHCP or possibly blocking broadcasts. Though the initial dhcp renewal would not be broadcast.

        Are you only seeing this on the subnet accessed via the OpenWRT AP?

        Do you have any additional packages running on the AP?

        Check the logs in OpenWRT for anything odd at that time.

        Steve

        D 1 Reply Last reply Reply Quote 0
        • D
          deanfourie @stephenw10
          last edited by

          @stephenw10 In my logs I am seeing a LOT of DHCP traffic.

          I am seeing a lot of DHCP ACS's and REQUESTS, but very few OFFERS. Normal?

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

            Mostly you see renewals and acks. You only see discover/offers for new clients that don't yet have an IP.

            So, nothing unusual in the AP?

            Are you only seeing this in clients using that AP?

            D 2 Replies Last reply Reply Quote 0
            • D
              deanfourie @stephenw10
              last edited by

              @stephenw10 I will check AP tonight,

              But I'm also getting random uncommanded reboots during the night, 2 last night.

              pfSense just rebooting randomly.

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

                Huh, well seems like something more significant.

                Do you see a crash report when it boots back?

                D 1 Reply Last reply Reply Quote 0
                • D
                  deanfourie @stephenw10
                  last edited by

                  @stephenw10 I do not, would I see this in the logs directly?

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

                    No, if it panicked and crashed you would normally see a crash report as an alert on the dash when you log back in after it reboots.

                    If if just resets instantly with no kernel panic that's more likely to be a hardware issue.

                    Do you see anything at the console when that happens?

                    Steve

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      deanfourie @stephenw10
                      last edited by

                      @stephenw10 This is the same time pfSense VM went down, so I guess the server rebooted, not pfSense.

                      The computer has rebooted from a bugcheck. The bugcheck was: 0x00020001 (0x0000000000000011, 0x00000000002182ae, 0x0000000000001005, 0x0000010000003b80). A dump was saved in: C:\Windows\MEMORY.DMP. Report Id: 3fc6cc5c-a540-425f-9522-d0f8dfb9b40a.

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

                        Ah, it's a VM. Then yes, almost certainly. Is that what's causing every pfSense reboot? That's pretty bad if so.

                        1 Reply Last reply Reply Quote 0
                        • D
                          deanfourie @stephenw10
                          last edited by

                          @stephenw10 ok checked the AP, there is definitely no leases being handed out on that network. Everything seems to be working fine on the AP.

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

                            @stephenw10 im getting so many bogons on subnets that dont even exist on my network.

                            Also for auto configuration IPs

                            Im getting heaps!

                            Oct 10 18:19:52	arpwatch	74390	bogon 192.168.1.112 02:2d:1e:a0:e2:de
                            Oct 10 18:19:53	arpwatch	74390	bogon 192.168.1.112 02:2d:1e:a0:e2:de
                            
                            Oct 10 21:14:47	arpwatch	73733	bogon 0.0.0.0 c4:9d:ed:89:ed:05
                            Oct 10 21:14:48	arpwatch	73733	bogon 0.0.0.0 c4:9d:ed:89:ed:05
                            Oct 10 21:14:49	arpwatch	73733	bogon 0.0.0.0 c4:9d:ed:89:ed:05
                            Oct 10 21:14:50	arpwatch	73733	bogon 169.254.192.108 c4:9d:ed:89:ed:05
                            Oct 10 21:14:50	arpwatch	73733	bogon 169.254.192.108 c4:9d:ed:89:ed:05
                            Oct 10 21:14:52	arpwatch	73733	bogon 169.254.192.108 c4:9d:ed:89:ed:05
                            Oct 10 21:14:59	arpwatch	73733	bogon 0.0.0.0 c4:9d:ed:89:ed:05
                            Oct 10 21:15:00	arpwatch	73733	bogon 0.0.0.0 c4:9d:ed:89:ed:05
                            Oct 10 21:15:01	arpwatch	73733	bogon 0.0.0.0 c4:9d:ed:89:ed:05
                            
                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              But those MAC addresses are valid hosts there?

                              Are you only seeing this from hosts connected via the AP?

                              Steve

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

                                @deanfourie if you do not want to see bogon log entries from arpwatch, then turn them off.. These are normal to see. Just turned it on - see bogon reported, because I didn't tell arpwatch not to log them.

                                arpwatch.jpg

                                Not sure what rabbit hole you have gone down - but yeah arpwatch will log bogons, its really just log spam.. Turn if off if you don't wan to see it..

                                This has zero to do with your problem -- clients reporting 169.254 is a sign that dhcp is not working... Clients that are set for dhcp, and don't get a lease will give themselves a 169.254.x.x address.. This is a link-local address, and called zero conf, or APIPA, etc.

                                Wireless clients moving about can also sometimes use their old IP from the previous network, etc. since all of rfc1918 space is listed in bogon, then sure arpwatch would be correct in reporting 192.168.1.112 as bogon..

                                To be honest I would turn off arpwatch for now - its confusing you.. There is nothing arpwatch is reporting that you have shown that says anything about your problem.. Now if you had arpwatch reporting that some other mac was using your pfsense IP on this network - that could be problematic for sure. Or if your device is having a problem, because again someother client on the network with different mac is using your IP.

                                But none of the info you have shown from arpwatch points to any sort of problem. You know what is problematic for a working network - your VM host just rebooting.. Kind of hard for pfsense to do its thing when its not on, 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
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  The only thing that might concern me is that it appears to be a symptom of clients failing to pull a dhcp lease. Or renew an existing one.

                                  That 'feels' like an AP problem though.

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

                                    @stephenw10 but that is the thing he should be looking to directly.. Which I stated before - actually troubleshoot the issue.

                                    If your client is not working - does it have an IP, can it ping pfsense? Can it do dns, can it ping an external IP..

                                    Looking at arpwatch log, and saying clients don't work doesn't get to the root of the problem.. Is the problem all the clients all of sudden loose their dhcp address? seems unlikely unless they were all turned on at the same time?

                                    So for now forget what your seeing in arpwatch - and from a box that your saying is loosing internet - troubleshoot why it no longer has internet.. Not having an IP for sure not going to have internet, not being able to talk to its gateway (pfsense) again internet going to work - no dns, again no internet, etc.. Find out exactly what the problem is vs worry about some bogon log spam..

                                    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

                                    D 1 Reply Last reply Reply Quote 1
                                    • D
                                      deanfourie @johnpoz
                                      last edited by

                                      @johnpoz sure, I understand that arpwatch is just reporting bogons, but it still shows me that something is floating around on 192.168.1.112 which is not a subnet I use. So why is it even there?

                                      It is DHCP, clients loose their IP, and I cannot renew.

                                      But this can happen like 3 time within 10 minutes. Why would the client even be asking for 3 leases in 10 minutes?

                                      Something just doesn't add up.

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

                                        @deanfourie said in ARP reports bogons:

                                        asking for 3 leases in 10 minutes?

                                        because it didn't actually renew?

                                        As a client gets closer and closer to when it expires - it will ask more and more frequently. When it fails then it would send a discover, etc.

                                        I would suggest you troubleshoot a specific client that is failing - what exactly is failing? Do you see your lease over the 50% mark, if you do this is example of it not renewing for some reason.. A dhcp client gets a lease, and then would try and renew at the 50% mark, if you see a lease that is older than 50% ish of the lease, something is wrong with the renew process.

                                        I would suggest you troubleshoot with a client that allows you to see such info, etc.. Like a windows box.

                                        example.. Here just switched my pc to dhcp, see the lease is for 4 days..

                                        dhcplease.jpg

                                        If its past say 2:15PM on the 12th and still have this same lease - something isn't right because it should of renewed right around the 50% mark, so if its say 3pm on 12 and still showing this same lease - something is wrong for sure..

                                        As to that device with 112 address. What is that device? I don't see 02:2d:1e as a lookup, could be a private mac - wireless tablets and phones and depending on the OS etc of the device can use random mac addresses, etc. But track down how that device is connected to your network - what switch port is it on? Is it connected to your AP, etc.

                                        Again devices can send out that info - say I take my phone and connected to network X, and then moves to your network it could send out a probe or gratuitous with its old IP, a device can try and reuse the IP it had on a previous network, what should happen is your dhcp server should send a NAK, and then the client should send out a discover. And get an IP from your dhcp server, etc. Seeing such entries could also suggest as mentioned already another dhcp server on your network handing out IPs in that range..

                                        That c4:9d:ed mac is listed as Microsoft.

                                        https://macaddress.io/mac-address-lookup/mw56K4wMko

                                        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

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          deanfourie @johnpoz
                                          last edited by deanfourie

                                          @johnpoz also keep getting these in my logs.

                                          Oct 12 00:05:59	nginx		2022/10/12 00:05:59 [error] 92058#100543: send() failed (54: Connection reset by peer)
                                          

                                          and these

                                          Oct 12 00:07:00	php	18242	servicewatchdog_cron.php: Service Watchdog detected service suricata stopped. Restarting suricata (Suricata IDS/IPS Daemon)
                                          
                                          bmeeksB 1 Reply Last reply Reply Quote 0
                                          • bmeeksB
                                            bmeeks @deanfourie
                                            last edited by

                                            @deanfourie said in ARP reports bogons:

                                            @johnpoz also keep getting these in my logs.

                                            Oct 12 00:05:59	nginx		2022/10/12 00:05:59 [error] 92058#100543: send() failed (54: Connection reset by peer)
                                            

                                            and these

                                            Oct 12 00:07:00	php	18242	servicewatchdog_cron.php: Service Watchdog detected service suricata stopped. Restarting suricata (Suricata IDS/IPS Daemon)
                                            

                                            Never put Suricata or Snort under Service Watchdog! Service Watchdog does not understand how the two IDS/IPS packages operate and it will restart them needlessly-- sometimes resulting in multiple duplicate instances running on the same interface.

                                            I am the developer/maintainer of both IDS/IPS packages, so I know what I am talking about ... 🙂.

                                            While it may not be related to your immediate issue, you should never configure the IDS/IPS packages to be monitored by Service Watchdog.

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