How can I disable the lookback device?

Garrett Cooper youshi10 at u.washington.edu
Sat Nov 11 21:26:54 UTC 2006


-----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-----


More information about the freebsd-questions mailing list