DHCP server with a group of mac address
Hi, i'm installing isc-dhcp42-server and run in the network for like 1000 node. i have like 1000 mac address (servers, PC's, printers, phones, etc) which i put in the text file. FYI, Any mac address (which is in the text file) who plug into the network will get the ip address based on the vlan configured on the switch. Any mac address who's NOT in the text file, will not getting any IP and they will not authorize to be in our network. Is this possible to do with isc-dhcp ? I try to search around these topic but not much help. Anyone have any tips / shed me some light ? --- ded1 MyBSD Malaysia Project http://www.MyBSD.org.my ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
DHCP server with a group of mac address
Hi, i'm installing isc-dhcp42-server and run in the network for like 1000 node. i have like 1000 mac address (servers, PC's, printers, phones, etc) which i put in the text file. FYI, Any mac address (which is in the text file) who plug into the network will get the ip address based on the vlan configured on the switch. Any mac address who's NOT in the text file, will not getting any IP and they will not authorize to be in our network. Is this possible to do with isc-dhcp ? I try to search around these topic but not much help. Anyone have any tips / shed me some light ? --- ded1 MyBSD Malaysia Project http://www.MyBSD.org.my ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
Re: DHCP server with a group of mac address
Yes, as I indicated above - but users could manually assign IP addresses, which means you can't really deny them access without switchport level control. - M On Wed, Sep 26, 2012 at 2:58 AM, d...@mybsd.org.my d...@mybsd.org.my wrote: Hi, i'm installing isc-dhcp42-server and run in the network for like 1000 node. i have like 1000 mac address (servers, PC's, printers, phones, etc) which i put in the text file. FYI, Any mac address (which is in the text file) who plug into the network will get the ip address based on the vlan configured on the switch. Any mac address who's NOT in the text file, will not getting any IP and they will not authorize to be in our network. Is this possible to do with isc-dhcp ? I try to search around these topic but not much help. Anyone have any tips / shed me some light ? --- ded1 MyBSD Malaysia Project http://www.MyBSD.org.my ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
Re: DHCP server with a group of mac address
In dhcp.conf it describes ways to assign client's to classes. It further explains how to `deny` or `allow` those clients assigned to those classes. Read the subsection from dhcpd.conf(5) called `SUBCLASSES`. It provides an example which almost answers your question in its entirety. ~Paul On Wed, Sep 26, 2012 at 05:58:11PM +0800, d...@mybsd.org.my wrote: Hi, i'm installing isc-dhcp42-server and run in the network for like 1000 node. i have like 1000 mac address (servers, PC's, printers, phones, etc) which i put in the text file. FYI, Any mac address (which is in the text file) who plug into the network will get the ip address based on the vlan configured on the switch. Any mac address who's NOT in the text file, will not getting any IP and they will not authorize to be in our network. Is this possible to do with isc-dhcp ? I try to search around these topic but not much help. Anyone have any tips / shed me some light ? --- ded1 MyBSD Malaysia Project http://www.MyBSD.org.my ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/legal/email_disclaimer/ for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
Re: DHCP server with a group of mac address
To do what you want you will have to make a script to collect the mac addresses and insert into your dhcp.conf . Also check the dhcpd.conf(5) called `SUBCLASSES`. as Paul suggested. Marcos Alves 2012/9/26 Ahmad Faisal d...@mybsd.org.my *You wrote:* *From:* marcos alves noid...@gmail.com *To:* d...@mybsd.org.my d...@mybsd.org.my *Sent:* Wednesday, September 26, 2012 6:20 PM *Subject:* Re: DHCP server with a group of mac address I dont know if im following you correctly, but yes you can set up your lish of mac address to be the only ones allowed to get specified ip addresses in your network trough isc-dhcp. so the ones that are not specified in the conf won't be able to get any configuration of DHCPD server. If that's what you looking for, i think i have some information on how to do it. I don't really get what you mean, how do i include the text file with all the mac address into the dhcpd.conf and declare on which dhcpd syntax ? Do you have the sample of the dhcpd.conf ? --- ded1 MyBSD Malaysia Project http://www.MyBSD.org.my ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
Re: DHCP server with a group of mac address
--- Исходное сообщение --- От кого: d...@mybsd.org.my d...@mybsd.org.my Кому: freebsd-net@freebsd.org Дата: 26 сентября 2012, 21:22:31 Тема: DHCP server with a group of mac address Hi, i'm installing isc-dhcp42-server and run in the network for like 1000 node. i have like 1000 mac address (servers, PC's, printers, phones, etc) which i put in the text file. FYI, Any mac address (which is in the text file) who plug into the network will get the ip address based on the vlan configured on the switch. Any mac address who's NOT in the text file, will not getting any IP and they will not authorize to be in our network. Is this possible to do with isc-dhcp ? I try to search around these topic but not much help. Anyone have any tips / shed me some light ? Reset the MAC Address table. Then read from a file line IP-MAC. All unoccupied IP score MAC address 00:00:00:00:00:00 Well, on the switch is enabled, if there is, the option Port security arp -d -a /dev/null arp -f /etc/ethers /dev/null echo 'Static ARP-table is loaded' $cat /etc/ethers 10.0.0.62 00:26:18:b8:d0:30 #Serg 10.0.0.64 D8:5D:4C:80:B1:4C #Valya ... 10.0.0.253 00:00:00:00:00:00 10.0.0.254 00:00:00:00:00:00 -- Vladislav V. Prodan System Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org