cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9096
Views
15
Helpful
1
Replies

DHCP Pool to Sub-interface withour IP helper address Possible?

joseluis
Level 1
Level 1

Quick Question.

How can I put the DHCP Pool to a specific sub interface without using ip helper address? I would like to try, for example, I have a DHCP Pool configured on my router, but I have many sub interface in my router and I only want my DHCP Pool only to be on VLAN 2? Is that possible? If yes how can I configure that?

Thank you so much!

1 Reply 1

Hi

It is possible if the DHCP scope is created on the same router where the sub-interface is located  otherwise the ip helper-address is required. A client PC will discover the DHCP server using broadcast.

For example:

ROUTER

interface fa0/0
no shutdown

interface f0/0.2
encapsulation dot1q 2
ip address 192.168.2.1 255.255.255.0
no shutdown

ip dhcp pool VLAN2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 8.8.8.8 4.2.2.2

ip dhcp excluded-address 192.168.2.1 192.168.2.1

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking for a $25 gift card