diff options
| author | Roy Marples <roy@marples.name> | 2014-10-17 21:23:01 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-10-17 21:23:01 +0000 |
| commit | 9be26bc3c3a03bd468419e7f0b890b88213ae853 (patch) | |
| tree | 1e5037633eea1aa4ee017604c517c59b36d9b4fb | |
| parent | 4ea52ccb261bcc17890bcd6ddd732f5da5b8ab29 (diff) | |
| download | dhcpcd-6.5.1.tar.xz | |
Apply documentation patch from Christos and re-release.dhcpcd-6.5.1
| -rw-r--r-- | dhcpcd.conf.5.in | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/dhcpcd.conf.5.in b/dhcpcd.conf.5.in index ce9ec037..fee17318 100644 --- a/dhcpcd.conf.5.in +++ b/dhcpcd.conf.5.in @@ -294,22 +294,27 @@ You can specify multiple per .Ic ia_pd , space separated. -IPv6RS should be disabled globally when requesting a Prefix Delegation like so: +IPv6RS should be disabled globally when requesting a Prefix Delegation. .Pp -.D1 # Global settings, disable IPv4 and IPv6RS -.D1 noipv4 -.D1 noipv6rs -.D1 # Don't touch eth3 at all -.D1 denyinterfaces eth3 -.Pp -.D1 interface eth0 -.D1 ia_pd 1 eth1/1 eth2/2 -.Pp -.D1 # Enable automatic address configuration for eth1 -.D1 # eth1 still gets a delegated prefix -.D1 interface eth1 -.D1 ipv4 -.D1 ipv6rs +In the following example eth0 is the externally facing interface to be +configured for both IPv4 and IPv6. +The DHCPv4 server will provide us with an IPv4 address and a default route. +The DHCPv6 server is going to provide us with an IPv6 address, a default +route and a /64 subnet to be delegated to the internal interface. +The eth1 interface will be automatically configured +for IPv6 using the first address (::1) from the delegated prefix. +.Xr rtadvd 8 +can be used with an empty configuration file on eth1 to provide automatic +IPv6 address configuration for the internal network. +.Bd -literal -indent +noipv6rs # disable routing solicitation +denyinterfaces eth2 # Don't touch eth2 at all +interface eth0 + ipv6rs # enable routing solicitation get the + # default IPv6 route + ia_na 1 # request an IPv6 address + ia_pd 2 eth1/0 # get a /64 and assign it to eth1 +.Ed .It Ic ia_pd_mix To be RFC compliant, .Nm dhcpcd |
