From owner-freebsd-newbies Mon Mar 24 2:16:19 2003 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2499C37B401 for ; Mon, 24 Mar 2003 02:16:16 -0800 (PST) Received: from mailhub7.isdnet.net (mailhub7.isdnet.net [195.154.209.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8CFD43F3F for ; Mon, 24 Mar 2003 02:16:14 -0800 (PST) (envelope-from anselme@netcourrier.com) Received: from [192.168.1.113] (ppp1234-cwdsl.fr.cw.net [62.210.116.211]) by mailhub7.isdnet.net (8.9.3/8.9.3) with ESMTP id LAA13944; Mon, 24 Mar 2003 11:16:10 +0100 (CET) Subject: Re: dhcp and network interface From: Anselme To: Benjamin =?ISO-8859-1?Q?Gro=DF?= , FreeBSD-Newbies In-Reply-To: <20030321115204.0243fe6f.benjamin@khlav-kalasch.de> References: <1048242305.253.11.camel@Toto.dippgw.homedns.org> <20030321115204.0243fe6f.benjamin@khlav-kalasch.de> Content-Type: text/plain Organization: Message-Id: <1048500845.251.46.camel@Toto.dippgw.homedns.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 11:14:05 +0100 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-25.9 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > "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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message