packages/ipv6/wide-dhcpv6/files/dhcp6c.config
spudz76 4e125ff4a8 [patchteam] Add wide-ipv6 packages, thanks Raphael
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 01:13:38 +00:00

26 lines
768 B
Plaintext

# The followings are a sample configuration for requiring the "stateless"
# DHCPv6 service.
# interface eth0 {
# information-only;
#};
# The followings are a sample configuration to be delegated an IPv6 prefix
# from an upstream service provider. With this configuration dhcp6c will
# send solicit messages containing an IA_PD option, with an IAID 0, on to
# an upstream PPP link, ppp0. After receiving some prefixes from a server,
# dhcp6c will then configure derived IPv6 prefixes with the SLA ID 1 on a
# local ethernet interface, ne0. Note that the IAID for the id-assoc
# statement is 0 according to the default.
interface ppp1 {
send ia-pd 0;
};
id-assoc pd {
prefix-interface lan0 {
sla-id 1;
sla-len 8;
};
};