I'd suggest using the TUN/TAP device rather than ETHERTAP. You should
upgrade the kernel from the default Woody one, but you probably don't
need to compile a new one yourself. (disclaimer: I'm not all that
familiar with TUN/TAP support in current Debian kernels).
If you need to create ETHERTAP or TUN/TAP devices you can do it yourself
with mknod. For example, for the TUN/TAP device you need to do:
mknod /dev/net/tun c 10 200
And then set appropriate permissions so that the user running the UML
can use it.
I've found the descriptions on http://uml.openconsultancy.com/ very
helpful in the past, and http://user-mode-linux.sf.net/networking.html
is also a useful resource.
You might also find the init/control scripts I've written helpful:
They're a bit specific to our setup in places (RedHat 7.3, using LCFG
(http://www.lcfg.org/) as an install system) but should be hackable to
meet your needs. There's some (incomplete and out-of-date) documentation
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!