User`s guide
PassFinder AP2520 VoIP Router/Gateway Operation Manual Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd. -
128 -
[Example] DHCP Server Mode Configuration and Usage
router(config)# ☞ In this mode, DHCP-list Config is possible.
router (config)# dhcp-list 0 type server ☞ Sets that the
Gateway should operate as a DHCP server.
router (config)# dhcp-list 1 address server 211.1.1.1
211.1.1.125
☞ Sets the DHCP address pool. This command sets that the
DHCP address pool can allocate addresses from “211.1.1.1” till
“211.1.1.125.”
Router(config)# dhcp-list 1 option domain-name AddPac ☞ Sets
that the Gateway should give AddPac as a domain name to the client
when the Gateway functions as a DHCP server.
Router(config)# dhcp-list 1 option gateway-option
211.1.1.126
☞ Sets that the Gateway should give “211.1.1.126” of default
Gateway address to the client when the Gateway functions as a DHCP server.
Router(config)# interface Ethernet 0 0 ☞ Makes the DHCP clients
to enter into the configuration mode of the Ethernet 0.0 that is
the interface that the DHCP clients are going to be connected.
Router(config-ether0.0)# ip address 211.1.1.126
255.255.255.127
☞ Sets Ethernet 0.0 interface address as
“211.1.1.126/25 Bit.” At this time, the address shall have the
same network address of DHCP address, and does not exist in the
DHCP pool. IPs may overlap.
Router(config-ether0.0)# dhcp-group 0 ☞ Sets that all DHCP
packets incoming through Ethernet 0.0 interface should be allocated
with addressed by rules of DHCP-0 that has been set already.
Router(config-ether0.0)# end ☞ Exists from the configuration
mode.
Router# show dhcp-list 0 ☞ Shows configuration contents of DHCP
List 0.
DHCP Type = SERVER
ADDRESS POOL Start = 211.1.1.1 End = 211.1.1.127
DOMAIN NAME = addpac
Lease Time = 3600, Max lease time = 268435455