Date: Tue, 19 Feb 2002 18:44:38 -0800 From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: Dave Daine <ddaine@onque.com> Cc: freebsd-questions@FreeBSD.ORG, dinz@videotron.ca Subject: Re: Questions about using dhclient with DHCP Message-ID: <20020219184438.S48401@blossom.cjclark.org> 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 References: <5.1.0.14.0.20020219162729.03b27e58@onque.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<BROADCAST,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020219184438.S48401>