public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
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..
Date: Mon, 21 Aug 2006 17:24:24 +0800	[thread overview]
Message-ID: <5cd9791d0608210224l222e4318h70df9d6afbe54fa2@mail.gmail.com> (raw)
In-Reply-To: <200608211033.55909.shrdlu@unlimitedmail.org>

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1624 bytes --]

  reply	other threads:[~2006-08-21  9:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-21  6:38 [gentoo-user] the user mode linux can't access network fei huang
2006-08-21  8:33 ` Etaoin Shrdlu
2006-08-21  9:24   ` fei huang [this message]
2006-08-21 10:23     ` Etaoin Shrdlu
2006-08-21 10:37       ` fei huang
2006-08-21 14:22         ` fei huang
2006-08-21 14:59           ` Etaoin Shrdlu
2006-08-21 15:11             ` fei huang
2006-08-21 15:44               ` Etaoin Shrdlu
2006-08-23 15:17                 ` fei huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5cd9791d0608210224l222e4318h70df9d6afbe54fa2@mail.gmail.com \
    --to=daniel.huangfei@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox