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

    2 GBit provider connection on 10 GBit GBic on Cisco with a Netgate Firewall with 2x 1 GBit network cards

    Scheduled Pinned Locked Moved Routing and Multi WAN
    7 Posts 3 Posters 604 Views 3 Watching
    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.
    • O Offline
      Overlord
      last edited by

      Hey guys

      Sorry for the long title. I have a Cisco layer 3 switch here with a 10 GBit GBic Module with a 2 GBit network connection from our local provider. Unfortunately the firewall has only 2x 1 GBit network cards.

      It is possible to have a LAGG with LACP, Loadbalance or Roundrobin to use both 1 GBit network cards to the fully utilize the 2 GBit connection?

      Maybe one of you alrady made the experience or has an idea - this would be awesome :)

      Thanks and greetz

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Not effectively. LACP only load balances based on the source and destination MACs, which will always be the upstream gateway going to the LAGG interface on the firewall. So you can have failover, but not bonded bandwidth. You'll need a 10G interface on the firewall (or, I suppose a 2.5G interface and compatible switch...)

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • O Offline
          Overlord
          last edited by

          What's about LACP with src-ip? I think the switch should sent the packages load-balances trough both interfaces.

          Unfortunately at the moment it's only theoretic. Maybe I can test it in a couple of days. But it seems, that I have the following options at the Cisco switch:

          dst-ip - Dst IP Addr
          dst-mac - Dst Mac Addr
          src-dst-ip - Src XOR Dst IP Addr
          src-dst-mac - Src XOR Dst Mac Addr
          src-ip - Src IP Addr
          src-mac - Src Mac Addr

          The destination ip address is anytime the same - but the the source ip address change from host to host.

          Which load-balance mod should be the best for a two lan port based lacp on the on side and two single 1 gbit connections on the other side?

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            There isn't a way to change the lagg hash on pfSense, so it may help downstream but not upstream. That's entirely dependent upon your upstream switch/equipment. It still means that no single flow would be able to go over 1Gbit/s.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • O Offline
              Overlord
              last edited by

              That's for sure - but I don't want to have a tcp flow with a speed over 1 GBit. I only want to use both WAN sides in general. I have a lot of computers with some web sessions, tcp sessions and soft phones.

              The firewall is configured to sent packages over both WAN sides.

              My idea is to handle both seperate WAN connections with a LACP for both LAN ports:

              LAN1 -> LAGG_1 -> WAN 1/2
              LAN2 -> LAGG_1 -> WAN 1/2

              Without an LACP and without a 10 GBit card I have only 2 independent 1 GBit LAN cards and when the only 1 GBit LAN link is full I can't use both 1 GBit WAN links.

              I hope you can understand what I want to say^

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

                How does this connection come into your location? Are you saying that is on 10ge interface and you want to connect that to a switch, and then have 2 1ge connections from your firewall?

                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 25.07 | Lab VMs 2.8, 25.07

                1 Reply Last reply Reply Quote 0
                • O Offline
                  Overlord
                  last edited by Overlord

                  Sorry for beeing unclear - at the beginning, I had an another initial situation.

                  I have 2x 1 GBit copper wan cables going inside to the firewall.

                  The other card with two ports in the firewall (I have 4x 1 GBit ports) is connected with a Cisco Layer 3 Switch/Router.

                  At the moment the Firewall is connected with a Carp interface to the Cisco switch and I want to change this to an LACP to get the, hopefully, possibility to utilize the two 1 GBit WAN ports.

                  Now (Failover):
                  CARP LAN with 2 ports -> pfSense -> 2x 1 GBit WAN links -> provider router

                  Later (Failover and 2 GBit on LAN side):
                  LAG with 2 ports -> pfSense -> 2x 1 GBit WAN links -> provider router

                  Edit
                  Got it... shitty VMware Workstation. Some trouble with duplicate Mac addresses.

                  The LACP is up and running but I can't verify my configured load-balance mode (src-ip). When I have one download I have 12 MB/s (LAN 100 MBit and WAN 1 GBit) and with two computers I have 2x 6 MB/s.

                  Edit2
                  Ok guys - in the end, I realized that one of the network cards are broken. After buying a new card - everything is working like a charm

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