Add route_protocol option

To be able to distinguish routes from several running l2tpns instances.
This commit is contained in:
Samuel Thibault 2025-03-29 13:03:39 +01:00
parent 44b01d70c6
commit b793850d2f
5 changed files with 37 additions and 18 deletions

View file

@ -253,6 +253,19 @@ should be set by a line like: set configstring \"value\" set ipaddress
: Address to send to clients as the default gateway.
`route_protocol` (short)
: Protocol number to record when adding a route
(see `/usr/share/iproute2/rt_protos`). This allows to separate routes added
by several l2tpns instances.
The default is 42.
`ipv6_prefix` (ipv6 address)
: Enable negotiation of IPv6. This forms the the first 64 bits of the
client allocated address. The remaining 64 come from the allocated
IPv4 address and 4 bytes of 0s.
`send_garp` (boolean)
: Determines whether or not to send a gratuitous ARP for the
@ -349,12 +362,6 @@ should be set by a line like: set configstring \"value\" set ipaddress
: Determines the minimum number of up to date slaves required before
the master will drop routes (default: 1).
`ipv6_prefix` (ipv6 address)
: Enable negotiation of IPv6. This forms the the first 64 bits of the
client allocated address. The remaining 64 come from the allocated
IPv4 address and 4 bytes of 0s.
### BGP {#config-startup-bgp}
BGP routing configuration is entered by the command: router bgp as where