You could just use device aliasing:
ifconfig eth0 10.0.0.5
ifconfig eth0:1 10.0.0.2
Either that, or if you simply want to sniff network packets, look into
turning on promiscuous mode (as tcpdump does).
-- .----------=======-=-======-=========-----------=====------------=-=-----. / Ben Collins -- Debian GNU/Linux -- WatchGuard.com \ ` bcollins@debian.org -- Ben.Collins@watchguard.com ' `---=========------=======-------------=-=-----=-===-======-------=--=---' - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/