Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:bras_bng:opt_bras_l2:ipv6:start [2023/08/28 13:33] – ↷ Page moved from en:dpi:dpi_options:opt_bras_l2:ipv6:start to en:dpi:bras_bng:opt_bras_l2:ipv6:start elena.krasnobryzh | en:dpi:bras_bng:opt_bras_l2:ipv6:start [2023/10/13 13:39] (current) – removed elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 8 IPv6 Support ====== | ||
- | {{indexmenu_n> | ||
- | |||
- | L2 BRAS (BNG) supports allocating of stateful DHCPv6 IPv6 addresses. In this mode, IPv6-address is allocated to the subscriber with DHCPv6. Automated allocation of IPv6-addresses (SLAAC/ | ||
- | |||
- | The concept of the work scheme looks like this: | ||
- | - subscriber' | ||
- | - CPE sends a DHCPv6-request to obtain an IPv6-address; | ||
- | - DPI intercepts all DHCPv6 subscriber requests and processes them, in fact it is acting as a DHCPv6 server. If the DPI has no information on such subscriber or the session has expired, DHCPv6-request is transferred to Radius with PCRF; | ||
- | - PCRF receives a response from Radius. Among other parameters, it contains subscriber' | ||
- | - Having the data from PCRF, DPI sends a DHCPv6-response to the subscriber. DPI allocates one IPv6 address from the IPv6 prefix given to the subscriber, while the PD-prefix is transmitted to the subscriber completely. Despite that only one address is allocated from an IPv6-prefix, | ||
- | |||
- | <note warning> | ||
- | |||
- | If the subscriber has both IPv6- and PD-prefix, then such subscriber must be marked as multi-bind. The reason is that such subcriber holds //**two**// IPv6-prefixes; | ||
- | |||
- | === Enabling IPv6 BRAS/BNG === | ||
- | |||
- | IPv6 BRAS/BNG mode is enabled automatically, | ||
- | <code bash> | ||
- | ipv6=1 | ||
- | bras_enable=1 | ||
- | </ | ||
- | |||
- | You can disable IPv6 BRAS by setting in // | ||
- | <code bash> | ||
- | bras_ipv6=0 | ||
- | </ | ||
- | The bras_ipv6 parameter can be turned off ('' | ||
- | |||
- | DHCPv6 request processing mode is enabled since IPv6 BRAS is enabled. You can disable DHCPv6 and ICMPv6 Router Solicitation by setting in // | ||
- | <code bash> | ||
- | bras_dhcp6_mode=0 | ||
- | </ | ||
- | |||
- | Additionally you can set the following parameters in // | ||
- | |||
- | ♦ '' | ||
- | |||
- | ♦ '' | ||
- | |||
- | ♦ [[en: | ||
- | |||
- | ♦ [[en: | ||
- | |||
- | |||
- | === Radius-Server Intergation === | ||
- | **Example** of an Access-Request for allocating IPv6 prefixes to the subscriber: | ||
- | <code bash> | ||
- | Packet-Type = Access-Request | ||
- | User-Name = " | ||
- | Calling-Station-Id = " | ||
- | Acct-Session-Id = " | ||
- | NAS-Identifier = " | ||
- | NAS-Port-Type = Virtual | ||
- | NAS-Port-Id = " | ||
- | NAS-IP-Address = 188.227.73.40 | ||
- | VasExperts-Service-Type = DHCPv6 | ||
- | VasExperts-DHCPv6-Request = Solicit | ||
- | VasExperts-DHCPv6-Delegated = 1 | ||
- | VasExperts-DHCP-ClientId = 0x00010001237d47fca0b1c2d3006a | ||
- | </ | ||
- | In this example, QinQ is a subscriber' | ||
- | <note warning> | ||
- | **Example** of response: | ||
- | <code bash> | ||
- | Packet-Type = Access-Accept | ||
- | User-Name=" | ||
- | VasExperts-Multi-IP-User = 1 | ||
- | Framed-IPv6-Prefix = 2001: | ||
- | Delegated-IPv6-Prefix = 2001: | ||
- | DNS-Server-IPv6-Address = 2001: | ||
- | DNS-Server-IPv6-Address = 2001: | ||
- | Session-Timeout = 7200 | ||
- | Idle-Timeout = 600 | ||
- | VasExperts-Policing-Profile = " | ||
- | VasExperts-Service-Profile = " | ||
- | VasExperts-Enable-Service = " | ||
- | VasExperts-Enable-Service = " | ||
- | </ | ||
- | In this example, the subscriber recieves two **different** prefixes: | ||
- | * '' | ||
- | * '' | ||
- | |||
- | It is important to note: | ||
- | - for IPv6, the address **always** has to be bound with login. Login is a unique subscriber ID, which can be associated with many IPv4-addresses and IPv6-prefixes. Subscriber' | ||
- | - If the subscriber has several IPv6-prefixes (like in the example given - IPv6-prefix and PD-prefix), then such subscriber must be marked as multi-bind ('' | ||
- | |||
- | '' | ||
- | |||
- | IPv6 prefix leasing time is set by fastdpi.conf-parameters [[en: | ||
- | |||
- | Additional DHCPv6-options can be set with special [[en: | ||