On Tuesday 23 May 2006 12:36, Yaning 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 = 10.20.16.59 > > then I enable one interface with DHCP, such as, > running command: > > dhlient fxp0 > > 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? > > Thanks, > > Yaning
Advertising
Put the following in /etc/rc.conf ifconfig_em0="inet 10.20.16.59 netmask 255.255.255.0" ifconfig_fxp0="DHCP" remove any other ifconfig_ em0 or fxp0 lines and reboot. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------
pgpSpY4lVa2cG.pgp
Description: PGP signature