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-48957-garchives=archives.gentoo.org@gentoo.org>)
	id 1GFB6K-00086R-WB
	for garchives@archives.gentoo.org; Mon, 21 Aug 2006 14:50:05 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7LEm06h004303;
	Mon, 21 Aug 2006 14:48:00 GMT
Received: from um1.unlimitedmail.net (139.Red-80-26-111.staticIP.rima-tde.net [80.26.111.139])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7LEk0bP010472
	for <gentoo-user@lists.gentoo.org>; Mon, 21 Aug 2006 14:46:01 GMT
Received: from ppp.zz ([137.204.208.98])
	(authenticated bits=0)
	by um1.unlimitedmail.net (8.13.7/8.13.4) with ESMTP id k7LEZg2O014294
	for <gentoo-user@lists.gentoo.org>; Mon, 21 Aug 2006 16:35:42 +0200
From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] the user mode linux can't access network..
Date: Mon, 21 Aug 2006 16:59:35 +0200
User-Agent: KMail/1.9.1
References: <5cd9791d0608202338u56e4f4d5n776c7a802e9c2aa@mail.gmail.com> <5cd9791d0608210337m72ddf43eue8cdd3ae5b00b5c4@mail.gmail.com> <5cd9791d0608210722q2d2be655j31b2868a7f88b203@mail.gmail.com>
In-Reply-To: <5cd9791d0608210722q2d2be655j31b2868a7f88b203@mail.gmail.com>
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: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200608211659.35207.shrdlu@unlimitedmail.org>
X-UnlimitedMail-MailScanner: Found to be clean
X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org
X-Archives-Salt: 43e70516-6f50-442e-854f-169dbd222139
X-Archives-Hash: 62e7abeb3de8a132c22f31fb749a6f2b

On Monday 21 August 2006 16:22, fei huang wrote:

> still no luck... I tried to build everything in kernel, and later
> build additional iptable_filter as module, add iptable to my default
> run level,, neither of them works..

I'd try first with iptables filters *disabled*, to make sure it's not a 
firewall issue. Once it works, enable packet filtering (if you need it). 
But until you are sure it works, make sure nothing prevents traffic 
flow, so disable iptables filters.

> I found there is a warning message after emerge iptables says: ip
> forwarding is not included in iptables any more. what does it mean? is
> that related with the issue?

It means that, if you want ip forwarding, you have to enable it manually 
using the command

echo 1 > /proc/sys/net/ipv4/ip_forward

To verify that forwarding is working, simply do

cat /proc/sys/net/ipv4/ip_forward

and it should print "1".
Keep in mind that if you reboot, you have to re-enable forwarding if you 
want it again.

Finally, run a network analyzer like wireshark and see for yourself 
what's happening. I'd look at ARP packets first: make sure ARP is 
working correctly.
-- 
gentoo-user@gentoo.org mailing list