Setup utility for a certain BB in Japan.
Original repo: https://github.com/kruton/sofutobanku
- ICMPv6 Router Solicitation
- Receive MTU information from router (i.e., 1500 bytes; see section 2.4.2.1.5 of FLETS)
- IPv6 DHCP exchange (Internet)
- Request:
- Response:
- Vendor-specific information (NTT):
- MAC address (option 201)
- Hikari Denwa telephone number (option 202)
- SIP domain (option 204)
- Route information (option 210; not needed?)
- Identity Assocation for Prefix Delegation (IA-PD)
- Sends a /64 address (/56 PD prefix if Hikari Denwa is available or CROSS type)
- A certain network interface must add an address like this:
[NEXT]xxxx:xxxx:xxxx:xx00:1111:1111:1111:1111/64
(not on the interface it received the delegation from)
[CROSS]xxxx:xxxx:xxxx:xx00:yy:yyyy:yy00:0
(yy:yyyy:yy
is the hex format of tunnel local IPv4 address)
- Vendor-specific information (NTT):
- IPv6 RADIUS exchange (IPv4-over-IPv6 setup)
- Access-Request (1) packet:
- RADIUS Shared Secret and Password is needed
- Contains a special IPv6 address as username
- Format is
[NEXT]xxxx:xxxx:xxxx:xx00:1111:1111:1111:1111
[CROSS]xxxx:xxxx:xxxx:xx00
- Format is
- Must contain Vendor Specific Attributes (VSA)
- CPE MAC address (1)
- CPE vendor name (2)
- CPE product name (3)
- CPE hardware version (4)
NOTE: In CROSS type, CPE MAC address must be the LAN side MAC of HGW and all of VSA must be in the same AVP.
- CHAP authentication
- Uses CHAP-Challenge (60) attribute
- Password and secret are shared.
- Access-Accept (2) packet:
- Contains Vendor Specific Attributes (VSA)
- CPE WAN IPv4 address (204)
- IPv6 gateway address (207)
- Other attributes don't appear to be useful
- Contains Vendor Specific Attributes (VSA)
- Access-Request (1) packet:
- IPv4-over-IPv6 tunnel setup
- Use parameters discovered in IPv6 RADIUS exchange
- Must NOT have Tunnel Encapsulation Limit Option