cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1032
Views
5
Helpful
2
Replies

switch DHCP

Samaj0101
Spotlight
Spotlight

I have 3 switches (sg-350)and I want to enable DHCP in only switch no 3. In all switches, IP is statically assigned to all users but in my switch no 3 I want some pc to get DHCP IP and some static so how to config that ??

 

everything is configured in one n/w so no need to config DHCP relay right?

 

My DHCP range configured in the firewall and all are in one n/w(10.10.0.0/24)

my DHCP range:10.10.0.100-150/24

in my switch no 3 I want only this  5 IP   10.10.0.45-50 

So how to assign a particular rang to that switch and exclude other IP give me an example

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

If all the device Layer 2 and connected one VLAN, you can reserve  IP address static as below :

 

You need to add Manually all the entries as below for each device. ( the IP should be out of the scope of the reserved pool).

 

ip dhcp pool host DEVICE1    <<- change the device name as per requirement
address 10.10.0.50 255.255.255.0 client-identifier xxxx.xxxx.xxxxx   <<- actual MAC address of the device
dns-server y.y.y.y   < your DNS Server IP

 

You can also do from GUI :

 

image.png

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

ip dhcp pool host DEVICE1    <<- change the device name as per requirement
address 10.10.0.50 255.255.255.0 client-identifier xxxx.xxxx.xxxxx   <<- actual MAC address of the device
dns-server y.y.y.y   < your DNS Server IP

 

 

 

couldn't understand this do I have to add all switch VLAN 1 IP  in my switch no 3?like this?

switch 1 ip :address----> 10.10.0.51 255.255.255.0  client-identifier xxxx.xxxx.xxxxx dns-server 8.8.8.8

switch 2 ipaddress-----> 10.10.0.52 255.255.255.0  client-identifier xxxx.xxxx.xxxxx dns-server 8.8.8.8