force a MAC to have one IP
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?
Signature · 3 lines
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 33 11 207 362009/11/5 Rakotomandimby Mihamina <[email protected]>:
Quoted 8 lines
We would like to ensure one IP adress is used by the assigned MAC. (QoS matter)
Is this a good enough solution:
(quoted diff) +0
-2-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 REJECTIs there any better one?
Use ipsets, probably macipmap.
Karel