Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2006 13:54:20 -0700
From:      "Atom Powers" <atom.powers@gmail.com>
To:        Yaning <yaning98@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Question about DHCP client with multi-interface.
Message-ID:  <df9ac37c0605231354w3371601bsd2267e03b1e88122@mail.gmail.com>
In-Reply-To: <20060523203605.4273.qmail@web54302.mail.yahoo.com>
References:  <20060523203605.4273.qmail@web54302.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/23/06, Yaning <yaning98@yahoo.com> wrote:
> All,
> My system have three network cards, interface are
> fxp0, fxp1, em0. If I set one interface with static IP
> address at install time, such as:
> em0 IP =3D 10.20.16.59

I hope these three interfaces are not on the same physical network.

> then I enable one interface with DHCP, such as,
> running command:
>
> dhlient fxp0
>

In /etc/rc.conf

ifconfig_em0=3D"10.20.16.59/24" (or whatever your netmask is)
ifconfig_fxp0=3D"DHCP"

> Then I reboot system. After system boot up, fxp0
> assign an IP address by DHCP server.
> But the static ip address on em0 is gone.
> How can I correct this problem?

It shouldn't be gone, but it may be unused if both interfaces are on
the same network. (Use "ifconfig" to check the status of your
interfaces.)

>
> Thanks,
>
> Yaning
>


--=20
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--



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