Umm exams not courses
Typically a course goes before an exam, and the course is where you get misled. If, however, you've achieved this level of knowledge without formal education, there's only one person to blame..
The DHCP range is 100 to 150 in this case, so the reservations are outside the dhcp pool but I'll concede on this bizzare option for a dhcp service to supply a fixed ip outside of the dhcp range.
It's not bizarre in the least. It's also possible to reserve inside the DHCP pool, it will give you a warning, but function. Although they may have changed that.
It still begs the question as to why you would adopt your excerpt?
What advantage does that script router side have over statically assigning the ip client side (especially as its outside the dhcp range anyway. You are also binding the ip to a mac address which could cause two potential issues.
DHCP is a dynamic configuration protocol, hence the name. I can change any and all settings from one central location, even with the target machine powered off. I can change my NTP server for my entire network in one fell swoop. I can alter the gateway, or push out a new route. All while still maintaining static addresses where required. With the lease time I have set, all this will occur within a matter of minutes, without having to touch more than one machine.
1. MAC spoofing would allow you to gain the ip address, especially if you also employed ARP poisoning and repeated requests.
And I couldn't gain any IP I wanted via those methods anyway?
2. On a server infrastructure , you would be relying on your NIC's MAC address to never change which could well happen with redundant NIC's /failover implementations.
You can specify multiple MAC addresses. It's very easy to get the MAC address for the failover NIC.
I just don't see the benefit of the router assigning the ip based on MAC as opposed to the client just assuming the static ip.
Because you don't need to dynamically configure multiple machines.
I think you are missing the point of DHCP, it is used for far more than merely assigning a random IP address to any old host which comes along.