Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Filter BGP Routes
« previous
next »
Print
Pages: [
1
]
Author
Topic: Filter BGP Routes (Read 1803 times)
wedge1001
Newbie
Posts: 19
Karma: 2
Filter BGP Routes
«
on:
December 27, 2021, 10:01:27 am »
Hello,
I've setup BGP in my test-lab - this works quite nice and as expected.
Unfortunately there is one "problem" I'm not yet able to solve:
If I enable "Connected routes (directly attached subnet or host)" it also announces my WAN-Interface-Subnet.
Since The firewall does have loads of local subnets attached, I really would like to use this method.
I've tried to setup a prefix-list and add them to the routed map, but it looks like it's completely ignored.
What I try to achieve: Only route private IPv4 subnets attached to this router.
Any Idea what I did wrong?
Thanks
edit:
it looks like a filtering would be possible if i actually could add more than one "prefix list" to my "route maps"
any idea how this can be acomplished? If I add more than one list, it always says: "Related item not found"
«
Last Edit: December 27, 2021, 12:43:38 pm by wedge1001
»
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Filter BGP Routes
«
Reply #1 on:
December 27, 2021, 01:06:40 pm »
Label the same and higher the number (10, 20, 30 ...)
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
wedge1001
Newbie
Posts: 19
Karma: 2
Re: Filter BGP Routes
«
Reply #2 on:
December 27, 2021, 01:17:13 pm »
wow.
what an easy fix - if you know it.
Thank you very much for your help!
«
Last Edit: December 27, 2021, 08:26:31 pm by wedge1001
»
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Filter BGP Routes
«
Reply #3 on:
December 27, 2021, 05:40:57 pm »
Its copied from Cisco. Open source usually lacks documentation
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Filter BGP Routes