Configure DHCP server with VLAN in Cisco switch

Enable DHCP Service

service dhcp

Create desired vlan

vlan 149

Assign IP Address to VLAN interface

int vlan 149
 ip address 192.168.149.1 255.255.255.0

Exclude vlan interface IP Address from dhcp pool

ip dhcp excluded-address 192.168.149.1

Create DHCP Server Pool

ip dhcp pool VLAN149
 network 192.168.149.0 255.255.255.0
 default-router 192.168.149.1
 dns-server 8.8.8.8

Now assign VLAN to specific interface as access port or trunk port.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: