Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2005 12:17:31 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        bostondriver@comcast.net
Cc:        freebsd-net@freebsd.org
Subject:   Re: ifconfig_fxp0 with both DHCP and Link?
Message-ID:  <20051220201731.GD28172@odin.ac.hmc.edu>
In-Reply-To: <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net>
References:  <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net>

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

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

On Tue, Dec 20, 2005 at 05:00:05PM +0000, bostondriver@comcast.net wrote:
> Hi,
>=20
> I need to set my connection to my cable provider to use both DHCP and
> set the Ethernet address.  Is one meant to use rc.conf for both?
>
> man rc.conf says that options can be specified along with DHCP, but
> setting an address family doesn't show up in the options section of
> the man page.
>
> I belive that placing "ifconfig fxp0 link aa:bb:cc:dd:ee:ff"
> in /etc/start_if.fxp0 and then leaving rc.conf with just
> ifconfig_fxp0=3D"DHCP" will work.  But that puts the config in multiple
> files.  I'd like to avoid that.
>
> What do others do?  I can't be the only one who wants to avoid calling
> the cable company when they change an Ethernet card.

This is what you'll have to do prior to 6.0.  In 6.0 and above you can
just do:

ifconfig_fxp0=3D"link aa:bb:cc:dd:ee:ff DHCP"

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--Ycz6tD7Th1CMF4v7
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDqGbbXY6L6fI4GtQRAvxAAKCZnSi2R7EXk++GXMn3ZPuMQN21RwCfUy54
r6rWDwUpqNn29Hlk+Ufk2DE=
=q5nH
-----END PGP SIGNATURE-----

--Ycz6tD7Th1CMF4v7--



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