IP & MAC Binding
IP & MAC Binding
Salam,
I am using Linux based OS "Clark Connect Enterprise Edition" which uses squid at back end for proxy services. I am facing problems that users change IP's of their PC's.
Please let me know if there is any method/technique through which I can bind IP with MAC address so that problem may be solved for ever .
Regards
Asad Siddiqui
Peshawar
I am using Linux based OS "Clark Connect Enterprise Edition" which uses squid at back end for proxy services. I am facing problems that users change IP's of their PC's.
Please let me know if there is any method/technique through which I can bind IP with MAC address so that problem may be solved for ever .
Regards
Asad Siddiqui
Peshawar
Asad Zia Siddiqui
Peshawar
Peshawar
and what's to prevent your users from changing their ips and mac addresses?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Dear Asadsq,
Configure DHCP. I am sure it will resolve your problem.
Please find the link:-
http://www.linuxhomenetworking.com/wiki ... HCP_Server
Configure DHCP. I am sure it will resolve your problem.
Please find the link:-
http://www.linuxhomenetworking.com/wiki ... HCP_Server
Thanks & Regards
Athar Hussain
Athar Hussain
no, it won't.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
how, exactly?But DHCP might be the first step for this astronaut
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
going back to what i said earlier: what's to prevent your users from changing their ips and mac addresses to match a "valid" address?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Well
let me explain a bit
I have divided some section in to different subnets
For example
For faculty its 172.16.1.xx
For Researchers 172.16.2.xx
for hostels 172.16.3.xx
for IT Labs 172.16.4.xx
Now i want that IP's of Faculty may be BIND with their respective MAC's so that they might not change their IP etc
It happens that they change their IP to other subnet for nothing causing IP conflicts
Regards
Asad
let me explain a bit
I have divided some section in to different subnets
For example
For faculty its 172.16.1.xx
For Researchers 172.16.2.xx
for hostels 172.16.3.xx
for IT Labs 172.16.4.xx
Now i want that IP's of Faculty may be BIND with their respective MAC's so that they might not change their IP etc
It happens that they change their IP to other subnet for nothing causing IP conflicts
Regards
Asad
Asad Zia Siddiqui
Peshawar
Peshawar
you do know that you can assign static ips using dhcp, right?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
you can bind ip with mac address using iptables and ur user will only get through if their ip address and mac address matches your list. her is a little hint to do so.
Code: Select all
cat $MACDIR/mac.addresses | while read MACS
do
IP=`echo $MACS | awk '{print $2}'`
MAC=`echo $MACS | awk '{print $1}'`
$IPT -t mangle -A PREROUTING -i $NETWORK -s $IP -m mac --mac-source $MAC -j MARK --set-mark 1
done