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

    DHCP not giving the right IP on 2nd VLAN

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    16 Posts 4 Posters 1.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.
    • JKnottJ
      JKnott @emilien
      last edited by

      @emilien said in DHCP not giving the right IP on 2nd VLAN:

      I think yes :

      Try running a packet capture on that interface, filtering on DHCP, so you can see what's happening.

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

      E 1 Reply Last reply Reply Quote 0
      • E
        emilien @JKnott
        last edited by

        @jknott It's empty :

        Screenshot 2022-08-29 at 09-20-14 pfSense localdomain - Diagnostics Packet Capture.png

        GertjanG E 2 Replies Last reply Reply Quote 0
        • GertjanG
          Gertjan @emilien
          last edited by Gertjan

          @emilien

          Empty the host address= all
          Protocol to UDP as DHCP is UDP only.

          If needed, set port to 67|68
          This means port 67 or port 68

          Btw : the device you've plugged into that port switch "7 or8", is it set to use the correct VLAN ID ?

          Or do you use a managed switch between these ports "7 or 8" and your device, that manages VLAN for you ?

          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
          • E
            emilien @emilien
            last edited by

            @emilien Still nothing on packet capture

            A windows PC and a Raspberry are plugged directly in the port switch eth7 ans eth8 on the Netgate7100, I didn't set anything on the devices... should I ?

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

              @emilien well lets see the switch config you did to put these ports on whatever vlan you want them on.

              https://docs.netgate.com/pfsense/en/latest/solutions/xg-7100-1u/configuring-the-switch-ports.html

              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

              E 1 Reply Last reply Reply Quote 0
              • E
                emilien @johnpoz
                last edited by emilien

                @johnpoz
                Screenshot 2022-08-29 at 11-52-16 pfSense localdomain - Interfaces Interface Assignments.png Screenshot 2022-08-29 at 11-51-26 pfSense localdomain - Interfaces Switch VLANs.png Screenshot 2022-08-29 at 11-51-49 pfSense localdomain - Interfaces Switch Ports.png

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

                  @emilien well did you tag your dmz on your uplinks of the switch.. Doesn't look like it.

                  Also you setup a lagg, you wouldn't set that up unless you were going to use both ports into another switch. Not if you going to put individual devices on them.

                  And port 7 doesn't even show anything connected.

                  edit:
                  Oh, ok you have them on lagg0, but you don't have them tagged on the uplink ports 9 and 10

                  see in the example on the link where 4 ports were broken out into office lan. And its tagged on 9 and 10. Yours would be the same but only the 2 ports your wanting to put on your dmz

                  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

                  E 1 Reply Last reply Reply Quote 1
                  • E
                    emilien @johnpoz
                    last edited by

                    @johnpoz YES ! It's working now !

                    Screenshot 2022-08-29 at 12-26-35 pfSense localdomain - Interfaces Switch VLANs.png

                    ✌

                    I don't really understand why I should add this 2 ports but whatever.... many thanks 🙏

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

                      @emilien those are the uplink into the soc. where "pfsense" actually sees the traffic.

                      While the switch is part of the 7100, logically its no different really then just a switch you would plug into your router physical ports.. The ports 9,10 are the ports that connect to pfsense the switch. They are not just physical ports.

                      "8-port 1Gbps Marvell 88E6190 switch, uplinked at 5 Gbps (2x 2.5 Gbps) to Intel SoC for LAN "

                      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

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        emilien @johnpoz
                        last edited by

                        @johnpoz Ok I understand now, I didn't get it when reading the tutorial. I feel stupid now, sorry about that.

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