[3895] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: cant ping internally

daemon@ATHENA.MIT.EDU (Jon Lewis)
Mon Jul 29 11:31:19 1996

Date: 	Mon, 29 Jul 1996 11:24:32 -0400 (EDT)
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: David Schwartz <davids@wiznet.net>
cc: "Andrew B. Cramer" <cramer@ripco.com>, linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.960729102116.1872G-100000@davids.wiznet.net>

On Mon, 29 Jul 1996, David Schwartz wrote:

> 
> 	'dev lo' will work just as well and doesn't make you worry about 
> matching device names to route entries.
> > 
> >         ' route add -host aaa.bbb.ccc.ddd dev eth0:0 '

That's a neat trick I was unaware of (use of dev lo).  Using dev eth0:?? 
allows for some interesting source address games though.  I've used this 
a few times to get through our paranoid router on systems that are 
normally packet filtered away from the net.

route add default gw blah dev eth0:0
Now my packets all have eth0:0's IP as their source address. 

------------------------------------------------------------------
 Jon Lewis                      |  Mime attachments are OK
 jlewis@inorganic5.fdt.net      |  But please ask before sending 
 http://inorganic5.fdt.net      |  unsolicited huge files.
________Finger jlewis@inorganic5.fdt.net for PGP public key_______


home help back first fref pref prev next nref lref last post