Module: Rex::Proto::DHCPv6::Constants

Defined in:
lib/rex/proto/dhcpv6/constants.rb

Overview

Constants for DHCPv6 (RFC 8415), plus the DNS configuration options from RFC 3646. Only the subset needed to run a rogue stateful/stateless DHCPv6 server (to become a client's DNS server) is defined here.

Defined Under Namespace

Modules: DuidType, MessageType, OptionCode, StatusCode

Constant Summary collapse

HARDWARE_TYPE_ETHERNET =

Hardware type for DUID-LL/LLT (IANA; 1 = Ethernet)

1
ALL_DHCP_RELAY_AGENTS_AND_SERVERS =

The well-known multicast group all DHCPv6 servers and relay agents listen on, and the server/client UDP ports (RFC 8415 section 7.2).

'ff02::1:2'
SERVER_PORT =
547
CLIENT_PORT =
546