From 05ad72a6c81027e977bc8566abf770cf0388899f Mon Sep 17 00:00:00 2001 From: Darren Austin Date: Thu, 24 May 2018 01:16:26 -0500 Subject: Fix up setting of IPALIASES and update docs Signed-off-by: Robby Workman --- manpages/rc.inet1.8 | 1 + manpages/rc.inet1.conf.5 | 14 ++++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'manpages') diff --git a/manpages/rc.inet1.8 b/manpages/rc.inet1.8 index e78353a..ac8ce6a 100644 --- a/manpages/rc.inet1.8 +++ b/manpages/rc.inet1.8 @@ -105,6 +105,7 @@ The /etc/rc.d/rc.wireless script is not meant to be run on its own by the user! Patrick J. Volkerding Eric Hameleers Robby Workman +Darren 'Tadgy' Austin .SH "SEE ALSO" .BR rc.inet1.conf(5), .BR ip(8), diff --git a/manpages/rc.inet1.conf.5 b/manpages/rc.inet1.conf.5 index 1f790c0..2868317 100644 --- a/manpages/rc.inet1.conf.5 +++ b/manpages/rc.inet1.conf.5 @@ -58,7 +58,7 @@ IPADDR[1]="192.168.3.11" .br NETMASK[1]="255.255.255.0" .br -IPALIASES[1]="192.168.3.100" +IPALIASES[1]="192.168.3.100/24" .br USE_DHCP[1]="" .br @@ -118,9 +118,11 @@ NETMASK[0]="" (255.255.255.0 is common) .TP IPALIASES[0]="" -# Space separated list of additional IP addresses to bind to the -interface after initial configuration is complete. If USE_DHCP is -set to `yes' then additional addresses will only be added if the +# Space separated list of additional IP addresses to bind to the +interface after initial configuration is complete. An optional +netmask may be specified after the IP in the form 1.2.3.4/24. If no +netmask is specified the default of /32 will be used. If USE_DHCP +is set to `yes' then additional addresses will only be added if the dhcp client invocation is successful in obtaining a primary address. .TP USE_DHCP[0]="yes" @@ -145,6 +147,9 @@ MTU[0]="" # The default MTU is 1500, but you might need 1360 when you use NAT'ed IPSec traffic. IPv6 will likely require smaller MTUs as well .TP +PROMISCUOUS[0]="yes" +# Set promiscuous mode on the interface. +.TP DHCP_KEEPRESOLV[0]="yes" # If you do .B not @@ -249,5 +254,6 @@ to the number of network interfaces you wish to use. Patrick J. Volkerding Eric Hameleers Robby Workman +Darren 'Tadgy' Austin .SH "SEE ALSO" .BR rc.inet1(8) -- cgit v1.2.3