ifconfig_fxp0 with both DHCP and Link?

Brooks Davis brooks at one-eyed-alien.net
Tue Dec 20 12:17:33 PST 2005


On Tue, Dec 20, 2005 at 05:00:05PM +0000, bostondriver at comcast.net wrote:
> Hi,
> 
> 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="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="link aa:bb:cc:dd:ee:ff DHCP"

-- Brooks

-- 
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
-------------- 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-net/attachments/20051220/869fb126/attachment.bin


More information about the freebsd-net mailing list