I have pc1(dhcp client)-sw1-sw2-R1(dhcp server), sw1 is deployed with dhcp snooping, sw2 is dhcp relay and default gateway with ip 10.200.0.1(virtual IP with hsrp), vlan 20 ip is 10.200.0.5 and in sw2, pc1 need to get a static dhcp address 10.200.0.2
pc1 use interface e0/1 to connect to sw1
my question is :
1) should i use "ip address dhcp" or " ip address dhcp client-id e0/1" in pc1's interface e0/1 configuration?
2) in R1, I already configured ip dhcp pool pc1, host 10.200.0.2 255.255.255.0, client-id 01aa.bb*****, default-router 10.200.0.1.
do i need to configure ip dhcp pool vlan 20, network 10.200.0.0 255.255.255.0, default-router 10.200.0.1? thanks