Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => General Networking Support in Linux => Topic started by: klakshman03 on October 19, 2006, 02:57:15 PM
-
hi linux grp......
i want to append a rule using IPTABLES ....
"only the specific IP is required to be used with the specified MAC address"
even if any one try to use the ip from diff MAC ..he would not access ....
thanking u...........
laxmaN
-
You can either make rule for a specific mac address or can make rules for specific IP.
But you can't force that particular MAC should be used only with a specific IP.
Ya you can do that with DHCP ie. assigning desired IP to a particular MAC.
eg.
If you want to drop all request from a MAC address then you do following iptables -A INPUT --mac-source 00:0B:DB:45:56:42 -j DROP
-
tq.....