Question : Configureing router on a stick Cisco 1841 router + 2960x2

I'm basically trying to configure my router to provide inter-vlan communication. This is for studying purposes for CCNA and is not in a company setting.

So far i have the switches configured with the correct vlans, vlan 1(default) vlan 2 and vlan 50

So i would like to use the cisco 1841 for provide inter-vlan communication, plus i also want the cisco 1841 to be the DHCP server.

What i have done so far:

I used a 133.16.0.0 /19 network for the DHCP server. Then i gave each sub-interface on the router a different subnet ip address.


Default-router ip is 133.16.0.1

I gave fa0/0 no ip address
 
example sub-interface config:

fa0/0.1
encapsulation dot1q 1
ip address 133.16.32.100 255.255.224.0

Now here is my question, Do i need to setup multiple DHCP pools for each vlan/subnet on the cisco 1841 ??


 Thanks for any input!

Answer : Configureing router on a stick Cisco 1841 router + 2960x2

Router(config)# ip dhcp excluded-address

Router(config)# ip dhcp pool name
Router(dhcp-config)# network [mask | /prefix-length]
Router(dhcp-config)# default-router

Router(dhcp-config)# lease {days [hours][minutes] | infinite}

http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html#wp1000985 for further parameters
Random Solutions  
 
programming4us programming4us