⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dhcp6s.conf.5

📁 IPv6环境下的DHCP实现
💻 5
字号:
.\"	$KAME: dhcp6s.conf.5,v 1.4 2002/07/02 16:48:23 jinmei Exp $.\".\" Copyright (C) 2002 WIDE Project..\" All rights reserved..\" .\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\"    notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\"    notice, this list of conditions and the following disclaimer in the.\"    documentation and/or other materials provided with the distribution..\" 3. Neither the name of the project nor the names of its contributors.\"    may be used to endorse or promote products derived from this software.\"    without specific prior written permission..\" .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".Dd May 23, 2002.Dt DHCP6S.CONF 5.Os KAME.\".Sh NAME.Nm dhcp6s.conf.Nd DHCPv6 server configuration file.\".Sh SYNOPSIS.Pa /usr/local/v6/etc/dhcp6s.conf.\".Sh DESCRIPTIONThe.Nmfile contains configuration information for KAME's DHCPv6 server,.Nm dhcp6s .The configuration file consists of a sequence of statements terminatedby a semi-colon (`;').Statements are composed of tokens separated by white space,which can be any combination of blanks,tabs and newlines.In some cases a set of statements is combined with a pair of brackets,which is regarded as a single token.Lines beginning with.Ql #are comments..Sh Interface specificationThere are some statements that may or have to specify interface.Interfaces are specified in the form of "name unit", such as.Ar fxp0and.Ar gif1..\".Sh Option statementAn option statement specifies configuration parameters provided forevery client.The format of the statement is as follows..Bl -tag -width Ds -compact.It Xo.Ic option Ar option-name Op Ar option-value;.XcThe following options can be specified in an option statement..Bl -tag -width Ds -compact.It Xo.Ic domain-name-servers Ar dns-address Op Ar dns-addresses....Xcprovides DNS server address(es).Each.Ar dns-addressmust be a numeric IPv6 address..El.\".Sh Interface statementAn interface statement specifies configuration parameters on theinterface.The generic format of an interface statement is as follows:.Bl -tag -width Ds -compact.It Xo.Ic interface Ar interface{.Ar substatements};.XcThe followings are possible.Ar substatementsin an interface statement..Bl -tag -width Ds -compact.It Xo.Ic allow Ar allow-options;.XcThis statement specifies DHCPv6 options accepted by the server.Currently only.Ar rapid-commitcan be specified in an.Ic allowstatement, which specifies the server toaccept a rapid-commit option in solicit messages..It Ic preference Ar pref ;This statement sets the server's preference value on theinterface to the value.Ar pref .The specified value will be contained in a preference option ofadvertise messages.The preference value must be a decimal integer and be between 0 and255 (inclusive.).El.El.\".Sh Host statementA host statement specifies configuration parameters for a particularclient.The generic format of a host statement is as follows:.Bl -tag -width Ds -compact.It Xo.Ic host Ar name{.Ar substatements};.Xc.Ar nameis an arbitrary string.It does not affect server's behavior but is provided forreadability of log messages.Possible substatements are as follows..Bl -tag -width Ds -compact.It Xo.Ic duid Ar ID;.XcThis statement defines the client's DHCP unique identifier.Pq DUID ..Ar IDis a colon-separated hexadecimal sequence where each separated partmust be composed of two hexadecimal values.This statement is used to identify a particular host by the serverand must be included in a host statement..It Ic prefix Ar ipv6-prefix duration ;This statement specifies an IPv6 prefix to be delegated to the client..Ar ipv6-prefixis a string representing a valid IPv6 prefix.Pq see the example below ..Ar durationis the lease duration of the prefix.A positive decimal number or a special string.Ic infinitycan be specified as.Ar duration .A decimal number provides the duration in seconds,while.Ic infinitymeans the prefix never expires.Multiple prefixes can be specified,each of which is given by a single.Ic prefixstatement.In that case,all of the specified prefixes will be delegated to the client..El.El.\".Sh ExamplesThe followings are a sample configuration to provide a DNS serveraddress for every client as well as to delegate an IPv6prefix to a client whose DUID is 00:01:00:01:aa:bb..Bd -literal -offsetoption domain-name-servers 3ffe:ffff::35;host kame {	duid 00:01:00:01:aa:bb;	prefix 3ffe:ffff:1111::/48 infinity;};.Ed.Sh SEE ALSO.Xr dhcp6s 8.\".Sh HISTORYThe.Nmconfiguration file first appeared in the WIDE/KAME IPv6 protocolstack kit.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -