Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 16:44:28 -0800
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        Jerry McAllister <jerrymc@clunix.cl.msu.edu>
Cc:        "Jason D. Montgomery" <jason@atgi.com>
Subject:   Re: Documentation Error?
Message-ID:  <20050304004428.GN30896@alzatex.com>
In-Reply-To: <200503011619.j21GJ9L05511@clunix.cl.msu.edu>
References:  <LOBBIFDAGNMAMLGJJCKNIEJEFAAA.tedm@toybox.placo.com> <200503011619.j21GJ9L05511@clunix.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--N1GIdlSm9i+YlY4t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 01, 2005 at 11:19:07AM -0500, Jerry McAllister wrote:
> >=20
> > owner-freebsd-questions@freebsd.org wrote:
> > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/confi
> > > gtuning-v irtual-hosts.html
> > >=20
> > > states that adding a virtual address is done in rc.conf like this:
> > >=20
> > > ifconfig_fxp0=3D"inet 10.1.1.1 netmask 255.255.255.0"
> > > ifconfig_fxp0_alias0=3D"inet 10.1.1.2 netmask 255.255.255.255"
> > >=20
> > > Shouldn't it be this instead?
> > >=20
> > > ifconfig_fxp0=3D"inet 10.1.1.1 netmask 255.255.255.0"
> > > ifconfig_fxp0_alias0=3D"alias 10.1.1.2 netmask 255.255.255.255"
> >=20
> > No.  The actual command to make one is:
> >=20
> > ifconfig fxp0 inet 10.1.1.2 netmask 255.255.255.255 alias
> >=20
> > So you do need to pass the "inet" to ifconfig.  The _alias0 makes
> > the script pass the trailing "alias"
>=20
> 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.

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

--=20
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
=20

--N1GIdlSm9i+YlY4t
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCJ69sbTXoRwEYo9IRAoDPAJ9ImXI1J3CjRcxgn1unoc21bhh9wwCfY6Z2
5lekJp9Xucc0dKb7Bfd6hl8=
=k8PK
-----END PGP SIGNATURE-----

--N1GIdlSm9i+YlY4t--



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