cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
326
Views
0
Helpful
0
Replies

How to configure port based address allocation

Can anyone help me to configure the port based address allocation feature on SG350 - 28 (Firmware version is 2.5.0.83)  series switch.

Description of requirement : I have several devices to test one by one. whenever, I connect the new device to be tested on port number 1, it will always get the same ip from dhcp i.e 192.168.0.130. (Please note that Mac address will always change with new device so allocation can not be made based on hardware address.) I have executed the following command so far:

 

> ip dhcp server

> ip dhcp pool network duts

> address low 192.168.0.1 high 192.168.0.255 255.255.255.0

> ip dhcp pool host dut

> address 192.168.0.130 255.255.255.0 client-identifier 0001

> ip dhcp excluded-address 192.168.0.1 192.168.0.1

> ip dhcp excluded-address 192.168.0.120 192.168.0.120

> interface vlan 1

> ip address 192.168.0.120 255.255.255.0

> no ip address dhcp

 

 

I am not able to figure out , how can i link the client-identifier to port number 1 so that client connected to it always get same ip address based on client-identifier 

 

0 Replies 0