two NICs, one dhclient

Dan Langille dan at langille.org
Mon Mar 22 15:32:51 PST 2004


My IBM ThinkPad T22 is running FreeBSD 5.2.1 and has a built-in NIC (fxp0)
and a PCMCIA wi0.

I have 'ifconfig_fxp0="DHCP"' in /etc/rc.conf.  What I'd like to do is
have dhclient run in wi0 if it is present and then not on fxp0.  But if no
wi0, then run dhclient on fxp0.

devd.conf was mentioned to me as one way to acheive this. Does anyone have
a working configuration?

Thanks

-- 
Dan Langille - BSDCan: http://www.bsdcan.org/


More information about the freebsd-mobile mailing list