Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] the user mode linux can't access network..
Date: Mon, 21 Aug 2006 14:50:05
Message-Id: 200608211659.35207.shrdlu@unlimitedmail.org
In Reply to: Re: [gentoo-user] the user mode linux can't access network.. by fei huang
1 On Monday 21 August 2006 16:22, fei huang wrote:
2
3 > still no luck... I tried to build everything in kernel, and later
4 > build additional iptable_filter as module, add iptable to my default
5 > run level,, neither of them works..
6
7 I'd try first with iptables filters *disabled*, to make sure it's not a
8 firewall issue. Once it works, enable packet filtering (if you need it).
9 But until you are sure it works, make sure nothing prevents traffic
10 flow, so disable iptables filters.
11
12 > I found there is a warning message after emerge iptables says: ip
13 > forwarding is not included in iptables any more. what does it mean? is
14 > that related with the issue?
15
16 It means that, if you want ip forwarding, you have to enable it manually
17 using the command
18
19 echo 1 > /proc/sys/net/ipv4/ip_forward
20
21 To verify that forwarding is working, simply do
22
23 cat /proc/sys/net/ipv4/ip_forward
24
25 and it should print "1".
26 Keep in mind that if you reboot, you have to re-enable forwarding if you
27 want it again.
28
29 Finally, run a network analyzer like wireshark and see for yourself
30 what's happening. I'd look at ARP packets first: make sure ARP is
31 working correctly.
32 --
33 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] the user mode linux can't access network.. fei huang <daniel.huangfei@×××××.com>