Configure R1 as a DHCP server.
Exclude 192.168.1.1 - 192.168.1.9 from the pool
Default gateway: R1Configure DHCP snooping on SW1 and SW2.
Configure the uplink interfaces as trusted ports.Use IPCONFIG /RENEW on PC1 to get an IP address.
Does it work? Why or why not?If it doesn’t work, make the necessary configuration change to fix it.
1. Configure R1 as a DHCP server.
Exclude 192.168.1.1 - 192.168.1.9 from the pool
Default gateway: R1
1 | R1(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.9 |
2. Configure DHCP snooping on SW1 and SW2. Configure the uplink interfaces as trusted ports.
SW1
1 | SW1(config)# |
SW2
1 | SW2(config)#ip dhcp snooping |
3. Use IPCONFIG /RENEW on PC1 to get an IP address. Does it work? Why or why not?
Works. All configurations are proper.