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

No DHCP on pfSense VLAN with Cisco Smart Switch

L2/Switching/VLANs
7
147
86.1k
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
    Cannondale @mvikman
    last edited by May 24, 2023, 11:35 AM

    @mvikman said in No DHCP on pfSense VLAN with Cisco Smart Switch:

    He originally had the latest firmware installed

    Confirmed the latest fw is active.

    🔒 Log in to view

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @mvikman
      last edited by May 24, 2023, 11:42 AM

      @mvikman yeah he has gone to older firmware at one point

      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.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • C
        Cannondale @johnpoz
        last edited by May 24, 2023, 12:09 PM

        @johnpoz said in No DHCP on pfSense VLAN with Cisco Smart Switch:

        Just ordered a sg250-08HP off ebay

        You're a stand up guy for going the extra mile johnpoz!
        No need to spend your money to help solve my problem!
        PM me and let me know how much it was so that I can reimburse you.

        P 1 Reply Last reply May 24, 2023, 12:21 PM Reply Quote 0
        • P
          pete35 @Cannondale
          last edited by May 24, 2023, 12:21 PM

          @Cannondale
          i tought the same. Johnpoz is great.

          can you post the whole page of the vlan 10 interface configuration on the firewall ?

          <a href="https://carsonlam.ca">bintang88</a>
          <a href="https://carsonlam.ca">slot88</a>

          C 1 Reply Last reply May 24, 2023, 12:36 PM Reply Quote 0
          • D
            Derelict LAYER 8 Netgate @pete35
            last edited by May 24, 2023, 12:26 PM

            If you pcap on the parent interface you will see all the VLAN tags there along with all traffic on all VLANs. If you pcap on the VLAN interface you will not see the tags.

            I sometimes create unnumbered pfSense interfaces on the parent (IPv4 and IPv6 set to None) just so I can pcap there.

            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)

            P 1 Reply Last reply May 24, 2023, 12:44 PM Reply Quote 0
            • C
              Cannondale @pete35
              last edited by May 24, 2023, 12:36 PM

              @pete35 said in No DHCP on pfSense VLAN with Cisco Smart Switch:

              can you post the whole page of the vlan 10 interface configuration on the firewall ?

              vlan10 is configured for access mode on ge24
              vlan20 is configured for general mode on ge20

              🔒 Log in to view

              🔒 Log in to view

              P 1 Reply Last reply May 24, 2023, 12:55 PM Reply Quote 0
              • P
                pete35 @Derelict
                last edited by May 24, 2023, 12:44 PM

                @Derelict
                thank you. i already found it. Wireshark shows the vlan tag under each packet. yo need to open a packet to see the vlan 802.1q information.

                <a href="https://carsonlam.ca">bintang88</a>
                <a href="https://carsonlam.ca">slot88</a>

                C 1 Reply Last reply May 24, 2023, 1:47 PM Reply Quote 0
                • P
                  pete35 @Cannondale
                  last edited by May 24, 2023, 12:55 PM

                  @Cannondale

                  Maybe we can do another configuration:

                  if you have a free port on your Pfsense, just configure it as LAN port with the IP address of your VLAN 10, first clear that VLAN 10 interface including that DHCP Server. Then configure two ports on the switch as access port in vlan 10. Connect one port directly to the second/new LAN port of pfsense, the other one to your workstation. You need to configure the DHCP Server at the new LAN port.

                  Your workstation should be able to get an IP DHCP address from Pfsense in this VLAN 10.

                  So no tagging is needed, if that is an issue with that switch.

                  <a href="https://carsonlam.ca">bintang88</a>
                  <a href="https://carsonlam.ca">slot88</a>

                  C 2 Replies Last reply May 24, 2023, 1:48 PM Reply Quote 0
                  • C
                    Cannondale @pete35
                    last edited by May 24, 2023, 1:47 PM

                    @pete35
                    wireshark doesn't seem to be noob friendly. I'm in a "packets must be specified" loop!

                    P 1 Reply Last reply May 24, 2023, 3:25 PM Reply Quote 0
                    • C
                      Cannondale @pete35
                      last edited by May 24, 2023, 1:48 PM

                      @pete35 said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                      Maybe we can do another configuration

                      Working on it now

                      1 Reply Last reply Reply Quote 0
                      • C
                        Cannondale @pete35
                        last edited by May 24, 2023, 2:12 PM

                        @pete35 said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                        Your workstation should be able to get an IP DHCP address from Pfsense in this VLAN 10

                        Got a vlan10 IP on the workstation. Didn't need to reconfigure the switch for vlan10 as port 23 and 24 were already configured for vlan10.

                        🔒 Log in to view

                        P 1 Reply Last reply May 24, 2023, 3:05 PM Reply Quote 0
                        • P
                          pete35 @Cannondale
                          last edited by May 24, 2023, 3:05 PM

                          @Cannondale
                          That sounds good. Add more vlan 10 access ports to connect your servers and so on.
                          Until you find another solution with that tagging issue, this is as good as a trunked port and seperates the traffic.
                          Dont forget to add some firewall rules to limit the access to vlan 10 if you need this. Pfsense will route between Vlans.

                          <a href="https://carsonlam.ca">bintang88</a>
                          <a href="https://carsonlam.ca">slot88</a>

                          1 Reply Last reply Reply Quote 0
                          • P
                            pete35 @Cannondale
                            last edited by May 24, 2023, 3:25 PM

                            @Cannondale said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                            wireshark doesn't seem to be noob friendly. I'm in a "packets must be specified" loop!

                            @Cannondale
                            this sounds interesting. if you startup wireshark on your interface of a workstation, it should work out of the box. So maybe there is something crazy on your network at all. Did you select the correct running interface?

                            if you generate a tcpdump file with "tcpdump -i interface -e -w dumpfile.pcap" you can open it with wireshark and you can save captured wireshark packets into a file for later analysis.

                            <a href="https://carsonlam.ca">bintang88</a>
                            <a href="https://carsonlam.ca">slot88</a>

                            C 2 Replies Last reply May 24, 2023, 4:58 PM Reply Quote 0
                            • C
                              Cannondale @pete35
                              last edited by May 24, 2023, 4:58 PM

                              @pete35
                              Plugged the test Linux workstation into switch port 20 (vlan20).
                              I was able to create a dumpfile.pcap file on pfSense and open it on another machine in Wireshark. As a non-Network Engineer, what should I look for?

                              P 1 Reply Last reply May 24, 2023, 5:28 PM Reply Quote 0
                              • C
                                Cannondale @pete35
                                last edited by May 24, 2023, 5:04 PM

                                @pete35 said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                                if you startup wireshark on your interface of a workstation, it should work out of the box.

                                This is what I was seeing after entering some host information:

                                🔒 Log in to view

                                P 1 Reply Last reply May 24, 2023, 5:22 PM Reply Quote 0
                                • P
                                  pete35 @Cannondale
                                  last edited by May 24, 2023, 5:22 PM

                                  @Cannondale

                                  looks like it needs some more parameters on startup or needs some more priviledges (root?)
                                  check the "-c" parameter and maybe check all this here:
                                  https://adamtheautomator.com/wireshark-linux/

                                  <a href="https://carsonlam.ca">bintang88</a>
                                  <a href="https://carsonlam.ca">slot88</a>

                                  C 1 Reply Last reply May 24, 2023, 5:48 PM Reply Quote 0
                                  • P
                                    pete35 @Cannondale
                                    last edited by pete35 May 24, 2023, 5:29 PM May 24, 2023, 5:28 PM

                                    @Cannondale said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                                    Plugged the test Linux workstation into switch port 20 (vlan20).

                                    Do you need another vlan ? Or is this just for investigation?
                                    You can configure another vlan with the same trick, if you have more interfaces on the pfsense.

                                    If you can, you may wipe out the whole configuration on the switch and reset it to an initial state. Configure it then only on the GUI. There are a lot of configuration options, maybe not shown on the cli. So if something is hidden, it may influence this crazy vlan issue.

                                    https://www.cisco.com/c/dam/en/us/td/docs/switches/lan/csbss/sf_sg250/quick_start/guide/en_US/78-100762-01A0.pdf

                                    <a href="https://carsonlam.ca">bintang88</a>
                                    <a href="https://carsonlam.ca">slot88</a>

                                    C 1 Reply Last reply May 24, 2023, 5:47 PM Reply Quote 0
                                    • C
                                      Cannondale @pete35
                                      last edited by May 24, 2023, 5:47 PM

                                      @pete35 said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                                      Do you need another vlan ? Or is this just for investigation?

                                      Both. Ultimately need to confirm whether the switch is having an issue with tags. If not a config issue, I will replace it.

                                      @pete35 said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                                      You can configure another vlan with the same trick, if you have more interfaces on the pfsense.

                                      Understood. I'm not a network expert but I recall that this is called segmentation. My quad port card in the pfSence server is full now. It appears that using additional NIC ports to segregate the LAN is a hardware approach as opposed to the vlan approach. My preference would be to use vlans unless a particular use case suggests that segmentation would work better.

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        Cannondale @pete35
                                        last edited by May 24, 2023, 5:48 PM

                                        @pete35 said in No DHCP on pfSense VLAN with Cisco Smart Switch:

                                        looks like it needs some more parameters on startup or needs some more priviledges (root?)
                                        check the "-c" parameter and maybe check all this here:
                                        https://adamtheautomator.com/wireshark-linux/

                                        Thanks for the link! I'll check it out.

                                        J 1 Reply Last reply May 24, 2023, 7:20 PM Reply Quote 0
                                        • J
                                          Jarhead @Cannondale
                                          last edited by May 24, 2023, 7:20 PM

                                          @Cannondale I just skimmed this thread so I may have missed it but have you tried putting 2 ports in the same vlan and see if they can communicate?

                                          C 1 Reply Last reply May 24, 2023, 7:24 PM Reply Quote 0
                                          105 out of 147
                                          • First post
                                            105/147
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.