LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-20-2006, 12:03 PM   #1
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Rep: Reputation: 30
iptable_nat


current kernel - 2.4.29
i compiled new kernel - 2.6.7 and installed modules ...-> booted PC using new image...
after that i returned to old one...
are that modules which 2.6.7 kernel has installed loaded by 2.4.29 ??
and did that install changed previous config??
i noticed that running "lsmod" prints different modules loaded by iptables...
here is printout:
Module Size Used by Not tainted
ipt_REJECT 3128 4 (autoclean)
ipt_LOG 3448 10 (autoclean)
ipt_state 536 11 (autoclean)
ipt_pkttype 504 4 (autoclean)
ipt_owner 1368 0 (autoclean)
ipt_recent 7908 0 (autoclean)
ipt_multiport 696 4 (autoclean)
ipt_conntrack 1048 3 (autoclean)
iptable_mangle 2104 1 (autoclean)
ip_nat_irc 2064 0 (unused)
ip_nat_tftp 1712 0 (unused)
ip_nat_ftp 2544 0 (unused)
iptable_nat 16974 3 [ip_nat_irc ip_nat_tftp ip_nat_ftp]
ip_conntrack_irc 2768 1
ip_conntrack_tftp 1616 1
ip_conntrack_ftp 3632 1
ip_conntrack 18440 3 [ipt_state ipt_conntrack ip_nat_irc ip_nat_tft p ip_nat_ftp iptable_nat ip_conntrack_irc ip_conntrack_tftp ip_conntrack_ftp]
iptable_filter 1676 1
ip_tables 12000 13 [ipt_REJECT ipt_LOG ipt_state ipt_pkttype ipt_ owner ipt_recent ipt_multiport ipt_conntrack iptable_mangle iptable_nat iptable_ filter]

tnx
 
Old 02-20-2006, 05:37 PM   #2
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Rep: Reputation: 15
To my knowledge, each kernel has its own set of compiled modules. A module compiled for 2.4.29 cannot be loaded by a 2.6.7 kernel and vice versa. For this reason, you will need each kernel with the appropriate modules compiled.

On my machine, for example, the kernel modules are stored under "/lib/modules/2.6.14.6". When I initially installed Debian, it set me up with a 2.6.8.11 kernel, for which the modules exist in "/lib/modules/2.6.8-11-amd64-k8". When I made my own 2.6.14.6 kernel, I had to compile all of the modules I wanted again, because the ones in 2.6.8-11-amd64-k8 are useless to the 2.6.14.6 kernel.

Does that answer your question? I'm not entirely sure I have.
 
Old 02-20-2006, 07:38 PM   #3
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
yes i get it, tnx
 
  


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



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

All times are GMT -5. The time now is 12:04 AM.

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