6.0 RC1 dhclient (was Re: 6.0 RC1 usbd.conf (and installation comments))

Mark Andrews Mark_Andrews at isc.org
Sun Oct 30 17:54:10 PST 2005


> I said:
> > 
> > 	DHCP configuration - for some reason my machine didn't acquire a
> > 	default route on boot, but rerunning the dhclient script after
> > 	boot caused the interface to be set up again successfully. I
> > 	haven't looked into this further yet, I'll repost if it is a
> > 	repeatable problem.
> 
> This issue is repeatable. Although I haven't had time to trace it further,
> I have worked out that if I configure my dhcp interface with an alias eg
> ifconfig_em0_alias0 a default route is not added; after commenting that
> line in /etc/rc.conf the route is ok again on reboot. I've tried
> alternating between commented/uncommented with consistent success/fail
> results so I guess this needs looking at.
> 
> joel
 

ALIAS DECLARATIONS
        alias {  declarations ... }

       Some DHCP clients running TCP/IP roaming protocols may require that  in
       addition  to  the lease they may acquire via DHCP, their interface also
       be configured with a predefined IP alias so that they can have a perma-
       nent  IP address even while roaming.   The Internet Software Consortium
       DHCP client doesn't support roaming with fixed addresses directly,  but
       in order to facilitate such experimentation, the dhcp client can be set
       up to configure an IP alias using the alias declaration.

       The alias  declaration  resembles  a  lease  declaration,  except  that
       options  other  than the subnet-mask option are ignored by the standard
       client configuration script, and expiry times are ignored.   A  typical
       alias  declaration  includes  an interface declaration, a fixed-address
       declaration for the IP alias address, and a subnet-mask option declara-
       tion.    A medium statement should never be included in an alias decla-
       ration.

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the freebsd-stable mailing list