LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2007, 07:57 AM   #1
jarimm
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Routing/NAT problem with latest kernel


Hello all,

I'm currently using Fedora Core 6 with the default kernel coming with the install (2.6.18-1.2798.fc6).

I have three network interfaces (physically eth0 connected to adsl-modem, eth1 to wlan station and eth2 to my desktop machine). All interfaces are bridged into one br0 interface which has internal network address. Connection to outside world is done with rp-pppoe so ppp0 has public static ip-address.

Here is my cleaned-up-version of script which configures the bridge interface, nat and firewall:
http://http://www.hiekkalaatikko.org/fw-nat-scripts.txt

So with this setup, everything works like a charm.

But now if I boot the new kernel version which came with "yum update" (namely 2.6.22.9-61.fc6), the connection from internal network to outside world stops working.

Looking at the modules loaded by different kernel versions I see that some of the names for nat-related modules have changed:

2.6.18:
ip_tables
iptable_nat
ip_nat
ip_conntrack
xt_conntrack
x_tables

2.6.22:
ip_tables
iptable_nat
nf_nat
nf_conntrack_ipv4
nf_conntrack
x_tables

I've traced with tcpdump that if I for example ping from my desktop computer a host outside my network, the packet is correctly received by br0, passed through ppp0 (with correct network address), received by foreign host and it also sends reply to ping but the reply is never received according to tcpdump. Traffic directly from the linux box to outside world is working fine, it's only the routed traffic that has the problem.

I've been trying to figure out what is causing this but... any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables NAT routing problem marpel Linux - Security 10 05-09-2006 07:23 AM
nat routing vaat Linux - Networking 11 02-16-2005 10:02 AM
nat and routing problem flman Linux - Networking 1 11-30-2004 04:29 PM
routing through nat booyah Linux - Networking 3 01-17-2004 08:40 PM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration