Ondrej Zajicek (work)
b29499996b
Nest: Update of show route cmd
...
Some code cleanup, multiple bugfixes, allows to specify also channel
for 'show route export'. Interesting how such apparenty simple thing
like show route cmd has plenty of ugly corner cases.
2017-04-25 19:02:31 +02:00
Ondrej Zajicek (work)
6f535924eb
Filter: Fix reconfiguration of roa_check()
2017-04-18 13:56:51 +02:00
Ondrej Zajicek (work)
4278abfe27
Check validity of dest w.r.t. net_type
...
Allow to define static roa/flow routes without dest.
2017-04-18 13:56:40 +02:00
Jan Moskyto Matejka
3484cb9a65
Client: separate config syntax structure for "show route for"
2017-04-18 13:45:50 +02:00
Jan Moskyto Matejka
7ee07a3c39
Nest: Fix route lookup
2017-04-12 16:05:56 +02:00
Jan Moskyto Matejka
97e48b6a18
Adding also our copy of struct rtvia.
2017-04-12 16:04:22 +02:00
Jan Moskyto Matejka
54635f435a
Include local lwtunnel.h unless found in system
2017-04-12 16:04:22 +02:00
Ondrej Zajicek (work)
711d617dc1
BGP: Add support for SAFI 129 (VPN multicast)
...
Which, in contrast to SAFI 128, does not use MPLS labels.
2017-04-12 16:04:22 +02:00
Ondrej Zajicek (work)
ffb38dfb8b
Static: Support for dual-AF IGP tables
...
When recursive routes with hybrid next hops (e.g. IPv6 route with IPv4 next
hop) are allowed, we need both IPv4 and IPv6 IGP tables.
2017-04-12 16:04:22 +02:00
Jan Moskyto Matejka
2faf519cf9
Client: multitable version of show route
2017-04-12 16:04:22 +02:00
Ondrej Zajicek (work)
bff21441dd
Netlink: Change default kernel metric to 32
...
This avoids collisions with non-BIRD routes in kernel tables.
2017-03-29 16:10:00 +02:00
Ondrej Zajicek (work)
ed6100441e
Netlink: Better handling of an error case
2017-03-29 15:55:39 +02:00
Ondrej Zajicek (work)
6fe11c9941
BGP: Simplify igp table options
2017-03-29 15:31:04 +02:00
Ondrej Zajicek (work)
c49e4a6565
BGP: Update list of supported standards
2017-03-29 13:48:23 +02:00
Ondrej Zajicek (work)
7074be22f1
Netlink: Fix device route delete
2017-03-28 18:27:08 +02:00
Jan Moskyto Matejka
5dbeb87ec9
Merge branch 'int-new' of gitlab.labs.nic.cz:labs/bird into int-new
2017-03-28 17:35:57 +02:00
Jan Moskyto Matejka
2282030b2a
Simpler format of VPN RD
2017-03-28 17:35:32 +02:00
Ondrej Zajicek (work)
d1b8fe93f0
Netlink: Fix bug in RTA_PRIORITY handling
2017-03-28 16:05:40 +02:00
Ondrej Zajicek (work)
ef57b70fa5
BGP: Support for routes with mixed-AF next hops
...
Covers IPv4/VPNv4 routes with IPv6 next hop (RFC 5549), IPv6 routes with
IPv4 next hop (RFC 4798) and VPNv6 routes with IPv4 next hop (RFC 4659).
Unfortunately it also makes next hop hooks more messy.
Each BGP channel now could have two IGP tables, one for IPv4 next hops,
the other for IPv6 next hops.
2017-03-26 19:20:15 +02:00
Ondrej Zajicek (work)
01111fc42c
BGP: Bugfix in VPN NLRI encoding
2017-03-23 14:10:42 +01:00
Ondrej Zajicek (work)
1e37e35c3e
BGP: Support for MPLS labels and VPN SAFI
...
Basic support for SAFI 4 and 128 (MPLS labeled IP and VPN) for IPv4 and
IPv6. Should work for route reflector, but does not properly handle
originating routes with next hop self.
Based on patches from Jan Matejka.
2017-03-22 18:16:49 +01:00
Jan Moskyto Matejka
ead7b8f498
Merge branch 'nexthop-merged' into int-new
2017-03-22 14:54:00 +01:00
Jan Moskyto Matejka
61e501da89
Filter: Check whether IP is 4 or 6
2017-03-22 14:53:37 +01:00
Jan Moskyto Matejka
3c74416465
Nexthop: Fixed recursive route mpls label merging
2017-03-17 15:48:32 +01:00
Ondrej Zajicek (work)
a5d2a34497
Minor cleanups
...
BTW, 'prefices' is hypercorrection, as 'prefix' is from 'praefixum' with
plural 'praefixa'.
2017-03-14 17:25:42 +01:00
Jan Moskyto Matejka
8c9986d310
Filters: VPN Route Distinguishers, Prefix Type, Docs Update
2017-03-13 13:51:20 +01:00
Jan Moskyto Matejka
54334b5667
Filter: ROA check test and mixed prefix test
2017-03-09 15:57:54 +01:00
Ondrej Zajicek (work)
665be7f6bd
Nest: Minor fixes in show route
2017-03-09 13:47:00 +01:00
Ondrej Zajicek (work)
7126cadf80
Static: Minor overhaul
...
The patch fixes several bugs introduced in previous changes, simplifies
the protocol by handing routes uniformly, introduces asynchronous route
processing to avoid issues with separate notifications for each next-hop
in ECMP routes, and makes reconfiguration faster by avoiding quadratic
complexity.
2017-03-09 13:47:00 +01:00
Ondrej Zajicek (work)
5ffb62dd03
Nest: Allow iface-only neighbors
2017-03-09 13:47:00 +01:00
Ondrej Zajicek (work)
da3cf9eae3
Update OSPF and RIP protocol names and related documentation
2017-03-08 17:37:11 +01:00
Jan Moskyto Matejka
039a65d0e4
Nexthop: Fixed hostentry
2017-02-24 14:05:11 +01:00
Jan Moskyto Matejka
93f50ca317
Nest: names for nhu_state values
...
It took too much time to analyze what's the meaning of nhu_state values
so I spent less than the same amount of time documenting it.
2017-02-22 14:11:01 +01:00
Jan Moskyto Matejka
b2b84359ab
Babel post-merge fixes
2017-02-22 12:02:28 +01:00
Jan Moskyto Matejka
c609d03986
Merge branch 'int-new' into nexthop-merged
2017-02-22 11:58:04 +01:00
Ondrej Zajicek (work)
2be9218a3b
BGP: Update RFC references
2017-02-20 02:28:04 +01:00
Ondrej Zajicek (work)
62e64905b7
Several minor fixes
2017-02-20 02:26:45 +01:00
Ondrej Zajicek (work)
c259669fa3
Merge branch 'master' into int-new
2017-02-08 14:34:48 +01:00
Ondrej Zajicek (work)
82f42ea091
BGP: Minor cleanups
2017-02-07 15:55:51 +01:00
Ondrej Zajicek (work)
da65a3d898
Filter: Fix missing case for !~ operator
...
Thanks to Vincent Bernat for the patch.
2017-01-24 15:35:38 +01:00
Ondrej Zajicek (work)
d8022d26fc
BGP: Partial support for IPv4 routes with IPv6 next hop (RFC 5549)
...
Mostly capability signalling
2017-01-24 02:00:35 +01:00
Ondrej Zajicek (work)
5509e17d0c
BGP: Support for AS confederations (RFC 5065)
2017-01-22 16:32:42 +01:00
Ondrej Zajicek (work)
f6e6c3b5a5
Fix IP_HDRINCL usage on FreeBSD 11
...
FreeBSD 11 changed endianity of ip_len field from host order to network
order. Also DragonFly BSD allegedly expects network order here.
Thanks to Olivier Cochard-Labbé for the patch.
2017-01-17 13:21:25 +01:00
Ondrej Zajicek (work)
f8aad5d5b7
Minor cleanups
2017-01-03 16:30:27 +01:00
Jan Moskyto Matejka
d311368bc5
VPN4 and VPN6 literals
...
From now on, protocol static accepts VPN4 and VPN6 addressess.
With some concerns about VPN6 Route Distinguishers, I finally chose
to have the same format as for VPN4 (where it is defined by RFC 4364).
2016-12-22 21:38:33 +01:00
Jan Moskyto Matejka
d47c3d64b2
MPLS: Label stack concatenation for recursive routes
2016-12-22 21:38:33 +01:00
Jan Moskyto Matejka
d14f8c3c45
Netlink: MPLS routes in kernel
...
Anyway, Bird is now capable to insert both MPLS routes and MPLS encap
routes into kernel.
It was (among others) needed to define platform-specific AF_MPLS to 28
as this constant has been assigned in the linux kernel.
No support for BSD now, it may be added in the future.
2016-12-22 21:38:33 +01:00
Jan Moskyto Matejka
f2010f9c65
Static: Protocol rework wrt. struct nexthop changes; MPLS label support
2016-12-22 21:38:33 +01:00
Jan Moskyto Matejka
33ad6e0188
MPLS: added net_addr_mpls variant of net_addr
2016-12-22 13:35:16 +01:00
Jan Moskyto Matejka
ec5e5d23fa
Nexthop: Support for label stack in nest
2016-12-22 13:23:52 +01:00