From owner-freebsd-questions Tue Feb 19 18:44:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 85AC137B400 for ; Tue, 19 Feb 2002 18:44:39 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020220024439.TIVH2626.rwcrmhc51.attbi.com@blossom.cjclark.org>; Wed, 20 Feb 2002 02:44:39 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1K2ico23952; Tue, 19 Feb 2002 18:44:38 -0800 (PST) (envelope-from cjc) Date: Tue, 19 Feb 2002 18:44:38 -0800 From: "Crist J. Clark" To: Dave Daine Cc: freebsd-questions@FreeBSD.ORG, dinz@videotron.ca Subject: Re: Questions about using dhclient with DHCP Message-ID: <20020219184438.S48401@blossom.cjclark.org> References: <5.1.0.14.0.20020219162729.03b27e58@onque.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.0.20020219162729.03b27e58@onque.com>; from ddaine@onque.com on Tue, Feb 19, 2002 at 04:35:40PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 19, 2002 at 04:35:40PM -0800, Dave Daine wrote: > I am using DHCP. I would like to: > > 1) Start up with networking disabled, or rather, with dhclient disabled, > because my other machine may have already grabbed the only dynamic IP > address that my ISP will give me. > > 2) Start (may be after releasing the lease from my other machine) and stop > dhclient at will. > > I tried bringing the network interface down with "ifconfig dc0 down", but > "ifconfig -a" keeps on showing the interface as active, and "dhclient: > send_packet: No route to host" messages keep on popping on my console. It sounds like it is working. Isn't this what it looks like, # ifconfig dc0 dc0: flags=8843 mtu 1500 inet 192.168.10.60 netmask 0xffffff00 broadcast 192.168.10.255 ether 00:c0:f0:5a:6c:0a media: Ethernet autoselect (10baseT/UTP) status: active # ifconfig dc0 down # ifconfig dc0 dc0: flags=8802 mtu 1500 inet 192.168.10.60 netmask 0xffffff00 broadcast 192.168.10.255 ether 00:c0:f0:5a:6c:0a media: Ethernet autoselect (10baseT/UTP) status: active Note that it is no longer "UP" in the flags. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message