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

    Ping time outs on servers behind brigde

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 2 Posters 2.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Ok, so just to be sure you did add:

      kern.ipc.nmbclusters="131072"
      hw.em.num_queues=1
      

      to /boot/loader.conf.local?

      Steve

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

        yes that is correct… i did that

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

          i did that in the new file l/boot/loader.conf.local and these 2 lines are in that

          kern.ipc.nmbclusters="131072"
          hw.em.num_queues=1

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

            @stephenw10 the settings i do with bridge is oke?

            WAN and servers behind the DMZ are in the same range so i have bridged WAN with DMZ. All servers should be available for hosting services.

            WAN cable in WAN connection PFSENSE box (bridge)–> DMZ cable to switch where servers are behind

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

              This is the situation now

              serverFW.jpg
              serverFW.jpg_thumb

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

                So that's 3 separate firewalls all configured similarly only one of which is pfSense?
                Are you using static IPs?

                Steve

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

                  Correct

                  Static ips and several firewall all wan to dmz bridge and only one is pfsense.

                  When you setup a bridge in pfsense do you need advanced options setup or somerhing ?

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

                    No nothing special.
                    You can change where bridge filtering is applied in your case I don't think that would be neccessary. I assume you have WAN set as DHCP, DMZ set as none and bridge0 not assigned?

                    Steve

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

                      Can the STP setting help when i put that obn WAN and DMZ and give WAN a lower priority?

                      No Wan is static ip (for example  20.20.20.2 ) then DMZ is none with Bridge0 and all servers behind them are in the range (also static 20.20.20.x)

                      ifconfig looks like this: (changed ip to 20.20.20.2) em0(wan)  em1(dmz) em2 not used em3(lokal ipadres for backup inlog)

                      em0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
                              options=4209b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso>ether f4:6d:04:9e:36:d0
                              inet 20.20.20.2 netmask 0xffff0000 broadcast 20.20.255.255
                              inet6 fe80::f66d:4ff:fe9e:36d0%em0 prefixlen 64 scopeid 0x1
                              nd6 options=1 <performnud>media: Ethernet autoselect (100baseTX <full-duplex>)
                              status: active
                      em1: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
                              options=4209b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso>ether f4:6d:04:9e:36:d1
                              inet6 fe80::f66d:4ff:fe9e:36d1%em1 prefixlen 64 scopeid 0x2
                              nd6 options=1 <performnud>media: Ethernet autoselect (100baseTX <full-duplex>)
                              status: active
                      em2: flags=8c02 <broadcast,oactive,simplex,multicast>metric 0 mtu 1500
                              options=4219b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,tso4,wol_magic,vlan_hwtso>ether f4:6d:04:9e:36:d2
                              media: Ethernet autoselect
                              status: no carrier
                      em3: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                              options=4209b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso>ether f4:6d:04:9e:36:d3
                              inet 10.1.1.191 netmask 0xffffff00 broadcast 10.1.1.255
                              inet6 fe80::f66d:4ff:fe9e:36d3%em3 prefixlen 64 scopeid 0x4
                              nd6 options=1 <performnud>media: Ethernet autoselect (10baseT/UTP <full-duplex>)
                              status: active
                      plip0: flags=8810 <pointopoint,simplex,multicast>metric 0 mtu 1500
                      enc0: flags=0<> metric 0 mtu 1536
                      pflog0: flags=100 <promisc>metric 0 mtu 33192
                      lo0: flags=8049 <up,loopback,running,multicast>metric 0 mtu 16384
                              options=3 <rxcsum,txcsum>inet 127.0.0.1 netmask 0xff000000
                              inet6 ::1 prefixlen 128
                              inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
                              nd6 options=3 <performnud,accept_rtadv>pfsync0: flags=0<> metric 0 mtu 1460
                              syncpeer: 224.0.0.240 maxupd: 128 syncok: 1
                      bridge0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                              ether 02:7c:9a:3a:65:00
                              id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
                              maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
                              root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
                              member: em1 flags=143 <learning,discover,autoedge,autoptp>ifmaxaddr 0 port 2 priority 128 path cost 2000000
                              member: em0 flags=143 <learning,discover,autoedge,autoptp>ifmaxaddr 0 port 1 priority 128 path cost 2000000</learning,discover,autoedge,autoptp></learning,discover,autoedge,autoptp></up,broadcast,running,simplex,multicast></performnud,accept_rtadv></rxcsum,txcsum></up,loopback,running,multicast></promisc></pointopoint,simplex,multicast></full-duplex></performnud></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso></up,broadcast,running,simplex,multicast></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,tso4,wol_magic,vlan_hwtso></broadcast,oactive,simplex,multicast></full-duplex></performnud></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso></up,broadcast,running,promisc,simplex,multicast></full-duplex></performnud></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso></up,broadcast,running,promisc,simplex,multicast>

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

                        Okay,

                        i went back to the orginal rc.newwanip

                        did only this:

                        https://github.com/pfsense/pfsense/commit/f3a4601c85c4de78caa4f12fefd64067fd83dbe8

                        and added boot/loader.conf.local and these 2 lines are in that

                        kern.ipc.nmbclusters="131072"
                        hw.em.num_queues=1

                        Rebooted.

                        Under Firewall/ NAT i checked:

                        Static route filtering Bypass firewall rules for traffic on the same interfac
                        IP Do-Not-Fragment compatibility Clear invalid DF bits instead of dropping the packets

                        The servers are timing out a lot less now.

                        Maybe once in 30 pings sometimes 2 pings in a row…

                        What is see in the logs at that times are tcp:fa / tcp:a from DMZ packages , has that anything to do with that?

                        for example:

                        block
                        Jan 16 14:14:03 DMZ serverip:80   ipadres:50155 TCP:A

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