rc.conf.5 (212576) | rc.conf.5 (212579) |
---|---|
1.\" Copyright (c) 1995 2.\" Jordan K. Hubbard 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 1995 2.\" Jordan K. Hubbard 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man5/rc.conf.5 212576 2010-09-13 19:52:46Z hrs $ | 25.\" $FreeBSD: head/share/man/man5/rc.conf.5 212579 2010-09-13 19:55:40Z hrs $ |
26.\" 27.Dd September 13, 2010 28.Dt RC.CONF 5 29.Os 30.Sh NAME 31.Nm rc.conf 32.Nd system configuration information 33.Sh DESCRIPTION --- 1230 unchanged lines hidden (view full) --- 1264.It Va ipv6_enable 1265.Pq Vt bool 1266If the variable is 1267.Dq Li YES , 1268.Dq Li inet6 accept_rtadv 1269is added to all of 1270.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 1271and the | 26.\" 27.Dd September 13, 2010 28.Dt RC.CONF 5 29.Os 30.Sh NAME 31.Nm rc.conf 32.Nd system configuration information 33.Sh DESCRIPTION --- 1230 unchanged lines hidden (view full) --- 1264.It Va ipv6_enable 1265.Pq Vt bool 1266If the variable is 1267.Dq Li YES , 1268.Dq Li inet6 accept_rtadv 1269is added to all of 1270.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 1271and the |
1272.Va ipv6_prefer | 1272.Va ipv6_activate_all_interfaces |
1273is defined as 1274.Dq Li YES . 1275.Pp 1276This variable is deprecated. Use | 1273is defined as 1274.Dq Li YES . 1275.Pp 1276This variable is deprecated. Use |
1277.Va ipv6_prefer | 1277.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 |
1278and | 1278and |
1279.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 . | 1279.Va ipv6_activate_all_interfaces 1280if necessary. |
1280.It Va ipv6_prefer 1281.Pq Vt bool | 1281.It Va ipv6_prefer 1282.Pq Vt bool |
1282This variable does the following: 1283.Pp | |
1284If the variable is 1285.Dq Li YES , | 1283If the variable is 1284.Dq Li YES , |
1286the default policy of the source address selection set by | 1285the default address selection policy table set by |
1287.Xr ip6addrctl 8 1288will be IPv6-preferred. 1289.Pp 1290If the variable is 1291.Dq Li NO , | 1286.Xr ip6addrctl 8 1287will be IPv6-preferred. 1288.Pp 1289If the variable is 1290.Dq Li NO , |
1292the default policy of the source address selection set by | 1291the default address selection policy table set by |
1293.Xr ip6addrctl 8 | 1292.Xr ip6addrctl 8 |
1294will be IPv4-preferred, and all of interfaces which does not have the 1295corrsponding | 1293will be IPv4-preferred. 1294.Pp 1295This variable is deprecated. Use 1296.Va ip6addtctl_policy 1297instead. 1298.It Va ipv6_activate_all_interfaces 1299If the variable is 1300.Dq Li NO , 1301all of interfaces which do not have the corrsponding |
1296.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 1297variable will be marked as | 1302.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 1303variable will be marked as |
1298.Dq Li IFDISABLED . 1299This means only IPv6 functionality on that interface is completely 1300disabled. For more details of | |
1301.Dq Li IFDISABLED | 1304.Dq Li IFDISABLED |
1305for security reason. This means only IPv6 functionality on that interface 1306is completely disabled. For more details of 1307.Dq Li IFDISABLED |
|
1302flag and keywords 1303.Dq Li inet6 ifdisabled , 1304see 1305.Xr ifconfig 8 . 1306.Pp | 1308flag and keywords 1309.Dq Li inet6 ifdisabled , 1310see 1311.Xr ifconfig 8 . 1312.Pp |
1313Default is 1314.Dq Li NO . |
|
1307.It Va ipv6_privacy 1308.Pq Vt bool 1309If the variable is 1310.Dq Li YES 1311privacy addresses will be generated for each IPv6 1312interface as described in RFC 4193. 1313.It Va ipv6_network_interfaces 1314.Pq Vt str 1315This is the IPv6 equivalent of 1316.Va network_interfaces . 1317Normally manual configuration of this variable is not needed. 1318.Pp | 1315.It Va ipv6_privacy 1316.Pq Vt bool 1317If the variable is 1318.Dq Li YES 1319privacy addresses will be generated for each IPv6 1320interface as described in RFC 4193. 1321.It Va ipv6_network_interfaces 1322.Pq Vt str 1323This is the IPv6 equivalent of 1324.Va network_interfaces . 1325Normally manual configuration of this variable is not needed. 1326.Pp |
1327.It Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 1328.Pq Vt str |
|
1319IPv6 functionality on an interface should be configured by 1320.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 , 1321instead of setting ifconfig parameters in 1322.Va ifconfig_ Ns Aq Ar interface . 1323Aliases should be set by 1324.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 1325with 1326.Dq Li inet6 --- 22 unchanged lines hidden (view full) --- 1349.It Va ipv6_default_interface 1350.Pq Vt str 1351If not set to 1352.Dq Li NO , 1353this is the default output interface for scoped addresses. 1354This works only with ipv6_gateway_enable="NO". 1355.It Va ip6addrctl_enable 1356.Pq Vt bool | 1329IPv6 functionality on an interface should be configured by 1330.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 , 1331instead of setting ifconfig parameters in 1332.Va ifconfig_ Ns Aq Ar interface . 1333Aliases should be set by 1334.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 1335with 1336.Dq Li inet6 --- 22 unchanged lines hidden (view full) --- 1359.It Va ipv6_default_interface 1360.Pq Vt str 1361If not set to 1362.Dq Li NO , 1363this is the default output interface for scoped addresses. 1364This works only with ipv6_gateway_enable="NO". 1365.It Va ip6addrctl_enable 1366.Pq Vt bool |
1357If set to 1358.Dq Li YES , 1359install default address selection policy table | 1367This variable is to enable configuring default address selection policy table |
1360.Pq RFC 3484 . | 1368.Pq RFC 3484 . |
1361If a file | 1369The table can be specified in another variable 1370.Va ip6addrctl_policy . 1371For 1372.Va ip6addrctl_policy 1373the following keywords can be specified: 1374.Dq Li ipv4_prefer , 1375.Dq Li ipv6_prefer , 1376or 1377.Dq Li AUTO . 1378.Pp 1379If 1380.Dq Li ipv4_prefer 1381or 1382.Dq Li ipv6_prefer 1383is specified, 1384.Xr ip6addrctl 8 1385installs a pre-defined policy table described in Section 2.1 1386.Pq IPv6-preferred 1387or 10.3 1388.Pq IPv4-preferred 1389of RFC 3484. 1390.Pp 1391If 1392.Dq Li AUTO 1393is specified, it attempts to read a file |
1362.Pa /etc/ip6addrctl.conf | 1394.Pa /etc/ip6addrctl.conf |
1363is found the | 1395first. If this file is found, |
1364.Xr ip6addrctl 8 | 1396.Xr ip6addrctl 8 |
1365reads and installs it. 1366If not, a pre-defined policy table will be installed. 1367There are two pre-defined ones; IPv4-preferred and IPv6-preferred. 1368If set 1369.Va ipv6_prefer 1370variable to | 1397reads and installs it. If not found, a policy is automatically set 1398according to 1399.Va ipv6_activate_all_interfaces 1400variable; if the variable is set to |
1371.Dq Li YES | 1401.Dq Li YES |
1372the IPv6-preferred one is used. Default is IPv4-preferred. | 1402the IPv6-preferred one is used. Otherwise IPv4-preferred. 1403.Pp 1404The default value of 1405.Va ip6addrctl_enable 1406and 1407.Va ip6addrctl_policy 1408are 1409.Dq Li YES 1410and 1411.Dq Li AUTO , 1412respectively. |
1373.It Va cloned_interfaces 1374.Pq Vt str 1375Set to the list of clonable network interfaces to create on this host. 1376Further cloning arguments may be passed to the 1377.Xr ifconfig 8 1378.Cm create 1379command for each interface by setting the 1380.Va create_args_ Ns Aq Ar interface --- 2970 unchanged lines hidden --- | 1413.It Va cloned_interfaces 1414.Pq Vt str 1415Set to the list of clonable network interfaces to create on this host. 1416Further cloning arguments may be passed to the 1417.Xr ifconfig 8 1418.Cm create 1419command for each interface by setting the 1420.Va create_args_ Ns Aq Ar interface --- 2970 unchanged lines hidden --- |