d557ad97ce61f07b211d477f9c1a611b26491af8
[openwrt/svn-archive/archive.git] / ipv6 / wide-dhcpv6 / files / dhcp6c.config
1 # The followings are a sample configuration for requiring the "stateless"
2 # DHCPv6 service.
3 # interface eth0 {
4 # information-only;
5 #};
6
7
8 # The followings are a sample configuration to be delegated an IPv6 prefix
9 # from an upstream service provider. With this configuration dhcp6c will
10 # send solicit messages containing an IA_PD option, with an IAID 0, on to
11 # an upstream PPP link, ppp0. After receiving some prefixes from a server,
12 # dhcp6c will then configure derived IPv6 prefixes with the SLA ID 1 on a
13 # local ethernet interface, ne0. Note that the IAID for the id-assoc
14 # statement is 0 according to the default.
15
16 interface ppp1 {
17 send ia-pd 0;
18 };
19
20 id-assoc pd {
21 prefix-interface lan0 {
22 sla-id 1;
23 sla-len 8;
24 };
25 };