Documentation Error?

Loren M. Lang lorenl at alzatex.com
Fri Mar 4 00:44:33 GMT 2005


On Tue, Mar 01, 2005 at 11:19:07AM -0500, Jerry McAllister wrote:
> > 
> > owner-freebsd-questions at freebsd.org wrote:
> > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/confi
> > > gtuning-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"
> > 
> > No.  The actual command to make one is:
> > 
> > ifconfig fxp0 inet 10.1.1.2 netmask 255.255.255.255 alias
> > 
> > So you do need to pass the "inet" to ifconfig.  The _alias0 makes
> > the script pass the trailing "alias"
> 
> Hmmmm,   So what is happening when no 'inet' is in the string?
> It seems to work fine.    Is something still not right and just
> waiting to explode?    We have lots of servers configured that way.

Looking at ifconfig(8), I believe it's purely optional, ifconfig can
reconize what address type your giving it.  It's more useful when using
ifconfig to display information.  I've done it both ways and if your
servers work now, I doubt they'll blow up later.  It is probably
something that was required in the past.

> 
> ////jerry
> 
> > 
> > Ted
> > 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050303/0ed3b3e2/attachment.bin


More information about the freebsd-questions mailing list