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

    Problem with DHCP and a Cisco nexus 5020 10GB siwtch Not gettings ip addresses.

    Scheduled Pinned Locked Moved DHCP and DNS
    31 Posts 3 Posters 2.0k 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.
    • R
      redbaron28
      last edited by

      @Derelict:

      How is the switchport connnected to cxgb0 currently configured?

      What, specifically, isn't working.

      You are going to have to be very specific to overcome this language barrier.

      The csgb0 port is connect to the trunk port on the switch ethernet 1/40.

      Whats not working is i cant ping the router from the switch and the switch is not getting a ip address from pfsense.

      Now i just did a test about hardware problem. The 10gb nic i have is a Chelsio T320-CO-SR.
      If i'm correct if i connect cxgb0 directly into one of my hosts that port should get a ip address from pfsense.
      I did that and i got no ip address.
      I tried the same thing and igb2 which is opt2 on my router and connected it into my host and i got a ip address.

      Could this because of a hardware fault?

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        It could be a hardware fault but there is really no way to know with the information being provided.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • R
          redbaron28
          last edited by

          @Derelict:

          It could be a hardware fault but there is really no way to know with the information being provided.

          What could i post to help this out?

          I'm i correct on how dchp should work when directly connecting a end device?

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            I will ask one question at a time so we don't get lost…

            What pfSense interface are you talking about? LAN, OPT1, or OPT2?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • R
              redbaron28
              last edited by

              Opt1 is the interface I'm having problems with.@Derelict:

              I will ask one question at a time so we don't get lost…

              What pfSense interface are you talking about? LAN, OPT1, or OPT2?

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                Please post a current screenshot of Interfaces > Assignments

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • R
                  redbaron28
                  last edited by

                  @Derelict:

                  Please post a current screenshot of Interfaces > Assignments

                  20180212_104550.jpg
                  20180212_104550.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • DerelictD
                    Derelict LAYER 8 Netgate
                    last edited by

                    Please post the switch port configuration for the port connected to cxgb0.

                    Chattanooga, Tennessee, USA
                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                    1 Reply Last reply Reply Quote 0
                    • R
                      redbaron28
                      last edited by

                      @Derelict:

                      Please post the switch port configuration for the port connected to cxgb0.

                      interface Ethernet1/40
                        switchport mode trunk
                        switchport trunk allowed vlan 1-10

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        OK and a DHCP server is configured on the OPT1 interface in pfSense? Can you post that?

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        1 Reply Last reply Reply Quote 0
                        • R
                          redbaron28
                          last edited by

                          @Derelict:

                          OK and a DHCP server is configured on the OPT1 interface in pfSense? Can you post that?

                          20180212_144234.jpg
                          20180212_144234.jpg_thumb
                          20180212_144234.jpg
                          20180212_144234.jpg_thumb

                          1 Reply Last reply Reply Quote 0
                          • DerelictD
                            Derelict LAYER 8 Netgate
                            last edited by

                            OK then something connected to an access port on VLAN 10 on the switch should get an IP address.

                            If not you have to figure out why not.

                            I have found looking at the mac address table on the switch for that VLAN is a good place to start.

                            You could also send the output of these commands entered into Diagnostics > Command Prompt (or run from the shell)

                            ifconfig cxgb0

                            ifconfig cxgb0.10

                            Chattanooga, Tennessee, USA
                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

                            1 Reply Last reply Reply Quote 0
                            • R
                              redbaron28
                              last edited by

                              That's the funny thing. I don't a single ip address to the switch.

                              There are those commands ran.
                              @Derelict:

                              OK then something connected to an access port on VLAN 10 on the switch should get an IP address.

                              If not you have to figure out why not.

                              I have found looking at the mac address table on the switch for that VLAN is a good place to start.

                              You could also send the output of these commands entered into Diagnostics > Command Prompt (or run from the shell)

                              ifconfig cxgb0

                              ifconfig cxgb0.10

                              20180212_151441.jpg
                              20180212_151441.jpg_thumb
                              20180212_151431.jpg
                              20180212_151431.jpg_thumb

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by

                                That looks fine.

                                You need to look closer at layer 2.

                                What mac addresses are on VLAN 10?

                                Probably something similar to show mac-address-table

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                1 Reply Last reply Reply Quote 0
                                • R
                                  redbaron28
                                  last edited by

                                  @Derelict:

                                  That looks fine.

                                  You need to look closer at layer 2.

                                  What mac addresses are on VLAN 10?

                                  Probably something similar to show mac-address-table

                                  Vlan 2 is vlan 10 same config. I tried to redo it again.

                                  20180212_163550.jpg
                                  20180212_163550.jpg_thumb

                                  1 Reply Last reply Reply Quote 0
                                  • DerelictD
                                    Derelict LAYER 8 Netgate
                                    last edited by

                                    I am pretty limited to what I can do after this. Everything looks fine on the pfSense side.

                                    Maybe try to ping something on the 192.168.2.0/24 network from Diagnostics > Ping. That should put the pfSense MAC address in the switch's table. If not you need to figure out why not.

                                    That switch certainly supports mirroring. Mirror that port to something else and wireshark it.

                                    You are fortunately/unfortunately dealing with a 10G SFP+ port or I'd suggest putting a laptop interface on vlan 10 and plugging in directly.

                                    Assign OPT1 to a gig-e port and try that?

                                    Chattanooga, Tennessee, USA
                                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      redbaron28
                                      last edited by

                                      @Derelict:

                                      I am pretty limited to what I can do after this. Everything looks fine on the pfSense side.

                                      Maybe try to ping something on the 192.168.2.0/24 network from Diagnostics > Ping. That should put the pfSense MAC address in the switch's table. If not you need to figure out why not.

                                      That switch certainly supports mirroring. Mirror that port to something else and wireshark it.

                                      You are fortunately/unfortunately dealing with a 10G SFP+ port or I'd suggest putting a laptop interface on vlan 10 and plugging in directly.

                                      Assign OPT1 to a gig-e port and try that?

                                      After all your help i'm just stuck. Right now I'm returning my T320 card and buying a T520 10gb card and see if that was may problem. I'm have a really good feeling it it.

                                      Will post when i have tested with the new card!

                                      Thanks all for your help so far!

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