Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 17:53:38 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        jason@atgi.com (Jason D. Montgomery)
Cc:        questions@freebsd.org
Subject:   Re: Documentation Error?
Message-ID:  <200502282253.j1SMrcE01560@clunix.cl.msu.edu>
In-Reply-To: <5C6F478A90E6034BBDCF6D754D7850BC66F118@DERRIDA.atgi.com> from "Jason D. Montgomery" at Feb 28, 2005 03:07:26 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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
> 
> -=-=-=-=-=-=-=-=-=-=-
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502282253.j1SMrcE01560>