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

    Yes, I know! Another OPT1 and OPT2 no internet connection!

    Scheduled Pinned Locked Moved General pfSense Questions
    41 Posts 6 Posters 6.7k 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.
    • M
      MidGe48
      last edited by

      Hello Gertjan,

      OK, I did what you suggested.

      1. On the GUI i have all the interface assignment showing with the correct (I hope) network port.

      2. There are NO processes using or listening on port 67

      3. The resolver (unbound) shows me a single process for tcp4 and udp4. I have disable ipv6 everywhere so I suppose this is correct.

      The issue now, is with having no processes listening on port 67! But, now that I have reverted to a backup of two months ago when everything was dandy, I am not using Kea at the moment.

      I am using unmanaged switches, so that should not be an issue.

      Thanking you very much for trying to help me.

      1 Reply Last reply Reply Quote 0
      • M
        MidGe48 @MidGe48
        last edited by

        @MidGe48

        My boot log shows the ports working as well, I presume:

        igb3: netmap queues/slots: TX 4/1024, RX 4/1024
        igb3: Ethernet address: 00:e0:67:21:65:5f
        igb3: Using MSI-X interrupts with 5 vectors
        igb3: Using 4 RX queues 4 TX queues
        igb3: Using 1024 TX descriptors and 1024 RX descriptors
        igb3: NVM V0.6 imgtype6
        igb3: <Intel(R) I210 Flashless (Copper)> port 0xb000-0xb01f mem 0xb1200000-0xb121ffff,0xb1220000-0xb1223fff irq 19 at device 0.0 on pci4
        pci4: <ACPI PCI bus> on pcib4
        pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
        igb2: netmap queues/slots: TX 4/1024, RX 4/1024
        igb2: Ethernet address: 00:e0:67:21:65:5e
        igb2: Using MSI-X interrupts with 5 vectors
        igb2: Using 4 RX queues 4 TX queues
        igb2: Using 1024 TX descriptors and 1024 RX descriptors
        igb2: NVM V0.6 imgtype6
        igb2: <Intel(R) I210 Flashless (Copper)> port 0xc000-0xc01f mem 0xb1300000-0xb131ffff,0xb1320000-0xb1323fff irq 18 at device 0.0 on pci3
        pci3: <ACPI PCI bus> on pcib3
        pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
        igb1: netmap queues/slots: TX 4/1024, RX 4/1024
        igb1: Ethernet address: 00:e0:67:21:65:5d
        igb1: Using MSI-X interrupts with 5 vectors
        igb1: Using 4 RX queues 4 TX queues
        igb1: Using 1024 TX descriptors and 1024 RX descriptors
        igb1: NVM V0.6 imgtype6
        igb1: <Intel(R) I210 Flashless (Copper)> port 0xd000-0xd01f mem 0xb1400000-0xb141ffff,0xb1420000-0xb1423fff irq 17 at device 0.0 on pci2
        pci2: <ACPI PCI bus> on pcib2
        pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
        igb0: netmap queues/slots: TX 4/1024, RX 4/1024
        igb0: Ethernet address: 00:e0:67:21:65:5c
        igb0: Using MSI-X interrupts with 5 vectors
        igb0: Using 4 RX queues 4 TX queues
        igb0: Using 1024 TX descriptors and 1024 RX descriptors
        igb0: NVM V0.6 imgtype6
        igb0: <Intel(R) I210 Flashless (Copper)> port 0xe000-0xe01f mem 0xb1500000-0xb151ffff,0xb1520000-0xb1523fff irq 16 at device 0.0 on pci1
        pci1: <ACPI PCI bus> on pcib1
        pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0

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

          @MidGe48

          Good news : your device has supported network hardware.
          Not really a surprise, as it worked before.

          Btw : you are using the pfSense CE 2.7.1, right ?

          What did the sockstat test show ?

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

          M 1 Reply Last reply Reply Quote 0
          • M
            MidGe48 @Gertjan
            last edited by

            @Gertjan

            Yes, using pfSense CE 2.7.1

            On the GUI i have all the interface assignment showing with the correct (I hope) network port.

            There are NO processes using or listening on port 67

            The resolver (unbound) shows me a single process for tcp4 and udp4. I have disable ipv6 everywhere so I suppose this is correct.

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

              @MidGe48 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

              There are NO processes using or listening on port 67

              that means : no DHCP server is serving 'DCP leases'.
              Check the system log and dhcp log page ( Status > System Logs> DHCP ), and see what happened.

              Yo said ; "Another OPT1 and OPT2 no internet connection!" so I dedecut that LAN is ok.
              But without a DHCP server running on LAN, you should also have DHCP issues on your LAN interface.
              Except if you have shut down the DHCP server on your LAN .....

              If there is no DHCP servers running on a LAN, or OPT or OPT2, etc then it's normal that DHCP clients, your devices, ,don't get any DHCP lease => NO IP, no gatway, no DNS, so no connection what so ever.

              Btw : If you were using dhcpd-isc (not KEA) ;

              [23.09-RELEASE][root@pfSense.bhf.tld]/root: sockstat -4l | grep 'dhcpd'
              dhcpd    dhcpd      76530 13  udp4   *:67                  *:*
              

              which means that there is one process listing to 'all' interfaces.
              Using UDPv4 of course, on port 67.

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

              M 2 Replies Last reply Reply Quote 0
              • M
                MidGe48 @Gertjan
                last edited by

                @Gertjan

                [2.7.1-RELEASE][admin@trakka.midge.home.arpa]/root: sockstat -4l | grep 'dhcpd'
                dhcpd dhcpd 32156 13 udp4 *:48463

                So, no TCP?!

                Unfortunately I cannot bring my network down now. There are important, to me, processes running, and the router is my perimeter firewall and router.. I will restart the router and pull the logs of boot, system general, firewall and dhcp a few minutes after a reboot. That will be in about 12 -13 hours from now.

                The log are so long now and I can't quite remember at which times I made what changes. The only thing I can say is that they look normal.

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

                  DHCP is a UDP protocol, it shouldn't be listening for TCP.

                  But why yours is not listening on port 67 is very odd.

                  You shouldn't need to change the dhcp client settings on the hosts and in fact setting it to 'address only' is probably going to break stuff as they won't be passed dns or time servers etc.

                  Do you see leases in Status > DHCP Leases? Perhaps you have a rogue DHCP server somewhere else.

                  @MidGe48 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

                  the correct (I hope) network port

                  You need to know they are the correct ports because they may be the cause of all the problems here. Check with ifconfig as you connect or disconnect links.

                  Steve

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

                    @MidGe48 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

                    dhcpd dhcpd 32156 13 udp4 *:48463

                    As above : this explains everything.

                    A dhcpd server has to listen on port '67' - UDP.
                    Bacause DHCP clients will use that port '67' as their destination.

                    Why your dhcpd uses port 48463 is .... never seen that before.

                    I've checked my dhcpd config file ( here /var/dhcpd/etc/dhcpd.conf ) and 'use port 67' command isn't even an option or mentioned, it the the de facto standard.
                    Looking at the GUI => Services > DHCP Server > LAN page, I couldn't even find a settings that permits me to change that.

                    If dhcpd elected to use another port, like your 48463, it should at least mention this its log file.
                    Just restart it, and look the the DHCP logs
                    Don't worry to break your networks, they are already pretty 'down' any way.

                    DHCP functionality is of course non mandatory, I can image that if you set up all network devices with a static IP, static gateway, and static DNS, and the network (/24) used, you don't any DHCP server to work.

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

                      Indeed I've never seen that before. Speculation but perhaps it uses a random port if 67 is in use? Maybe Kea was somehow still running?
                      I've switched back and forth between ISC and Kea many times and never managed to trigger anything like that but....

                      I would restart the dhcpd service. Failing that reboot.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
                      • M
                        MidGe48 @Gertjan
                        last edited by

                        @Gertjan @stephenw10

                        OK, I re-installed 4 times from the downloaded image.

                        I finally found out about one problem and got that fixed on the last and current install.

                        sockstat -l | grep ':53'

                        unbound unbound 4119 3 udp6 *:53 :
                        unbound unbound 4119 4 tcp6 *:53 :
                        unbound unbound 4119 5 udp4 *:53 :
                        unbound unbound 4119 6 tcp4 *:53 :

                        sockstat -4l | grep ':67'

                        root kea-dhcp4 7840 19 udp4 10.10.10.1:67 :
                        root kea-dhcp4 7840 21 udp4 10.88.88.1:67 :
                        root kea-dhcp4 7840 23 udp4 10.44.44.1:67 :

                        But, whereas everything works fine on LAN, OPT1 and OPT2 are still giving me some problems.

                        They both serve me via DHCP, the same subnet when they are different in the settings.

                        johnpozJ GertjanG stephenw10S 3 Replies Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @MidGe48
                          last edited by johnpoz

                          @MidGe48 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

                          They both serve me via DHCP, the same subnet when they are different in the settings.

                          You don't have your networks actually isolated then..

                          You can't just plug into the same dumb switch.

                          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

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MidGe48 @johnpoz
                            last edited by

                            @johnpoz

                            It is not a switch it is a pfSense router with different physical ports assigned to different interfaces, different DHCP servers and different subnets. So where in pfSense do I see/change the isolation??

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

                              @MidGe48 what do you have plugged into pfsense interfaces? Your saying you have a single device plugged into Opt1 and it gets an IP from dhcp on a lan or opt2 network?

                              What plugs into pfsense interfaces where you setup these networks and are running dhcp.. You can not just plug in lan, opt and opt2 into the same dumb switch.. And then plug a PC into one of the other ports.

                              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

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                MidGe48 @johnpoz
                                last edited by

                                @johnpoz

                                I am well aware of what you say.

                                I have a relatively complex topology for my whole network including 3 routers and 4 switches. But what plugs in the ports of my perimeter router (pfsense) are physical networks totally isolated from each other. I don't know where you got the idea that I was converging things via a dumb switch.

                                Anyway, I am done for now, here.

                                I have other tasks awaiting and will use a workaround for the time being.

                                Thanks all.

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

                                  @MidGe48 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

                                  totally isolated from each other. I

                                  Clearly they are not - because there is NO possible way for you to get a dhcp address from some other network that is on different layer 2 network.

                                  Or your network is so complex you don't know what is plugged into where, and what you think is connected to opt1 is connected to lan or opt2 or whatever network you device is suppose to get dhcp from opt1 is on

                                  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 1
                                  • GertjanG
                                    Gertjan @MidGe48
                                    last edited by

                                    @MidGe48 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

                                    root kea-dhcp4 7840 19 udp4 10.10.10.1:67 :
                                    root kea-dhcp4 7840 21 udp4 10.88.88.1:67 :
                                    root kea-dhcp4 7840 23 udp4 10.44.44.1:67 :

                                    Looking far better.
                                    One suggestion : stay away from 10.10.10.1/24, as that one is by default used by pfBlockerng.

                                    About these networks, they are set up with a /24 each, right ?
                                    Like : my OPT1 called PORTAL :

                                    09ad6826-8dcc-4014-a8c9-e26e3a9615ef-image.png

                                    and dhcp :
                                    c99a52aa-08a2-4bf4-a95a-c1bf1b3cef89-image.png

                                    When I check my DHCP logs, I can see :

                                    ca21bcef-173f-4d1e-8b5d-d7389ba4095a-image.png

                                    So, on the igc0 (my LAN) (network 192.168.1.1/24) and the 192.168.1.31 is served.
                                    on the igc1 (my OPT1) (network 192.168.2.1/24) and the 192.168.2.6 is served.

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

                                      @MidGe48 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

                                      I finally found out about one problem and got that fixed on the last and current install.

                                      What was the problem? I'd love to know what could possible cause dhcpd to listen on a different port like that.

                                      Steve

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

                                        @stephenw10 said in Yes, I know! Another OPT1 and OPT2 no internet connection!:

                                        what could possible cause dhcpd to listen on a different port like that.

                                        Yeah - what would be the point, if dhcpd can not bind to 67, it should just fail with an error could not bind, etc.

                                        Not like dhcpd could work if not listening on 67

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