Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2006 13:24:44 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: How can I disable the lookback device?
Message-ID:  <45563F9C.3000406@u.washington.edu>
In-Reply-To: <45557D46.4070609@comcast.net>
References:  <45557D46.4070609@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45563F9C.3000406>