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 ) id 1GF7ED-0001ZN-6r for garchives@archives.gentoo.org; Mon, 21 Aug 2006 10:41:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7LAdnWQ001016; Mon, 21 Aug 2006 10:39:49 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7LAbhRT017624 for ; Mon, 21 Aug 2006 10:37:43 GMT Received: by nf-out-0910.google.com with SMTP id m19so2166357nfc for ; Mon, 21 Aug 2006 03:37:43 -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=LLhB+z0f0+cz9zN4K6VlAED4YGrNdfl+8X8N/TOR5lD0xWS9ChP5E3m8QFSJEnq00XEOcCS9eekOk6mo+CeydZM9Cgo4fkBXESw0mmp9PCCOpvAMV1MNwdHW6R6yQMgSj40MRpkmT4CJgX/Wt5Fq1ucnWCUeym0XbsuqPTvstVw= Received: by 10.49.91.6 with SMTP id t6mr7560612nfl; Mon, 21 Aug 2006 03:37:43 -0700 (PDT) Received: by 10.78.173.3 with HTTP; Mon, 21 Aug 2006 03:37:43 -0700 (PDT) Message-ID: <5cd9791d0608210337m72ddf43eue8cdd3ae5b00b5c4@mail.gmail.com> Date: Mon, 21 Aug 2006 18:37:43 +0800 From: "fei huang" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] the user mode linux can't access network.. In-Reply-To: <200608211223.56807.shrdlu@unlimitedmail.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15891_9747061.1156156663431" References: <5cd9791d0608202338u56e4f4d5n776c7a802e9c2aa@mail.gmail.com> <200608211033.55909.shrdlu@unlimitedmail.org> <5cd9791d0608210224l222e4318h70df9d6afbe54fa2@mail.gmail.com> <200608211223.56807.shrdlu@unlimitedmail.org> X-Archives-Salt: 6966bba2-30df-4715-b3ab-4ae9bca0370f X-Archives-Hash: d535d7959acd68856eb4dc1148a168db ------=_Part_15891_9747061.1156156663431 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/21/06, Etaoin Shrdlu wrote: > > On Monday 21 August 2006 11:24, fei huang wrote: > > > 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? > > Ok, let's see: you say that your eth0 (which I guess is the interface > connected to the ADSL and thus to the Internet) has ip address > 192.168.0.1. Then, you use this command to start uml: > > UML> linux ubd0=root_fs ubd1=swap_fs eth0=tuntap,,,192.168.0.1 > > this means that the *host's* tun/tap interface gets ip address > 192.168.0.1 as well. So, the host ends up with its two interfaces having > the same ip address (do "ip addr" or "ifconfig" when uml is running to > confirm this) . yep, I did notice this problem, and tried to change the tun/tap interface to 192.168.0.3, I guess this must be the same network with eth0 of my host system,, but no luck... If the above is true, try using different addresses for the tun/tap<->uml > network, for example from the 10.0.0.0 pool. > -- I'll try it out... hope this works. thanks. gentoo-user@gentoo.org mailing list regards. daniel. ------=_Part_15891_9747061.1156156663431 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 8/21/06, Etaoin Shrdlu <shrdlu@unlimitedmail.org> wrote:
On Monday 21 August 2006 11:24, fei huang wrote:

> 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?

Ok, let's see: you say that your eth0 (which I guess is the interface
connected to the ADSL and thus to the Internet) has ip address
192.168.0.1. Then, you use this command to start uml:

UML> linux ubd0=root_fs ubd1=swap_fs eth0=tuntap,,,192.168.0.1

this means that the *host's* tun/tap interface gets ip address
192.168.0.1 as well. So, the host ends up with its two interfaces having
the same ip address (do "ip addr" or "ifconfig" when uml is running to
confirm this) .

yep, I did notice this problem, and tried to change the tun/tap  interface  to 192.168.0.3,
I guess this must be the same network with eth0 of my host system,, but no luck...

If the above is true, try using different addresses for the tun/tap<->uml
network, for example from the 10.0.0.0 pool.
--

I'll try it out... hope this works.  thanks.

gentoo-user@gentoo.org mailing list

regards.

daniel.
------=_Part_15891_9747061.1156156663431-- -- gentoo-user@gentoo.org mailing list