Reset Search
 

 

Article

How to configure DHCP server on Securestack

« Go Back

Information

 
TitleHow to configure DHCP server on Securestack
Objective
How to configure DHCP server on Securestack?
Environment
  • A/B/C Secure Stacks
Procedure
The procedure is listed below:
set dhcp enable 
set dhcp exclude 10.10.10.1 10.10.10.20 

set dhcp pool server 
set dhcp pool server dns-server 10.10.10.50 
set dhcp pool server default-router 10.10.10.1 
set dhcp pool server network 10.10.10.0 255.255.255.0 

set dhcp pool host-pool1 client-identifier 01:00:80:C7:13:3A:DB 
set dhcp pool host-pool1 host 10.10.10.25 255.255.255.0 

set dhcp pool host-pool2 client-identifier 01:00:18:8B:C9:16:5F 
set dhcp pool host-pool2 host 10.10.10.26 255.255.255.0
DHCP ROUTER MODE with shoretel options: 
 
set dhcp enable 

set dhcp pool shoretel 
set dhcp pool shoretel dns-server 4.2.2.2 
set dhcp pool shoretel network 192.168.1.0 255.255.255.0 
set dhcp pool shoretel default-router 192.168.1.1 
set dhcp pool shoretel option 4 ip 192.168.1.101 
set dhcp pool shoretel option 42 ip 192.168.1.101 
set dhcp pool shoretel option 156 ascii ftpservers=192.168.1.101,layer2tagging=1,vlanid=110 

set dhcp pool data 
set dhcp pool data network 192.168.0.0 255.255.255.0 
set dhcp pool data default-router 192.168.0.1 
set dhcp pool data option 156 ascii ftpservers=192.168.1.101,layer2tagging=1,vlanid=110 

#vlan 
set vlan create 10 
set vlan create 110 
clear vlan egress 1 ge.1.19-20 
set vlan egress 110 ge.1.1;ge.1.3-24 tagged 
set vlan egress 110 ge.1.2 untagged 
! 

#Router Configuration 
router 
enable 
configure 
interface vlan 1 
ip address 192.168.0.1 255.255.255.0 
no shutdown 
exit 
interface vlan 110 
ip address 192.168.1.1 255.255.255.0 
no shutdown 
exit




 
Additional notes
Overview of findings: 

- Router mode command "no ip routing" will not allow DHCP to work. 

-If statically setting a client-identifier to a host IP address in a pool, you can not use an IP address that is 
currently part of a "set dhcp exclude <low ip> <high ip>" statement. 

-When configuring client-identifier, you need to add a "01:" before the mac address to specify ethernet. 

-When configuring Static DHCP reservations, they must be on a separate pool 
(cannot be configured on same pool giving out addresses with the "network" statement) 

-You can have a total of 16 address pools (dynamic / static) on C2 

-Switch is limited to total of 256 leases at a given time. 

-You can only configure 1 ip-to-mac binding for each pool 

-once IP is binded to mac in a specific pool, DHCP knows not to give out that address. 
So, if you have a binding on a pool, or if you have a "set dhcp exclude <ip-addr>" command, 
dhcp will not lease this IP to any users. 

The DHCP options are limited on the C2 and are meant for light configuration. 
If you have a large network, it would be advisable to use windows server DHCP or there are open-source 
DHCP programs available on the web.

How to configure DHCP on the S-K-7100

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255