The topology
In SW, ip dhcp snooping is enabled on vlan 999 which Linux-Lubuntu and Linux-Kali belong.
Problem
After ip dhcp snooping is enabled on SW, Linux-Lubuntu and Linux-Kali could not get ip address from dhcp.
Cause
ip dhcp snooping information option is enabled globally on SW by default, this means SW by default acts as a dhcp relay agent by inserting option 82. However the SW does not seem to set the giaddr to non-zero and hence dhcp drops the request.
Solution
- Disable ip dhcp snooping information option in SW in global configuration.
- Enable ip dhcp relay information trusted on interface e0/0 of dhcp.