From: William S. <wst...@po...> - 2000-03-13 15:50:26
|
Good morning, Jeff, On Mon, 13 Mar 2000, Jeff Dike wrote: > > How would it be if you used ethertap on the host and uml? Could the > > uml kernel connect the output of one tap to the input of the other and > > vice-versa? > > Where can I find something to read about ethertap? Rusty also mentioned this > a while back, as a possible way to get rid of the um_ifconfig kludge. /usr/src/linux-2.3.51/Documentation/networking/ethertap.txt As best I understand it, it appears to the networking layer as just another network interface that can send and receive packets. Anything sent out that interface can be sucked out of /dev/tap0 by a userspace program. Anything that userspace program stuffs into /dev/tap0 arrives at the nework layer as if it had been received on this virtual interface. Rusty's netfilter package has some examples of applications that can work with tap* and even some shell scripts used in his test suite to show how to send and receive packets by hand from a shell script. http://www.samba.org/netfilter/0.90/0.90.html gets you to the download page for the latest release; get the tar and look in the utils and testsuite directories. Rusty is probably better for low level details than I. Cheers, - Bill --------------------------------------------------------------------------- "Computers let you make more mistakes faster than any other invention in human history, with the possible exception of handguns and tequila." -- Mitch Radcliffe (Courtesy of Hugo van der Kooij <hvd...@ca...>) -------------------------------------------------------------------------- William Stearns (wst...@po...). Mason, Buildkernel, named2hosts, and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com -------------------------------------------------------------------------- |