diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-31 17:09:08 +0200 |
---|---|---|
committer | Pali Rohár <pali@kernel.org> | 2021-12-21 15:43:56 +0100 |
commit | 189bad1c0baeb4fd65ff566d2723b5bc95205a65 (patch) | |
tree | 4287a2e609f794a520e6b7136ee05d3394d40d84 /pppd/pppd.8 | |
parent | 756d704724e8420320989a6b8927290c96ca81e6 (diff) | |
download | ppp-189bad1c0baeb4fd65ff566d2723b5bc95205a65.tar.gz |
ipv6cp: Add support for ipv6cp-use-remotenumber option
This new option cause that pppd would use "remotenumber" option value for
negotiating IPv6 remote interface identifier.
It is expected that "remotenumber" option in this case is set either to MAC
address, IPv4 address, IPv6 address or telephone number (with or without
plus sign) of remote peer system.
This option is useful for PPPoE connections to generate stable and
predicable IPv6 remote interface identifier as "remotenumber" is set by
pppoe.so plugin to MAC address of remote ethernet peer.
Similarly dial-up connections set "remotenumber" to telephone number of the
remote system and VPN-based ppp plugins set "remotenumber" to address of
remote peer (in case VPN connection is based on IPv4 transport protocol
then address is set to IPv4, if based on IPv6 then remotenumber is IPv6
address).
Having stable IPv6 interface identifiers in ipv6cp is really important.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'pppd/pppd.8')
-rw-r--r-- | pppd/pppd.8 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pppd/pppd.8 b/pppd/pppd.8 index 229bab5..1f2b859 100644 --- a/pppd/pppd.8 +++ b/pppd/pppd.8 @@ -212,11 +212,14 @@ Set the local and/or remote 64-bit interface identifier. Either one may be omitted. The identifier must be specified in standard ASCII notation of IPv6 addresses (e.g. ::dead:beef). If the \fIipv6cp\-use\-ipaddr\fR -option is given, the local identifier is the local IPv4 address (see above). +option is given, the local identifier is the local IPv4 address and the +remote identifier is the remote IPv4 address (see above). +If the \fIipv6cp-use-remotenumber\fR option is given, the remote identifier +is set to the value from \fIremotenumber\fR option. On systems which supports a unique persistent id, such as EUI\-48 derived from the Ethernet MAC address, \fIipv6cp\-use\-persistent\fR option can be -used to replace the \fIipv6 <local>,<remote>\fR option. Otherwise the -identifier is randomized. +used to set local identifier. Otherwise both local and remote identifiers +are randomized. .TP .B active\-filter \fIfilter\-expression Specifies a packet filter to be applied to data packets to determine |