Subject: Re: loopback routes
To: Andrew Brown <atatat@atatdot.net>
From: None <itojun@iijlab.net>
List: tech-net
Date: 05/06/2000 13:25:16
>>>>	I still do not understand your goal... anyway,
>>>sorry, i didn't really go into that yet.  i wanted to create a "null"
>>>network interface, similar to that which one might find on a cisco.
>>>useful for blackhole routing, ipfiltering (yes, really!), etc.
>>	for example, is this insufficient for your goal?
>>	# route add -inet 10.0.0.0 127.0.0.1 -reject
>okay, that'll blackhole the packets, but i wanna sniff 'em.

	this is possible.
	# ifconfig lo0 127.0.0.1
	# ifconfig lo1 127.0.0.1
	# route add -inet 10.0.0.0 -netmask 0xff000000 127.0.0.1 -reject
	# route change -inet 10.0.0.0 -netmask 0xff000000 -ifp lo1
	# tcpdump -n -i lo1 &
	# ping -n 10.0.0.1

itojun