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

    OPT Interface - No Network

    Scheduled Pinned Locked Moved General pfSense Questions
    30 Posts 3 Posters 3.5k 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

      If your not getting dhcp on your clients, and your saying dhcpd is running on pfsense - then that points to basic connectivity issue..

      Sniff on this interface - do you see any traffic? Do you see the dhcpd discover for example?

      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
      • C
        cj_jacksonsystems
        last edited by

        Just done a Packet Capture on that interface....

        Absolutely nothing!! I did a few unplugs and plug back in, Windows is using the reserved 169 address so there is some sort of connection!

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

          @cj_jacksonsystems said in OPT Interface - No Network:

          169 address so there is some sort of connection!

          Just because the nic comes up on windows doesn't mean the connection is actually good.. So yeah out of the box windows would use APIPA if no dhcp and set for dhcp..

          You sure you setup the correct interface, etc.

          Is your cable good?

          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
          • C
            cj_jacksonsystems
            last edited by

            Ive unpackaged a brand new lead to test, Cat6 Crossover.

            Yes I have 3 interfaces, RE0 is WAN, RE1 is LAN, therefore RE2 must be my OPT.

            Though im not sure why in my system logs the system is referring to OPT as a WAN!!!

            /rc.newwanip: rc.newwanip: Info: starting on re2.
            /rc.newwanip: rc.newwanip: on (IP address: 10.9.8.250) (interface: OPT1[opt1]) (real interface: re2).

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

              @cj_jacksonsystems said in OPT Interface - No Network:

              OPT as a WAN!!!

              Did you actually setup a gateway IP when you setup the interface? How did you put the IP on the interface?

              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
              • C
                cj_jacksonsystems
                last edited by

                No, no GW set.

                I went to assign, assigned re2 which gave my OPT, selected that from interfaces - selected Static IPV4 - hit Save, then configured DHCP.

                b0f8e13a-20de-4994-96a2-2c799801a2ac-image.png

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

                  Well that is just log of script checking if it should do something when it sees new interface come up... Here I unplugged and plugged in one of my pfsense interfaces..

                  Apr 21 05:26:15 	php-fpm 		/rc.newwanip: rc.newwanip: on (IP address: 192.168.9.253) (interface: LAN[lan]) (real interface: igb0).
                  Apr 21 05:26:14 	php-fpm 		/rc.newwanip: rc.newwanip: Info: starting on igb0.
                  Apr 21 05:26:13 	check_reload_status 		Reloading filter
                  Apr 21 05:26:13 	check_reload_status 		rc.newwanip starting igb0
                  Apr 21 05:26:13 	php-fpm 		/rc.linkup: Hotplug event detected for LAN(lan) static IP (192.168.9.253 )
                  Apr 21 05:26:12 	kernel 		igb0: link state changed to UP
                  Apr 21 05:26:12 	check_reload_status 		Linkup starting igb0
                  Apr 21 05:26:08 	check_reload_status 		Reloading filter
                  Apr 21 05:26:08 	php-fpm 		/rc.linkup: Hotplug event detected for LAN(lan) static IP (192.168.9.253 )
                  Apr 21 05:26:07 	kernel 		igb0: link state changed to DOWN
                  Apr 21 05:26:07 	check_reload_status 		Linkup starting igb0 
                  

                  Don't worry about that being called newwanIP.

                  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
                  • C
                    cj_jacksonsystems
                    last edited by

                    Well, heres a result for you....

                    I just switched the interaces!

                    LAN to RE2 and OPt to RE1....

                    Ive plugged directly into what is now LAN and its working perectly. So its not a card or cable ault!

                    1 Reply Last reply Reply Quote 0
                    • C
                      cj_jacksonsystems
                      last edited by

                      status so far:

                      Opt1 working but LAN is showing N/A when it should show my LAN IP

                      0a84a5d0-163f-4639-a5cf-c135f9e52437-image.png

                      1 Reply Last reply Reply Quote 0
                      • C
                        cj_jacksonsystems
                        last edited by

                        Ok, network is completely down.

                        Switch interfaces back after test, now my system doesn't boot.

                        Will reinstall pFsense.

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

                          And what hardware is this running on btw?

                          Freebsd/Pfsense have not always had the best of luck with realtek nics on a bit of a side note ;)

                          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
                          • C
                            cj_jacksonsystems
                            last edited by

                            Its a custom built ATOM box - with TP-Link NIC's, up to now I have not had any issues!! the box has been in production for over a year!

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

                              Be sure to test the other NIC when you make changes like this. Adding a new NIC with the same driver type may change the interface order.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • C
                                cj_jacksonsystems
                                last edited by

                                All 3 nics have been in the machine for quite a while, but OPT has never been used before - Now im implementing it. Ive just switched RE1 & 2 to test the card, and then switched them back - that has broken the box completely!

                                IM downloading pfsense now to do a clean install.

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

                                  @cj_jacksonsystems said in OPT Interface - No Network:

                                  with TP-Link NIC's

                                  That use the realtek driver? your nics are re0 and re1, etc. re is realtek

                                  What are they like TG-3468 ?

                                  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
                                  • C
                                    cj_jacksonsystems
                                    last edited by

                                    Im not entirely sure which model they are without taking the box apart.

                                    My LAN Interface is a TP-Link and thats been fine!

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

                                      Run pciconf -lv, check they are actually the same chip.

                                      Steve

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        cj_jacksonsystems @stephenw10
                                        last edited by

                                        @stephenw10 well, right now the system wont boot!!

                                        Its stuck in a reboot loop!

                                        Im downloading pf now to reload.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cj_jacksonsystems
                                          last edited by

                                          @stephenw10 said in OPT Interface - No Network:

                                          pciconf -lv

                                          re0@pci0:1:0:0: class=0x020000 card=0xd6258086 chip=0x816810ec rev=0x06 hdr=0x00
                                          vendor = 'Realtek Semiconductor Co., Ltd.'
                                          device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
                                          class = network
                                          subclass = ethernet
                                          re1@pci0:5:0:0: class=0x020000 card=0x43001186 chip=0x43001186 rev=0x10 hdr=0x00
                                          vendor = 'D-Link System Inc'
                                          device = 'DGE-528T Gigabit Ethernet Adapter'
                                          class = network
                                          subclass = ethernet
                                          re2@pci0:5:8:0: class=0x020000 card=0x43001186 chip=0x43001186 rev=0x10 hdr=0x00
                                          vendor = 'D-Link System Inc'
                                          device = 'DGE-528T Gigabit Ethernet Adapter'
                                          class = network
                                          subclass = ethernet

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

                                            Hmm, well I'd certainly expect re1 and re2 to behave the same there then.

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