LinuxQuestions.org
Help answer threads with 0 replies.
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 09-21-2004, 10:43 AM   #1
wazilian
LQ Newbie
 
Registered: Sep 2004
Location: State College, PA
Posts: 10

Rep: Reputation: 0
troubles with iptables...


when i type the command:

# iptables -L

i get the following error:

modprobe: Can't locate module ip_tables
iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

this would make sense to me if i knew there had to be a module in /lib/modules, but from what i can tell there shouldn't be. this has me stumped at the moment. maybe i'm not telling the OS something else it needs to know? the iptables executable is in /usr/local/sbin and i thought that is all i needed to get started with this. all i am trying to do is route between 2 NICs. any help would be appreciated. thanks.
 
Old 09-21-2004, 10:50 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Code:
modprobe ip_tables

modprobe ip_conntrack
 
Old 09-21-2004, 11:01 AM   #3
wazilian
LQ Newbie
 
Registered: Sep 2004
Location: State College, PA
Posts: 10

Original Poster
Rep: Reputation: 0
hhmm...both come back saying can't locate the modules...i know i compiled and installed this stuff. i'll check again, but what else could it be? thanks.
 
Old 03-22-2005, 07:20 PM   #4
torchy
LQ Newbie
 
Registered: Sep 2003
Location: Edmonton
Distribution: rh9
Posts: 3

Rep: Reputation: 0
modprobe: Can't locate module ip_tables

I have just had the same problem on several Red Hat 9 machines.

I am an instructor teaching Linux networking to adult students. While preparing for a class, I used the following commands:
 
Old 03-22-2005, 07:33 PM   #5
torchy
LQ Newbie
 
Registered: Sep 2003
Location: Edmonton
Distribution: rh9
Posts: 3

Rep: Reputation: 0
modprobe: Can't locate module ip_tables

I have just had the same problem on several Red Hat 9 machines.

I am an instructor teaching Linux networking to adult students. While preparing for a class, I used the following commands:
- ifconfig to view and change IP addresses
- mii-tools
- ethtools
- route command to view and change the local routing table.

At some point I did an iptables -F to flush the rules. That is where the problem (as described) started. I didn't see any connection between my iptables problem and the networking commands that I used.

HOWEVER, today in class, on freshly imaged RH9 boxes, fully patched, doing the same networking commands produced the same problem.

What could be the connection between manually viewing and modifying network settings AND iptables blowing up???

The modules that iptables wants exist in the correct directories and ldconfig / ld.so etc know they are there. Reinstalling/ upgrading iptables did't help either.

Thanks,
Jim
 
  


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 troubles ]SK[ Linux - Software 5 02-12-2005 08:52 AM
Fedora Core 2 iptables troubles scardali Linux - Networking 5 11-17-2004 02:29 PM
Iptables troubles J_Szucs Linux - Security 2 07-19-2004 06:27 PM
iptables masquerading troubles caremaker Linux - Networking 6 01-07-2004 06:21 PM
troubles with port forwarding and iptables gomen Linux - Networking 1 08-29-2003 08:32 AM

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

All times are GMT -5. The time now is 03:14 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