Can we have Same hostname with different IP and MAC-ID

Kumar Samir-TKNV64 TKNV64 at motorola.com
Wed May 6 09:29:08 UTC 2009


The following is typical entry for dhcpd.conf for allocating static IP
Addresses.
 
 
# SORTED #
ddns-update-style none;
option domain-name-servers 145.253.2.75, 193.174.32.18;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
 
#******************************#
# 0.0
#******************************#
subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.200 192.168.0.229;
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.0.255;
        option routers 192.168.0.1;
} 
#------------------------------
host MOT-8738 {
 ## Host MOT-8738 wih mac of 112342345 added by web on 4-26-08
 hardware ethernet 112342345;
 fixed-address 192.168.0.218;
 option host-name "MOT-8738";
}

 
 
Can we have multiple entries of the same hostname having different
IPAddress and MAC-ID as shown below.
 
 
 
# SORTED #
ddns-update-style none;
option domain-name-servers 145.253.2.75, 193.174.32.18;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
 
#******************************#
# 0.0
#******************************#
subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.200 192.168.0.229;
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.0.255;
        option routers 192.168.0.1;
} 
#------------------------------
host MOT-8738 {
 ## Host MOT-8738 wih mac of 112342345 added by web on 4-26-08
 hardware ethernet 112342345;
 fixed-address 192.168.0.218;
 option host-name "MOT-8738";
}
 
host MOT-8738 {
 ## Host MOT-8738 wih mac of 112342345 added by web on 4-26-08
 hardware ethernet 112342389;
 fixed-address 192.168.0.213;
 option host-name "MOT-8739";
}

 
Regards,
Samir Kumar
Motorola India Pvt Ltd
Extn: 91-40-2347-3028
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090506/7283a6b0/attachment.html>


More information about the dhcp-users mailing list