Propose an approach to enforce DHCP in a flat network using Layer-2 switches. The solution could be client based. Only machines connecting through DHCP should get network access. Machines not using DHCP should not be able to communicate with other machines also.
Notes: Simulate a small network with a DHCP server to demonstrate your approach. The solution should work on Windows & Linux Operating System.
Sample Data Required: No