01-31-2006 04:10 AM - edited 03-03-2019 01:38 AM
i've got a 1700 router with subinterface fast ethernet 2 assigned to vlan 2 with dot1q trunking.i want to setup dhcp on the router.the native vlan is not used.i'm only using vlan 2.will the hosts receive ip addresses automatically for vlan 2 or do i need to setup helper addresses ?
Solved! Go to Solution.
01-31-2006 04:36 AM
Hi,
You can indeed set up the router to be a DHCP server, which means that you will not need to configure any helper addresses.
If a DHCPDISCOVER message comes in over your fastethernet sub-interface, the router will respond with an address.
Here's a sample config:
service dhcp
!
ip dhcp pool DCHPPool1
network
default-router
dns-server
!
ip dhcp excluded-address
(since you don't want it handing out addresses such as the router's address)
Hope that helps - pls rate the post if it does.
Regards,
Paresh
01-31-2006 04:36 AM
Hi,
You can indeed set up the router to be a DHCP server, which means that you will not need to configure any helper addresses.
If a DHCPDISCOVER message comes in over your fastethernet sub-interface, the router will respond with an address.
Here's a sample config:
service dhcp
!
ip dhcp pool DCHPPool1
network
default-router
dns-server
!
ip dhcp excluded-address
(since you don't want it handing out addresses such as the router's address)
Hope that helps - pls rate the post if it does.
Regards,
Paresh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide