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

    BGP question

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 1.4k 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.
    • G Offline
      gabi
      last edited by

      Hi all,

      i want setup a pfsense box with BGP but I have a problem
      I have 2 providers with different speed
      ISP 1 : 20mbs international + 1gbs national
      ISP 2:  10mbs international + 100mbs national

      each provider can setup 2 vlans/2 links…..1 vlan with international only(BGP default route)  and 1 for national only(BGP contains national prefixes)

      ISP1 will be preffered path for national and international

      how can I tell to pfsense to use national ip classes only on 1gbs link from ISP1 and 100mbs from ISP2?(will make openbgpd this automatically?)
      how can I make different speed limits for national and international

      i have available all national ip classes in 1 file online  which is updated daily

      thanks

      1 Reply Last reply Reply Quote 0
      • R Offline
        Reiner030
        last edited by

        @gabi:

        each provider can setup 2 vlans/2 links…..1 vlan with international only(BGP default route)  and 1 for national only(BGP contains national prefixes)
        how can I tell to pfsense to use national ip classes only on 1gbs link from ISP1 and 100mbs from ISP2?(will make openbgpd this automatically?)

        how can I make different speed limits for national and international

        If you get a peer from ISP1 with only national prefixes announced you can set there an incoming filter with higher local preference (default: 100) to route out or you trigger local preference on IPS2 for national routes lower.
        The incoming route can be triggered also by metric (default 0) so you can set all national prefixes on ISP2 with that.

        easiest solutions seemd to set a filter like this:

        match from ISP2_national set {metric 10 localpref 90 }

        (geek: match from ISP2_national set {metric +10 localpref -10 }

        As often written BGP is not for handling different speed limits.
        But if you have different VLANs for each international/national provider you must have up to 4 WAN ports which can be limited individually.

        Bests

        Reiner

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