Discussion Locked

DHCP

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a cisco 2921 router connected to a cisco sg300-52 L3 switch. The switch is configured with several subnets and I need to use the router for DHCP. I setup DHCP on the router to assign addresses to a subnet on the switch but cannot get it to work.
Router:
gateway to LAN is xxx.16.10.1
ip dhcp excluded-address xxx.16.0.1 xxx.16.0.9
!
ip dhcp pool data
network xxx.16.0.0 255.255.254.0
default-router xxx.16.1.1
dns-server xxx.16.1.202
domain-name mydhcp.com

Switch to router xxx.16.10.2

Network on switch for DHCP is xxx.16.1.1

any idea?
GJN

1 reply

by tcp 765

You should implement Vlans, and thne you should implement a DHCP service for avery vlan, that wold be soported be the router..

This discussion is closed to new replies.