iv.
If it is undesirable that hosts on the network use the defined prefix for stateless
auto-configuration, disable the Autonomous Flag setting for the Prefix object. This is
probably the case since the DHCPv6 server is being added to the network.
If another device (either a D-Link firewall or third party device) on the network is going to
send the router advertisements for the DHCPv6 server, that device must be similarly
configured with the settings described above.
Example 5.7. DHCPv6 Server Setup
This example shows how to set up an DHCPv6 server called dhcpv6_server1 on the Ethernet
interface lan. Assume that the pool of available IP addresses is already defined by the IPv6
address object dhcpv6_range1.
The server will also use the rapid commit option and will assign itself a preference value of 100. It
is assumed in this example that IPv6 has been enabled globally and also for the listening
interface lan.
Router advertisements will be generated by the same firewall and the prefix used will be
2001:DB8::/64.
Command-Line Interface
Create the server:
gw-world:/> add DHCPv6Server dhcpv6_server1
Set the hop limit to 1:
gw-world:/> set Settings IPSettings HopLimitMin=1
Create a router advertisement:
gw-world:/> add RouterAdvertisement Name=my_ra
Change the context to be the router advertisement:
gw-world:/> cc RouterAdvertisement 1
Add the prefix object:
gw-world:/1(my_ra)> add RA_PrefixInformation Name=my_prefix
Return to the default context:
Interface=lan
IPv6AddressPool=dhcpv6_range1
RapidCommit=Yes
PreferenceConfigured=Yes
PreferenceValue=100
Interface=lan
UseGlobalRASettings=No
RAManagedFlag=Yes
RAOtherConfigFlag=Yes
Prefix=2001:DB8::/64
RAAutonomousFlag=No
416
Chapter 5: DHCP Services
Need help?
Do you have a question about the NetDefendOS and is the answer not in the manual?