Re: About DHCP

2009-09-10 Thread Bill Moran
In response to Ley :

> I heared that freebsd will boots very slow if enables dhcp. Is that true? I
> am a adsl user and I can not get a certain IP, how can I make freebsd boots
> fast?

If DHCP makes the system boot slowly, then it's not FreeBSD's fault.  DHCP
addresses are acquired very quickly if the DHCP server is working properly
and not overloaded.

Even with a slow DHCP server, I've seldom seen it take longer than a few
seconds.  What is your usage case that this is such a concern?

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


About DHCP

2009-09-10 Thread Ley
I heared that freebsd will boots very slow if enables dhcp. Is that true? I
am a adsl user and I can not get a certain IP, how can I make freebsd boots
fast?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question about DHCP client with multi-interface.

2006-05-23 Thread Beech Rintoul
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

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


Re: Question about DHCP client with multi-interface.

2006-05-23 Thread Atom Powers

On 5/23/06, Yaning <[EMAIL PROTECTED]> 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


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="10.20.16.59/24" (or whatever your netmask is)
ifconfig_fxp0="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




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Question about DHCP client with multi-interface.

2006-05-23 Thread Yaning
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 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question about dhcp client

2005-05-24 Thread perikillo
 Mmmm ok i go it, but i dont think that my friend wants to buy more 
equipment, well i will trust on freebsd like always.

Thanks Charles for your information.

Great day all.

On 5/24/05, Charles Swiger <[EMAIL PROTECTED]> wrote:
> 
> On May 24, 2005, at 11:08 AM, perikillo wrote:
> > Hi all, iam going to setup one firewall for a friend, i need to
> > use the
> > dhcp client to get the IP, my question is:
> >
> > 1; I need to have the BPF device enable, is a rule?
> 
> You need BPF if you want dhclient to work, yes.
> 
> > Because normally, by security is recomend that this option need to be
> > disable!!!
> 
> Agreed. Using dynamic network configuration on a firewall is not
> very secure. Get a broadband router to do DHCP and NAT, and place
> your firewall between that device and your network configured using
> static info...
> 
> --
> -Chuck
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question about dhcp client

2005-05-24 Thread Charles Swiger

On May 24, 2005, at 11:08 AM, perikillo wrote:
 Hi all, iam going to setup one firewall for a friend, i need to  
use the

dhcp client to get the IP, my question is:

1; I need to have the BPF device enable, is a rule?


You need BPF if you want dhclient to work, yes.


Because normally, by security is recomend that this option need to be
disable!!!


Agreed.  Using dynamic network configuration on a firewall is not  
very secure.  Get a broadband router to do DHCP and NAT, and place  
your firewall between that device and your network configured using  
static info...


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


question about dhcp client

2005-05-24 Thread perikillo
 Hi all, iam going to setup one firewall for a friend, i need to use the 
dhcp client to get the IP, my question is:

1; I need to have the BPF device enable, is a rule?

Because normally, by security is recomend that this option need to be 
disable!!!

Is all my question, i am using freebsd 4.11-p9 with ipfilter+ipnat.

Thanks all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"