Documentation Error?

Jerry McAllister jerrymc at clunix.cl.msu.edu
Mon Feb 28 22:53:41 GMT 2005


> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-v
> irtual-hosts.html
> 
> states that adding a virtual address is done in rc.conf like this:
> 
> ifconfig_fxp0="inet 10.1.1.1 netmask 255.255.255.0"
> ifconfig_fxp0_alias0="inet 10.1.1.2 netmask 255.255.255.255"
> 
> Shouldn't it be this instead?
> 
> ifconfig_fxp0="inet 10.1.1.1 netmask 255.255.255.0"
> ifconfig_fxp0_alias0="alias 10.1.1.2 netmask 255.255.255.255"
> 
> (keyword passed to ifconfig is alias instead of inet)
> 

It shouldn't be either.   It should be:

  ifconfig_fxp0_alias0="10.1.1.2 netmask 255.255.255.255"

With neither 'inet' or 'alias' within the quotes for the alias definition.
At least that is the way it works for us on about 75 servers.

////jerry

>  
> 
> later,
> 
> jason
> 
> -=-=-=-=-=-=-=-=-=-=-
> 
> jason d. montgomery
> 
> ATGi
> 
> -=-=-=-=-=-=-=-=-=-=-
> 


More information about the freebsd-questions mailing list