I have setup a DHCP Server on RHEL 4, now i have a list of MAC Addresses in a fie located at "/Firewall/macs/all.macs", now what i want to do is that, my DHCP server should assign IP's dynamically to only these MAC addresses present in this file. How is this possible.
What IPTABLES rules do i have to make in order to overcome this porblem.
DHCP security
DHCP security
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
salam,
So farrukh bhai what i have to do to complete the task i want to do.
So farrukh bhai what i have to do to complete the task i want to do.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Farrukh Ahmed
Salam,
Farrukh bhai i think you did not got the point. I am saying that only few MAC addresses sohould get IP's from my DHCP server, and those IP's have to be dynamically given those MAC addresses.
This is what i am trying to say.
Farrukh bhai i think you did not got the point. I am saying that only few MAC addresses sohould get IP's from my DHCP server, and those IP's have to be dynamically given those MAC addresses.
This is what i am trying to say.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
and his point is you can achieve your aims if you simply configure your dhcp server correctly. you can give your dhcp server the arp addresses, and tell it to ignore unknown clients. you'll need to place the addresses in the dhcpd.conf file. you can even write a script that takes the addresses out of that file and dynamically generates a dhcpd.conf.
i'll be willing to help you out for a fee.
i'll be willing to help you out for a fee.
-
- Naib Subedar
- Posts: 347
- Joined: Thu Aug 18, 2005 9:25 am
- Location: Attock
- Contact:
Lambda is Right
Lambda you are right , its only way to that
make sample DHCP conf file script and pass the dynamic values in to it like include file in for loop operation when you run the dhcpd script it will automatically add the macs from file that you have made and reload the service , if you need help on this you can contact me
make sample DHCP conf file script and pass the dynamic values in to it like include file in for loop operation when you run the dhcpd script it will automatically add the macs from file that you have made and reload the service , if you need help on this you can contact me
Cheers
B I L A L
B I L A L
you mean, like this?