02-17-2021 11:46 PM
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
02-18-2021 01:15 AM - edited 02-18-2021 01:18 AM
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 :
02-18-2021 10:44 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide