Date: 24 Mar 2003 11:14:05 +0100 From: Anselme <anselme@netcourrier.com> To: Benjamin =?ISO-8859-1?Q?Gro=DF?= <benjamin@khlav-kalasch.de>, FreeBSD-Newbies <freebsd-newbies@FreeBSD.ORG> Subject: Re: dhcp and network interface Message-ID: <1048500845.251.46.camel@Toto.dippgw.homedns.org> In-Reply-To: <20030321115204.0243fe6f.benjamin@khlav-kalasch.de> References: <1048242305.253.11.camel@Toto.dippgw.homedns.org> <20030321115204.0243fe6f.benjamin@khlav-kalasch.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> "ifconfig" gives you several info and let you do this changes by hand.
type "man ifconfig" to see what it can do :)
>
Thank you for that ;
However, I need one more precision :
I've done :
$ ifconfig vr0 inet 192.168.0.11 netmask 255.255.255.0
$ route add default 192.168.0.1
and I add those lines in /etc/rc.conf :
#ifconfig_vr0="DHCP"
ifconfig_vr0="inet 192.168.0.11 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
hostname="www.myserver.com"
I didnot reboot the FreeBSD but it's in case ...
My wondering is that when I do :
$ ps -aux |grep dhc
I get :
root 69 0.0 0.1 940 328 ?? Is Thu08PM 0:00.01 /sbin/dhclient vr0
So, can I now safely do a kill 69 ?
I doubt because man dhclient :
(...)The DHCP
protocol also provides a mechanism whereby a client can
learn important details about the network to which it is
attached, such as the location of a default router, the
location of a name server, and so on.
(...)
Thanks for any information
--
Anselme <anselme@netcourrier.com>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048500845.251.46.camel>
