From owner-freebsd-questions@FreeBSD.ORG Sat Nov 11 21:26:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E2A216A4E8 for ; Sat, 11 Nov 2006 21:26:54 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A98EB43D49 for ; Sat, 11 Nov 2006 21:25:00 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kABLOqfE016449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 11 Nov 2006 13:24:53 -0800 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kABLOkBY018094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 11 Nov 2006 13:24:50 -0800 Message-ID: <45563F9C.3000406@u.washington.edu> Date: Sat, 11 Nov 2006 13:24:44 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.7 (X11/20060929) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45557D46.4070609@comcast.net> In-Reply-To: <45557D46.4070609@comcast.net> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.1.279297, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.11.131432 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: How can I disable the lookback device? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 21:26:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris wrote: > First of all the motivation of this is my tftp problem with the address > 0.0.0.0. Trying to tftp from the same box doesn't reproduce the > problem, whatever is happening gets cleaned up in the loopback device. > So I want to disable lo0 and route my local IP address over the local > net and hopefully the router will deliver the packets back to me. So > how can I disable the loopback device manually? I'd prefer to take it > down manually when I'm testing rather than doing something in rc.conf > and be able to bring it back up. > > ipconfig lo0 down > > but the route still existed according to: > > netstat -r > > so I did.. > > route delete 192.168.1.1 > > but then I tried to create a new route... > > route add 192.168.1.1 -interface em0 > > but according to.. > > netstat -r > > it instead rebound to lo0... > > ? > > > Chris Don't think you can, because the loopback device is used by the kernel for connecting sockets together properly for some services. Why doesn't "tftp 192.168.1.1" work for you? - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFVj+K6CkrZkzMC68RAsqgAJ9iaWJx82bdqKz+vsNExJRWJe2DIwCfZyVh +tA5yL8X063g3nFh7SuaeQU= =GK+S -----END PGP SIGNATURE-----