From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-48937-garchives=archives.gentoo.org@gentoo.org>)
	id 1GF65e-0005HU-J0
	for garchives@archives.gentoo.org; Mon, 21 Aug 2006 09:29:03 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7L9QR72027102;
	Mon, 21 Aug 2006 09:26:27 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7L9OO0u003423
	for <gentoo-user@lists.gentoo.org>; Mon, 21 Aug 2006 09:24:24 GMT
Received: by nf-out-0910.google.com with SMTP id m19so2153237nfc
        for <gentoo-user@lists.gentoo.org>; Mon, 21 Aug 2006 02:24:24 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
        b=q6u+d2qAzBv3zt1jlZHgHmvVQAKPDte2Mgn3sn0zfGPz9OEzlGAL2Jew34Jlf7ysbvT9q7dpK8W+alUuisJOTDFRukScE7rAP96FpZ1MtuoJ0EZhw2uiQM2QlHP2iEQ+nFPnXnKb5hYEPlvds8OOEkDYduiy/oaBvULIlOsBL9U=
Received: by 10.49.8.4 with SMTP id l4mr7483902nfi;
        Mon, 21 Aug 2006 02:24:24 -0700 (PDT)
Received: by 10.78.173.3 with HTTP; Mon, 21 Aug 2006 02:24:24 -0700 (PDT)
Message-ID: <5cd9791d0608210224l222e4318h70df9d6afbe54fa2@mail.gmail.com>
Date: Mon, 21 Aug 2006 17:24:24 +0800
From: "fei huang" <daniel.huangfei@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] the user mode linux can't access network..
In-Reply-To: <200608211033.55909.shrdlu@unlimitedmail.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_15447_10191726.1156152264246"
References: <5cd9791d0608202338u56e4f4d5n776c7a802e9c2aa@mail.gmail.com>
	 <200608211033.55909.shrdlu@unlimitedmail.org>
X-Archives-Salt: 5120ae59-8d2a-448c-863f-50b2eeeef5f4
X-Archives-Hash: dc08fef08b1075ea7f2b40a86b7b662f

------=_Part_15447_10191726.1156152264246
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 8/21/06, Etaoin Shrdlu <shrdlu@unlimitedmail.org> wrote:
>
> On Monday 21 August 2006 08:38, fei huang wrote:
>
> > did I miss something? or the guide is just incomplete?
>
> I see you are directly connecting the real host to the virtual host using
> tuntap (eg, you don't use uml_switch).


I would like the most direct and easy way to access the network, seems the
uml_switch needs just a lot more steps to set up the network... not sure
though.

You probably need to enable forwarding (and possibly masquerading) on the
> real box:
>
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> The guide DOES mention this, in the section "using an existing network".


yep, that's why I get so frustrated, I did exactly the same as what the
guide instructs..
any other posibilities that may cause the problem?

HTH
> --
> gentoo-user@gentoo.org mailing list
>
> thank you so much..
daniel

------=_Part_15447_10191726.1156152264246
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">Etaoin Shrdlu</b> &lt;<a href="mailto:shrdlu@unlimitedmail.org">shrdlu@unlimitedmail.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 21 August 2006 08:38, fei huang wrote:<br><br>&gt; did I miss something? or the guide is just incomplete?<br><br>I see you are directly connecting the real host to the virtual host using<br>tuntap (eg, you don't use uml_switch).
</blockquote><div><br>I would like the most direct and easy way to access the network, seems the uml_switch needs just a lot more steps to set up the network... not sure though.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You probably need to enable forwarding (and possibly masquerading) on the<br>real box:<br><br>iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE<br>echo 1 &gt; /proc/sys/net/ipv4/ip_forward<br><br>The guide DOES mention this, in the section &quot;using an existing network&quot;.
</blockquote><div><br>yep, that's why I get so frustrated, I did exactly the same as what the guide instructs..<br>any other posibilities that may cause the problem? <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
HTH<br>--<br><a href="mailto:gentoo-user@gentoo.org">gentoo-user@gentoo.org</a> mailing list<br><br></blockquote></div>thank you so much..<br>daniel<br>

------=_Part_15447_10191726.1156152264246--
-- 
gentoo-user@gentoo.org mailing list