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

Setting up new device on LAN

Scheduled Pinned Locked Moved General pfSense Questions
49 Posts 7 Posters 6.9k 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.
  • P
    peterlecki @luckman212
    last edited by May 8, 2022, 6:40 PM

    @luckman212
    NAT works fine for clients on the LAN, it's only pfSense itself that cannot see the gateway but yet can NAT clients to it just fine.

    I tried the gateway settings both monitor to the IP and past it but it did make a difference:
    31a65f14-7503-4a2e-a971-d08d2fd1bc19-image.png
    dff048dd-1058-4fc1-8656-3b5760d7b59b-image.png

    J 1 Reply Last reply May 8, 2022, 7:01 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @peterlecki
      last edited by johnpoz May 8, 2022, 7:08 PM May 8, 2022, 7:01 PM

      @peterlecki ok confused, thought you said your gateway was 192.168.4.1 - why are you blocking it out? from the wangw on the gateway tabs.

      Is what pfsense show for it wangw not 192.168.4.1 and some public IP?

      If pfsense was actually sending traffic to 192.168.4.1 there is no possible way it could work without a mac address... Just not possible at all..

      You say clients behind pfsense work - lets see your state table please to some remote site... So for example... get a constant ping going to say 8.8.8.8, you say that works right from your clients..

      In the state table list that... So example here is mine..

      statetab.jpg

      See where you see state on lan from my pc at 192.168.9.100 sending to 8.8.8.8 and then pfsense natting this to my wan IP (which is public IP address)..

      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.7.2, 24.11

      P 2 Replies Last reply May 10, 2022, 11:06 PM Reply Quote 0
      • P
        peterlecki @johnpoz
        last edited by May 10, 2022, 11:06 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by May 10, 2022, 11:15 PM

          There is no NAT on those WAN states so something upstream is NATing it. Or not NATing it since there are no replies.

          More importantly that's not ping traffic so where ever you're pinging from there is not going through the firewall at all.

          Steve

          1 Reply Last reply Reply Quote 0
          • P
            peterlecki @johnpoz
            last edited by May 10, 2022, 11:30 PM

            @johnpoz @stephenw10

            8.8.8.8 does show states in UDP on port 53 but 8.8.8.8 is my primary configured DNS. Still no icmp states, though. So 8.8.4.4 is a better test you wanted to see, John.

            pfSense3.jpg

            pfSense2.jpg

            J 1 Reply Last reply May 11, 2022, 5:03 AM Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by May 11, 2022, 12:11 AM

              Where are you running that ping? It's not passing the firewall.

              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator @peterlecki
                last edited by johnpoz May 11, 2022, 5:07 AM May 11, 2022, 5:03 AM

                @peterlecki yup clearly that client isn't using pfsense at all..

                Do a simple traceroute, or even lets see the ipconfig /all of that box..

                Clearly pfsense that you say is connect to your other router isn't - since if it was it would see the mac address. Since it can not see the mac address - there is no way anything could route through it, etc..

                Your states of your wan IP trying to talk to 8.8.8.8:53 go unanswered.. Not even sure why it would create a state - if has no where to send it, ie no mac of your gateway 4.1

                Still not sure why you would hide your wangw if like you say its 192.168.4.1..

                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.7.2, 24.11

                P 1 Reply Last reply May 11, 2022, 4:54 PM Reply Quote 0
                • P
                  peterlecki @johnpoz
                  last edited by May 11, 2022, 4:54 PM

                  @johnpoz @stephenw10
                  This was an ID10T error. I had wireless active on the client device I was testing from so of course it was accessing the internet via the normal gateway. I now noticed this after you pointed it out and turned it off. Now it no longer can access the internet. Apologies for wasting your time and energy and thank you for pointing this out.

                  Anyway, now that I no longer complicate the situation even further with "fake news", let's get back to the issue at hand. John, blocked out in that screenshot was my real ISP gateway IP. The WANGW_TEMP was configured as the gateway for the WAN interface. So the public WANGW gateway was available but not used. Just to eliminate any potential problems, I now completely removed it:
                  pfSense5.jpg

                  And here are the icmp states:

                  pfSense4.jpg

                  J 1 Reply Last reply May 11, 2022, 8:38 PM Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by May 11, 2022, 5:31 PM

                    Ok, so the states look correct but your temporary WAN gateway is not responding so the pings go nowhere.
                    I assume it is not in the ARP table still?

                    So what is 192.168.4.1? How is the WAN interface connected to it?

                    I would not expect the public WAN gateway to be available at the same time if there is another router in between.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator @peterlecki
                      last edited by May 11, 2022, 8:38 PM

                      @peterlecki here is the thing if 192.168.4.1 is actually suppose to be pfsense gateway. It needs to answer arp.. If no then no there is no way its going to do anything, answer ping pass traffic nothing.

                      So either you do not have pfsense wan IP plugged into the correct port, or 192.168.4.1 is not the correct IP..

                      Your saying if you plug pfsense into this router it gets that wan IP via dhcp? But can not arp for 192.168.4.1?? You sure that is what is suppose to be used for the gateway?

                      If I had a router and its IP was say 192.168.4.254, I could hand out dhcp - in the 192.168.4.x network - but if I told dhcp clients 192.168.4.1 was the gateway when there is no 192.168.4.1 then no you wouldn't work couldn't arp for it..

                      So your saying when wifi clients are on wifi they get 192.168.4.1 as their gateway and they can ping it.. Well then seems whatever your plugging pfsense wire into isn't that..

                      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.7.2, 24.11

                      P 1 Reply Last reply May 11, 2022, 8:58 PM Reply Quote 0
                      • P
                        peterlecki @johnpoz
                        last edited by May 11, 2022, 8:58 PM

                        @johnpoz @stephenw10

                        4.1 does answer ARP and I can see it from PC 4.100: 192.168.4.1 70-4f-57-01-24-b0
                        but pfSense still shows MAC of 4.1 as "incomplete" in the ARP table.

                        from 4.100 I can ping 4.244 and 4.1
                        from 4.1 I can ping 4.100 but cannot ping 4.244
                        so it does seem as if the wires were not correctly plugged in somewhere but 4.1 has just ONE wire going into it but only 4.100 can ping it but 4.244 cannot

                        Home LAN.png

                        J 1 Reply Last reply May 11, 2022, 10:18 PM Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by May 11, 2022, 10:08 PM

                          Try swapping the wires or the ports on the switch.

                          There is something low level failing.

                          I assume you see link LEDs on the WAN port and switch?

                          It could be a bad NIC you could reassign the WAN to a different port.

                          Steve

                          P 1 Reply Last reply May 11, 2022, 11:48 PM Reply Quote 0
                          • J
                            johnpoz LAYER 8 Global Moderator @peterlecki
                            last edited by johnpoz May 11, 2022, 10:19 PM May 11, 2022, 10:18 PM

                            @peterlecki said in Setting up new device on LAN:

                            from 4.100 I can ping 4.244 and 4.1

                            And pfsense sees the mac of .100 in its arp table but not .1?

                            Is that just a dumb switch? Or a vlan cable switch? Or smart switch - could be doing private vlan setup that is not correct for how you want to use it, 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.7.2, 24.11

                            P 1 Reply Last reply May 11, 2022, 11:51 PM Reply Quote 1
                            • P
                              peterlecki @stephenw10
                              last edited by May 11, 2022, 11:48 PM

                              @stephenw10
                              LEDs are the same on WAN and LAN ports. I just switched them around and LAN works on the previous WAN port and WAN still doesn't work on the previous LAN port. So it's not the hardware.

                              1 Reply Last reply Reply Quote 0
                              • P
                                peterlecki @johnpoz
                                last edited by May 11, 2022, 11:51 PM

                                @johnpoz
                                Correct, pfSense can see 4.100 but not 4.1
                                arp.png.jpg
                                It's a dumb switch in between them.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by stephenw10 May 11, 2022, 11:52 PM May 11, 2022, 11:51 PM

                                  You tried swapping the swotch ports the pfSense WAN and laptop are connected to?

                                  Because some sort of private VLAN setup on the switch could present like this as @johnpoz said.
                                  Edit: Missed your update

                                  Steve

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by May 11, 2022, 11:53 PM

                                    Try running a packet capture on WAN in promiscuous mode. You should see at least broadcast traffic from the other hosts in the subnet.

                                    P 1 Reply Last reply May 12, 2022, 12:00 AM Reply Quote 0
                                    • P
                                      peterlecki @stephenw10
                                      last edited by peterlecki May 12, 2022, 12:06 AM May 12, 2022, 12:00 AM

                                      @stephenw10
                                      Interesting!

                                      ARP, Request who-has 192.168.4.1 tell 192.168.4.244
                                      

                                      So the 4.1 gateway is not responding. Yet it responds to the 4.100 host. Plus the 4.1 device shows 4.244's MAC in its own ARP table. But never responds to the request? I am fucking tripping, man.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by May 12, 2022, 12:13 AM

                                        Ah, well hallucinogenic substances is one explanation. 😉

                                        But is it fact responding and the pfSense WAN simply never receives it...

                                        Try pinging the 4.100 host whilst running a pcap. It should ARP for that too and should see a response.

                                        P 1 Reply Last reply May 12, 2022, 1:10 AM Reply Quote 0
                                        • P
                                          peterlecki @stephenw10
                                          last edited by May 12, 2022, 1:10 AM

                                          @stephenw10
                                          I do see the ARP request for 4.100 and the reply on the pfSense capture.
                                          I also ran a promiscuous capture on the 4.100 host and can see ARP requests from 4.244 for 4.1 but 4.1 never responds. I can see it respond to 4.100 but it never responds to 4.244, as if it is completely ignoring any and all packets from that host.

                                          K 2 Replies Last reply May 12, 2022, 8:38 AM Reply Quote 0
                                          31 out of 49
                                          • First post
                                            31/49
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received