IP Aliasing (and assigning an IP address via DHCP) in rc.conf

Joe Sotham joe-dated-1053523252.0fd318 at dubium.com
Fri May 16 06:20:20 PDT 2003

Nils Vogels said:
> On Fri, May 16, 2003 at 05:51:08AM -0700, Joe Sotham (JS) wrote:
> JS> On a freebsd 4.8-STABLE #0 system
> JS>
> JS> The archives provide excellent information setting up an alias and assigning an
> ip
> JS> address to a NIC card.  There are no examples using DHCP and I thought it would
> be a
> JS> simple matter of following the examples and putting the following in my rc.conf
> file
> JS>
> JS> ifconfig_fxp0="DHCP"
> JS> ifconfig_fxp0_alias0="DHCP"   <=== new config item ...
> I think the trouble here is in the 'dhclient' program, which freebsd uses to
> get it's DHCP lease.
> reading dhclient.conf(5):
>        interface "string";
>        The  interface  lease  statement  is  used to indicate the interface on
>        which the lease is valid.   If set, this lease will only be tried on  a
>        particular interface.   When the client receives a lease from a server,
>        it always records the interface number on which it received that lease.
>        If  predefined  leases  are  specified  in  the dhclient.conf file, the
>        interface should also be specified, although this is not required.
> Since the interface is the same (aliases have no new interface name), dhclient
> probably thinks it already has a lease for this interface.. Why get a new one
> ? :)
> Nils.

Thanks Nils,

Missed that part.

I have a home network and wanted to implement a two nameserver environment to
perform authoritative ns for my domain.  I wanted to get away without involving
anyone else.   Maybe not.

Joe Sotham
If the only prayer you say in your entire life is "Thank You",
that will suffice.
        - Meister Eckhart

More information about the freebsd-questions mailing list