From: Rakotomandimby Mihamina <mihamina@gulfsat.mg>
To: netfilter@vger.kernel.org
Subject: force a MAC to have one IP
Date: Thu, 05 Nov 2009 07:06:46 +0300 [thread overview]
Message-ID: <4AF24F56.6010308@gulfsat.mg> (raw)
Hi all
On our LAN, we have a DHCP server that offers fixed IPs to some MACs.
(We dont use such solutions as NuFW yet)
We would like to ensure one IP adress is used by the assigned MAC.
(QoS matter)
Is this a good enough solution:
-A INPUT -m mac --mac-source 00:15:C5:F4:29:7C -s ! 192.168.1.13 -j REJECT
-A FORWARD -m mac --mac-source 00:15:C5:F4:29:7C -s ! 192.168.1.13 -j REJECT
Is there any better one?
--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 33 11 207 36
next reply other threads:[~2009-11-05 4:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-05 4:06 Rakotomandimby Mihamina [this message]
2009-11-05 8:27 ` force a MAC to have one IP Karel Rericha
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=4AF24F56.6010308@gulfsat.mg \
--to=mihamina@gulfsat.mg \
--cc=netfilter@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.