Navigation

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

    OPT Interface - No Network

    General pfSense Questions
    3
    30
    718
    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.
    • C
      cj_jacksonsystems last edited by

      Hi all, I'm having a problem with an ethernet interface. I've assigned the interface and given it an IP, and enabled it. DHCP also configured for the network on the interface.

      Whatever I plug into the interface, there is no network flow, and no IP received. The interface shows as UP in dashboard. The mode of the interface is set to Auto.

      There seems to be no connectivity what so ever, the card is the same card vendor as my LAN so it can't be a driver issue.

      Any help greatly appreciated

      PS: LEDs are lit on card with Laptop connected, Not sure whether this is relevant but saw it in System Logs:

      /rc.newwanip: rc.newwanip: Info: starting on re2 (OPT).

      My WAN interface is actually re0.

      Thanks in advance

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

        @cj_jacksonsystems said in OPT Interface - No Network:

        Whatever I plug into the interface, there is no network flow, and no IP received.

        You mean your laptop you plug in gets no IP? Is this or the laptop gig? What speed does it come up on pfsense and the laptop.. For auto cross you need gig, if not and your directly connecting some device to say a 10/100 interface you would need a crossover cable.

        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
        2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

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

          Whatever device I attach gets no IP.

          The interface is showing 1000baseT <full-duplex,master>when I Connect it either to the switch or my laptop - using Crossover.

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

            I'll add, if I set a static IP on my laptop with gateway as Interface IP, I cannot ping the Interface. IF I ping within pfSense using Ping command I can ping around the network and out to the internet using the OPT Interface as source.

            1 Reply Last reply Reply Quote 0
            • johnpoz
              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
              2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

              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
                • johnpoz
                  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
                  2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                  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
                    • johnpoz
                      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
                      2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                      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
                        • johnpoz
                          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
                          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                          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
                                • johnpoz
                                  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
                                  2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                                  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!

                                    johnpoz 1 Reply Last reply Reply Quote 0
                                    • stephenw10
                                      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
                                        • johnpoz
                                          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
                                          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

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

                                                      OK clean install, still the same!

                                                      Ive ordered a dual Intel NIC off of ebay so will see how that goes, I've been meaning to get multiport cards anyway. Ive got loads of PCI-E cards kicking around but no PCI, otherwise I would have just swapped cards out.

                                                      Thanks for your assistance.

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

                                                        I didnt get it to work, even after A Clean install.

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

                                                          And it's just whichever card is configured as OPT1 does not work? Weird.

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

                                                            @stephenw10 Seems that way, have ordered Intel 1000 Pro card see if that works!

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

                                                              Heres the spec of my box by the way:

                                                              ff5f1e81-b94a-4392-91d8-05927ab853ac-image.png

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

                                                                It's old but should work fine. I can only think there must be some rogue configuration going on, something left in the config file from previous settings. But if that was the case the clean install should have resolved it.
                                                                The other thing is some low level conflict between the cards but I would expect that to follow the card not the assigned interface.

                                                                Steve

                                                                1 Reply Last reply Reply Quote 0
                                                                • First post
                                                                  Last post