Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "caricand.jean-michel" <caricand.jean-michel@wanadoo.fr>
To: netfilter@lists.samba.org
Subject: Iptables seens doesn't understand network address not in class A, B or C
Date: Tue, 9 Jul 2002 07:03:57 +0200	[thread overview]
Message-ID: <001e01c22706$08aae620$0103a8c0@pc21> (raw)

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

I have a local network with 10.0.2.0 address and 255.255.254.0 netmask. 

My firewall have IP 10.0.2.130 on eth0. 
My station have IP 10.0.2.2.

I configure my firewall for drop the ping from the station with 1 rules :

# iptables -A INPUT -i eth0 -s 10.0.2.2 -p icmp -j DROP 

When I ping the firewall from my station (ping 10.0.2.130) , I receive an response from the serveur 

Why ?

What is the problem ? My netmask ?

If i modify my netmask to 255.0.0.0 on firewall and my station, the ping doesn't work. Normal !

Iptables don't understand network address not in class A, B or C 

HELP ME !!!



[-- Attachment #2: Type: text/html, Size: 1418 bytes --]

             reply	other threads:[~2002-07-09  5:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-09  5:03 caricand.jean-michel [this message]
2002-07-09  7:17 ` Iptables seens doesn't understand network address not in class A, B or C Antony Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001e01c22706$08aae620$0103a8c0@pc21' \
    --to=caricand.jean-michel@wanadoo.fr \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox