BGP question
-
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 nationaleach 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 internationali have available all national ip classes in 1 file online which is updated daily
thanks
-
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