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

    Network Configuration

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    15 Posts 5 Posters 1.3k 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.
    • M
      marvosa @ahmetakkaya
      last edited by

      @ahmetakkaya
      Create a lagg with both NIC's then create VLAN 10 on the lagg interface.

      1 Reply Last reply Reply Quote 1
      • E
        Ethereal
        last edited by

        Yes, by aggregating these interfaces.
        However this will work only if you have a switch on the other side that can do LACP/pagp.

        Good luck,
        N

        1 Reply Last reply Reply Quote 0
        • ahmetakkayaA
          ahmetakkaya
          last edited by ahmetakkaya

          I lagg but the system did not distribute the ip unfortunately?

          E johnpozJ 2 Replies Last reply Reply Quote 0
          • E
            Ethereal @ahmetakkaya
            last edited by

            @ahmetakkaya could you pls be a bit more specific around this statement?

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

              @ahmetakkaya yeah you really have no control over if lagg will do any sort of share across the physical ports.. How many different IPs do you have talk to pfsense over that lagg?

              "Traffic is balanced between all ports on the LAG, however, for communication between two single hosts it will only use one single port at a time because the client will only talk to one MAC address at a time. For multiple connections through multiple devices, this limitation effectively becomes irrelevant. The limitation is also not relevant for failover."

              Lagg does not equal 1+1=2, it just means 2x1 - with little control over which 1 will be used for any specific communication. While you can get 2gig over the lagg, it will depend on how many different connections you have across the lagg. If its just 1 client talking to pfsense - it would really only ever use 1 of the physical interfaces. Unless 1 failed, then the other would be used, etc.

              Lagg is better suited normally for say switch to switch uplink where you have lots of different devices talking to lots of other devices across the uplink, so that you will be able in aggregate be able to use both for traffic..

              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
              • ahmetakkayaA
                ahmetakkaya
                last edited by

                lagg, I don't understand the working logic

                1 Reply Last reply Reply Quote 0
                • AndyRHA
                  AndyRH
                  last edited by

                  lagg = Link Aggregation
                  lagg will gain 2 basic things with many variables along the way.

                  1. faster provided there are many different connections
                  2. redundancy, 1 port fails, the other port still works.

                  The variables make a huge difference in the outcome. To make lagg do what you want, you will need to clearly define what you want out of the lagg and configure it to meet those needs. Your picture is a start, but it does not clearly define the needs.

                  o||||o
                  7100-1u

                  1 Reply Last reply Reply Quote 0
                  • ahmetakkayaA
                    ahmetakkaya
                    last edited by

                    I combined two ethernet outputs with lagg.

                    I did the ip configuration, but the client did not receive ip from dhcp?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      marvosa @ahmetakkaya
                      last edited by marvosa

                      @ahmetakkaya
                      You have to create the corresponding port-channel (LACP) on your switch and then configure the port-channel as a trunk.

                      But before we even get to all that, as @Ethereal already mentioned...do you even have a managed switch that supports VLANs?

                      ahmetakkayaA 1 Reply Last reply Reply Quote 0
                      • ahmetakkayaA
                        ahmetakkaya @marvosa
                        last edited by ahmetakkaya

                        @marvosa said in Network Configuration:

                        I am using a unifi 48 port poe switch

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          marvosa @ahmetakkaya
                          last edited by

                          @ahmetakkaya Ok, that doesn't necessarily answer the question, but assuming the answer is yes... did you create the LACP port-channel and tag VLAN10 on it?

                          ahmetakkayaA 1 Reply Last reply Reply Quote 0
                          • ahmetakkayaA
                            ahmetakkaya @marvosa
                            last edited by

                            @marvosa

                            yes i created lagg and defined it as vlan 10

                            johnpozJ M 2 Replies Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @ahmetakkaya
                              last edited by johnpoz

                              And what did you do for your client your wanting to get dhcp out of vlan 10?

                              The port the client is connected to would be untagged and in vlan 10.

                              yes i created lagg and defined it as vlan 10

                              This really didn't answer the question.. On the switch... You created the lacp on the 2 ports.. and allowed vlan 10 which is tagged over this connection.

                              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
                              • M
                                marvosa @ahmetakkaya
                                last edited by marvosa

                                @ahmetakkaya Then assuming you configured and enabled the DHCP server on PFsense and have your access ports configured for the correct untagged vlan, it should be working.

                                I'd start checking your DHCP logs and possibly start doing pcap's. Is the traffic making it to PFsense? If not, you'll need to double-check the switch config. The other question is... does vlan 10 have rules on it to allow outbound traffic?

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