This link should help you out:

On 17/11/2007, Jon Rafkind <rafkind@cs.utah.edu> wrote:
I set up tuntap so that my uml instance has an ip,, and can
talk to the host,, which works fine but when I try to talk
to the rest of the world from uml any command will just hang.

# wget www.google.com
--08:41:58--  http://www.google.com/
          => `index.html'
Resolving www.google.com...
# wget
          => `index.html'
Connecting to

When I do 'ifconfig eth5 ... up' I see some lines in dmesg:
* modprobe tun
* ifconfig tap1 netmask up
* bash -c echo 1 > /proc/sys/net/ipv4/ip_forward
* route add -host dev tap1
* bash -c echo 1 > /proc/sys/net/ipv4/conf/tap1/proxy_arp

I ran them but I don't have a tap1 device, so for now I replaced it with
eth5. Do I need iptables or something on the host to allow uml to talk
to the rest of the world? I'm using the same /etc/resolv.conf in uml as
the host.

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
User-mode-linux-user mailing list

Please feel free to contact me via instant messaging:

MSN: admin@jayshah.com
Yahoo!: shahjay2003
ICQ: 495690391