public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <200608211659.35207.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <5cd9791d0608210722q2d2be655j31b2868a7f88b203@mail.gmail.com>

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



  reply	other threads:[~2006-08-21 14:50 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
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 [this message]
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=200608211659.35207.shrdlu@unlimitedmail.org \
    --to=shrdlu@unlimitedmail.org \
    --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