EXPERT RESPONSE
From your question, I am assuming that you want to get a DHCP assigned address to the interfaces. For that, 'IP address DHCP' is sufficient. If the DHCP server is on some other segment, then you need to give "IP helper-address dhcp_server_address" on the interfaces also.
But if you want the router to act as a DHCP server, then here is a working configuration, which you can modify:
ip dhcp excluded-address 192.168.1.100 192.168.1.103
ip dhcp excluded-address 192.168.2.100 192.168.2.103
!
ip dhcp pool 1
network 192.168.0.0 /16
domain-name test.com
dns-server 192.168.1.102 192.168.2.102
default-router 192.168.1.100 192.168.1.101
netbios-name-server 192.168.1.103 192.168.2.103
netbios-node-type h-node
lease 30
!
|