Go to file
Donald Sharp 7b7d48e586 bgpd: Create set distance XXX command for routemaps
Allow bgp to set a local Administrative distance to use
for installing routes into the rib.

Example:
!
router bgp 9323
 bgp router-id 1.2.3.4
 neighbor enp0s8 interface remote-as external
 !
 address-family ipv4 unicast
  neighbor enp0s8 route-map DISTANCE in
 exit-address-family
!
route-map DISTANCE permit 10
 set distance 153
!
line vty
!
end
eva# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR, f - OpenFabric,
       > - selected route, * - FIB route, q - queued route, r - rejected route

B   0.0.0.0/0 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06
K>* 0.0.0.0/0 [0/100] via 10.0.2.2, enp0s3, 00:06:31
B>* 1.1.1.1/32 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06
B>* 1.1.1.2/32 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06
B>* 1.1.1.3/32 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06
C>* 10.0.2.0/24 is directly connected, enp0s3, 00:06:31
K>* 169.254.0.0/16 [0/1000] is directly connected, enp0s3, 00:06:31
eva#

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-13 16:43:16 -04:00
.github .github: move pr template to subdir 2019-03-29 16:51:58 +00:00
alpine docker: build alpine docker w/ rpki enabled 2019-07-15 17:39:43 +00:00
babeld Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
bfdd Merge pull request #4604 from opensourcerouting/mutex-sugar 2019-09-03 14:55:14 -04:00
bgpd bgpd: Create set distance XXX command for routemaps 2019-09-13 16:43:16 -04:00
debian bgpd/bmp: BMP implementation 2019-08-30 19:22:23 +02:00
doc doc: Djikstra -> Dijkstra 2019-09-11 20:35:06 +02:00
docker docker: cleanup Debian docker build 2019-06-20 16:59:26 +00:00
eigrpd eigrpd: Fix SA issue with setting but not using 2019-09-03 19:22:27 -04:00
fpm *: s/TRUE/true/, s/FALSE/false/ 2019-07-01 17:26:05 +00:00
gdb bgpd: Convert binfo to path 2018-10-09 14:26:30 -04:00
grpc lib: add new gRPC-based northbound plugin 2019-04-26 18:15:32 -03:00
include Revert "include: Add linux header mroute.h to our build" 2019-01-31 01:37:14 +01:00
isisd isisd: Enabling build with openssl 2019-09-04 09:39:47 -04:00
ldpd lib, zebra: add new MPLS zapi message with route replace semantics 2019-09-10 00:01:10 -03:00
lib Merge pull request #4949 from opensourcerouting/mpls-zapi-improvements 2019-09-13 17:36:16 +02:00
m4 build: add check for python-3.8 2019-08-14 15:06:52 +02:00
nhrpd lib: split off c-ares code from nhrpd 2019-07-03 17:15:34 +02:00
ospf6d *: frr_elevate_privs -> frr_with_privs 2019-09-03 17:18:35 +02:00
ospfclient build: fix a whole bunch of *FLAGS 2019-01-30 19:13:51 +01:00
ospfd Merge pull request #4949 from opensourcerouting/mpls-zapi-improvements 2019-09-13 17:36:16 +02:00
pbrd pbrd: initial fwmark support for pbr matches #4460 2019-09-03 15:30:10 -05:00
pimd pimd: Slightly loosen pim assert message length tests 2019-09-10 10:53:15 -04:00
pkgsrc *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
python bgpd/bmp: BMP implementation 2019-08-30 19:22:23 +02:00
qpb *: fix config.h/zebra.h include order 2018-09-08 21:30:42 +02:00
redhat bgpd/bmp: BMP implementation 2019-08-30 19:22:23 +02:00
ripd *: frr_elevate_privs -> frr_with_privs 2019-09-03 17:18:35 +02:00
ripngd *: frr_elevate_privs -> frr_with_privs 2019-09-03 17:18:35 +02:00
sharpd pbrd, sharpd, staticd: Add some color to sample configuration files 2019-08-19 10:36:53 -04:00
snapcraft snapcraft: Add libdb5.3 dependency 2019-05-29 01:41:02 +02:00
solaris *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
staticd Merge pull request #4722 from ak503/static 2019-09-11 13:36:55 -04:00
tests Merge pull request #4969 from ton31337/feature/rewrite_bgp_aggregate-address_route-map_test 2019-09-13 11:03:36 -07:00
tools *: frr_elevate_privs -> frr_with_privs 2019-09-03 17:18:35 +02:00
vrrpd *: frr_elevate_privs -> frr_with_privs 2019-09-03 17:18:35 +02:00
vtysh vtysh, lib: allow regexp in find command 2019-09-03 16:09:52 +00:00
watchfrr *: fix some dumb printf format warnings 2019-06-11 13:34:57 +02:00
yang yang: add user type for ip-address 2019-09-12 21:39:43 +00:00
zebra Merge pull request #4949 from opensourcerouting/mpls-zapi-improvements 2019-09-13 17:36:16 +02:00
.clang-format *: frr_elevate_privs -> frr_with_privs 2019-09-03 17:18:35 +02:00
.dir-locals.el .dir-locals.el: show trailing whitespace 2017-11-07 12:05:09 -05:00
.dockerignore docker/alpine: Update buildscript to keep the docker image around 2019-03-27 15:39:54 +01:00
.gitignore git: Ignore Visual Studio Code settings 2019-05-11 10:12:43 +03:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
changelog-auto.in debian: cleanly split off from dist tarball 2019-02-19 21:31:18 +01:00
config.version.in build: carry --with-pkg-extra-version into tarballs 2018-10-24 15:11:50 +02:00
configure.ac Merge pull request #4919 from opensourcerouting/config-warnings 2019-09-03 14:55:38 -04:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
defaults.h *: reindent 2017-07-17 14:04:07 +02:00
Makefile.am build: improve clippy options 2019-06-12 19:22:59 +02:00
README.md README.md: add VRRP to list of protocols 2019-06-18 02:07:07 +00:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00

FRRouting

FRR is free software that implements and manages various IPv4 and IPv6 routing protocols. It runs on nearly all distributions of Linux and BSD as well as Solaris and supports all modern CPU architectures.

FRR currently supports the following protocols:

  • BGP
  • OSPFv2
  • OSPFv3
  • RIPv1
  • RIPv2
  • RIPng
  • IS-IS
  • PIM-SM/MSDP
  • LDP
  • BFD
  • Babel
  • PBR
  • OpenFabric
  • VRRP
  • EIGRP (alpha)
  • NHRP (alpha)

Installation & Use

Packages are available for various distributions on our releases page.

Snaps are also available here.

Instructions on building and installing from source for supported platforms may be found here.

Once installed, please refer to the user guide for instructions on use.

Community

The FRRouting email list server is located here and offers the following public lists:

Topic List
Development dev@lists.frrouting.org
Users & Operators frog@lists.frrouting.org
Announcements announce@lists.frrouting.org

For chat, we currently use Slack. You can join by clicking the "Slack" link under the Participate section of our website.

Contributing

FRR maintains developer's documentation which contains the project workflow and expectations for contributors. Some technical documentation on project internals is also available.

We welcome and appreciate all contributions, no matter how small!

Security

To report security issues, please use our security mailing list:

security [at] lists.frrouting.org