cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10833
Views
17
Helpful
2
Replies

Example config DHCP over subinterface

sirapat
Level 1
Level 1

Dear All,

I need some help. In my network we separate network / department.

Example

vlan 1 Finance

vlan 2 Technical

vlan 3 Sell

Now We would like to implement DHCP as Centralize Server.

DHCP Server has only 1 interface locate in vlan 1

How can we config in router 3660 to let other vlan receive "Assign IP" from DHCP server in Vlan1

Here is Example configuration in router

interface FastEthernet1/0.1

encapsulation dot1Q 1 native

ip address 10.15.12.254 255.255.255.0

no ip redirects

no ip proxy-arp

ip directed-broadcast

no cdp enable

!

interface FastEthernet1/0.2

encapsulation dot1Q 2

ip address 192.168.90.1 255.255.255.0

no ip redirects

no ip proxy-arp

ip directed-broadcast

!

interface FastEthernet1/0.3

encapsulation dot1Q 3

ip address 172.17.0.254 255.255.255.0

ip directed-broadcast

no ip redirects

no ip proxy-arp

no cdp enable

!

2 Replies 2

ankbhasi
Cisco Employee
Cisco Employee

Hi Sirapat,

Under Interface fa1/0.2 and interface fa1/0.3 add one command "ip helper-address "

This will redirect your DHCP traffic from other vlans as unicast to vlan 1.

HTH

Ankur

*Pls rate all helpfull post

Sirapat

I believe that Ankur has given the correct command to get each of the subinterfaces to forward DHCP requests to the DHCP server. I would add that you need to verify that the DHCP server has a separate scope configured for each of the subnets on each of the subinterfaces.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card