This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:frr [2022/05/31 18:55] – jotasandoku | network_stuff:frr [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | **INSTALLATION** | ||
| + | \\ | ||
| + | * Install any of the supported base linux. eg: Debian/ | ||
| + | * Follow this steps: [[https:// | ||
| + | * Uncomment '' | ||
| + | * If possible to access via console, remove all the network configuration from the linux level. | ||
| + | * restart linux | ||
| + | * enable daemons in ''/ | ||
| + | |||
| + | **INSTALL https:// | ||
| + | * start frr | ||
| + | * apply first config (management) | ||
| + | * configure terminal -> log file / | ||
| + | * Restart FRR as below: | ||
| - | Most of the vantage points are now ipv4 default, so:\\ | ||
| - | show bgp ipv4 unicast 203.190.181.0 | ||
| - | sh ip bgp regexp _200981$ | ||
| - | sh ip bgp regexp _200981$ | ||
| - | show bgp ipv4 unicast regexp 174_([0-9]+)_200981$ ! regexp anything from our ASN traversing Cogent | ||
| - | | ||
| - | ---- | ||
| - | **FRR routing FREE RANGE ROUTING**\\ | ||
| - | [[http:// | ||
| - | \\ | ||
| - | Zebra IS THE RIB | ||
| - | \\ | ||
| - | To restart frr: | ||
| / | / | ||
| / | / | ||
| - | Also here: [[https:// | ||
| - | \\ | ||
| - | Binding files: [[https:// | ||
| - | \\ | + | |
| - | Route Servers IXP:\\ | + | |
| - | | + | |
| - | * [[https://www.ixpmanager.org/media/ | + | |
| - | * | + | |
| ---- | ---- | ||
| - | __**FLOWSPEC NOTES RFC 5575**__ | + | |
| - | To filter (apply actions) on flows instead of penalising whole prefix ranges.\\ | + | Relevant files: |
| - | Actions to be done are transmitted via a BGP session from the controller (tells the router what to filter).SAFI 133.\\ | + | / |
| - | More specifically, | + | / |
| + | |||
| - | * We use [[https://github.com/Exa-Networks/ | + | To restart frr: |
| - | * In this [[https:// | + | |
| - | * however it gives for granted that we know how to generate and send flowspec messages. | + | /usr/lib/frr/frrinit.sh restart |
| - | * the message was sent by sFlow-RT/exabgp. More info [[https://blog.sflow.com/2017/ | + | |
| - | | + | sudo systemctl start frr.service |
| + | Also here: [[https:// | ||
| + | \\ | ||
| + | |||
| + | Most of the vantage points are now ipv4 default, so:\\ | ||
| + | show bgp ipv4 unicast 203.190.181.0 | ||
| + | sh ip bgp regexp _200981$ | ||
| + | sh ip bgp regexp _200981$ | ||
| + | show bgp ipv4 unicast regexp 174_([0-9]+)_200981$ ! regexp anything from our ASN traversing Cogent | ||
| + | | ||
| ---- | ---- | ||
| - | __EXABGP__: | ||
| - | exabgp api accepts these [[https:// | + | Binding files: |
| - | \\ | + | |
| - | Ways to start exabgp: | + | |
| - | sudo env exabgp.daemon.user=root exabgp-4.0.0/sbin/exabgp exabgp.conf | + | |
| - | sudo env exabgp.debug.configuration=1 exabgp.debug.pdb=1 exabgp.daemon.user=root exabgp-4.0.0/sbin/exabgp exabgp.conf | + | |
| - | exabgp | + | |
| - | Links:\\ | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | Examples of flowspec messages. They follow Juniper style | + | ---- |
| - | ' | + | |
| - | | + | Route Servers IXP:\\ |
| - | ' | + | |
| - | | + | |
| - | DDOS protection with RTBH and flowspec: | + | |
| - | [[https://drive.google.com/file/d/1jcIYvboHmFWF5FlcNQK5HXKIH1Ij91xn/ | + | |
| - | {{: | + | |