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 07-17-2005, 05:43 PM   #1
Mephisto123
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
iptables/routing problem


Hi,

I have a bunch of rules in iptables to calculate network traffic and these are working fine for most IPs on the network (192.168.0.106, 192.168.0.107 etc).

One however is not working, this is 192.168.0.205. I have set this up exactly the same as all the other rules. The only difference I can see is that I have an entry in the route table with 192.168.0.205.

Code:
Kernel IP routing table 
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
210.55.140.0    *               255.255.255.0   U     0      0        0 eth1 
192.168.1.0     192.168.0.205   255.255.255.0   UG    0      0        0 eth0 
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0 
default         210.55.140.129  0.0.0.0         UG    0      0        0 eth1

Could this be stopping the rules in iptables counting traffic for this ip?

Any help would be appreciated.

Thanks
 
Old 07-18-2005, 07:50 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
When you say 'doesn't work', what exactly do you mean?
 
  


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
routing by iptables ali_dd15 Linux - Networking 14 10-14-2005 05:38 AM
Routing and IPtables problem RajaRC Linux - Networking 10 01-10-2005 07:17 AM
Routing with iptables logo Linux - Networking 4 11-01-2004 06:21 AM
More Help routing with iptables LAR12345 Linux - Networking 2 02-02-2003 10:28 AM
routing with iptables Han_Solo Linux - Security 0 10-28-2001 06:04 PM

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

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