
DHCP-server configuration tasks
258
IPLink Software Configuration Guide
22 • DHCP configuration
Example:
Define a DHCP-server profile
This example shows how to configure a standard DHCP-server profile for a LAN with a private IP address
range.
IPLink(cfg)#profile dhcp-server LAN
IPLink(pf-dhcps)[lan]#network 192.168.1.0 255.255.255.0
IPLink(pf-dhcps)[lan]#include 192.168.1.32 192.168.1.63
IPLink(pf-dhcps)[lan]#lease 2 days
IPLink(pf-dhcps)[lan]#default-router 192.168.1.1
IPLink(pf-dhcps)[lan]#domain-name-server 80.254.161.125
IPLink(pf-dhcps)[lan]#domain-name-server 80.254.161.126
Use DHCP-server profiles and enable the DHCP-server
If you have specified at least one profile, you can assign it to the DHCP-server and start the DHCP-server.
This procedure describes how to assign one or more DHCP-server profiles and enable the DHCP-server
Mode: Context IP
Example:
Start the DHCP-server
This example shows how to assign a profile to the DHCP-server and to start the DHCP-server.
IPLink(ctx-ip)[router]#dhcp-server use LAN
IPLink(ctx-ip)[router]#dhcp-server
10
(optional)
node(pf-dhcps)[name]#[no] bootfile
boot-
file-name
Defines the bootfile the client shall use when
starting. Usually this is used in conjunction with
the next-server command.
Basic DHCP information (‘Boot file name’)
11
(optional)
node(pf-dhcps)[name]#[no] next-server
next-server-ip-address
Defines the address of the next server in the
boot process. This could be a server different
from the DHCP-server which provides configu-
ration files for the clients to be downloaded.
Basic DHCP information (‘Next server IP
address’)
Step
Command
Purpose
1
node(ctx-ip)[router]#[no] dhcp-server use name
Tell the DHCP-server (not) to use DHCP-
server profile
name
2
node(ctx-ip)[router]#[no] dhcp-server
Enables/disables DHCP-server
3
node(ctx-ip)[router]#dhcp-server clear-lease
{ all |
ip-address
}
Removes all or a specific lease from the
server’s database, which in turn marks the
IP address(es) as available again.
Step
Command
Purpose
Содержание IPLink Series
Страница 309: ...309 Appendix B Mode summary Chapter contents Introduction 310...
Страница 312: ...Introduction 312 IPLink Software Configuration Guide B Mode summary...
Страница 325: ...325 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 326...
Страница 330: ...330 Appendix E Used IP ports in the IPLink software Chapter contents Used IP ports in the IPLink software 331...