Date: Thu, 8 Jul 2004 13:48:45 -0500 From: "Schimcek, Derrick" <derrick@imacs.com> To: <freebsd-questions@freebsd.org> Subject: DHCPD 2 mac adresses for one host Message-ID: <6E6A0B9771347B49937E7E3F30153465021EC4@imacs-exchange.hms-domain.local>
next in thread | raw e-mail | index | archive | help
I have a server running FreeBSD 5.0 with bind 9.2.2 and dhcpd 3.0pl2
For security I made it to where unless your host name and Mac address =
are defined in the dhcpd.conf file you don't get a lease.
I have 3-5 hosts that are laptops with a network adapter that they =
connect with and also a vpn adapter that they use to connect with from =
home.
I put the hardware ethernet mac address statement twice in a row and =
dhcpd starts but only recognizes the first hardware ethernet statement. =
does anyone know how to assign 2 mac addresses to one host or a better =
way of doing this.
dhcpd.conf file
# domain /etc/dhcpd.conf
# (add your comments here)
default-lease-time 2592000;
max-lease-time 3456000;
option subnet-mask 255.255.0.0;
option routers x.x.x.x;
option domain-name-servers x.x.x.x, x.x.x.x;
option domain-name "domain.com";
option netbios-name-servers x.x.x.x, x.x.x.x;
ignore client-updates;
ddns-update-style interim;
subnet 172.16.0.0 netmask 255.255.0.0 {
range 172.16.3.1 172.16.3.239;
range 172.16.4.1 172.16.4.254;
deny unknown-clients;
}
# John Smith
host jsmith {
hardware ethernet 00:08:74:bf:14:07;
}
# Derrick Smith
host derrick {
hardware ethernet 00:d0:b7:3e:c2:5d;
}
# Travis Young
host tyoung {
hardware ethernet 00:90:27:ea:24:8b;
}
# Allison West
host Allison {
hardware ethernet 00:08:a1:14:be:12;
}
# Creightons Laptop This is the entry not working
host chues {
# onboard NIC
hardware ethernet 00:0b:db:e7:2a:06;
# VPN Virtual NIC
hardware ethernet 00:60:73:ea:3f:60;
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E6A0B9771347B49937E7E3F30153465021EC4>
