User manual

Chapter 3 Provisioning
31
3.2.8 DHCP Server Configuration
CTC Union's ET100R router module provides DHCP service for your network. With this feature, it is very
easy to deploy DHCP service for your network. Just simply perform a few commands and you will have this service.
3.2.8.1 Deployment procedures
1. Review the basic routing function deployment in the ET100R router module.
2. DHCP Server service configuration.
CLI commands: (must be in enable)
config ip dhcp on
config ip dhcp pool 0 on
config ip dhcp pool 0 dns 192.168.1.254 *Note
config ip dhcp pool 0 net 192.168.1.0
config ip dhcp pool 0 gw 192.168.1.254
config ip dhcp pool 0 lease_time 3600
config ip dhcp pool 0 netmask 255.255.255.0
config ip dhcp pool 0 range_start 192.168.0.100
config ip dhcp pool 0 range_end 192.168.0.120
config save
Note: If ET100R performs a DNS proxy service, you should set this field to LAN interface of ET100R. Otherwise, this
IP address should be a real DNS server's IP.
Additional Note: The DHCP Server may only be configured for IP 0 and cannot be configured for IP 1~4.
3. Verifying the DHCP server function.
Please set up any PC to Obtain an IP address automatically and from command window do "ipconfig /renew" to obtain
an IP address automatically from the assigned address pool in the ET100R. Check the IP and DNS information with the
command 'ipconfig /all'.
3.2.9 NAT Configuration
CTC Union's ET100R router module is able to provide NAT service for your network. With this feature, it's
easy to deploy IP sharing features with DHCP service for your network. Just simply perform few a commands and you
will have this service.
3.2.9.1 Deployment procedures
1. Enable NAT service in the router.
CLI commands:
config ip nat off
config ip nat add type snat nat_ip 216.239.32.2 src_net 192.168.1.0 src_netmask 255.255.255.0
config ip nat add type dnat nat_ip 192.168.1.1 protocol tcp dst_port 80
config ip nat on
config save
Web Server
192.168.1.1
255.255.255.0
Port 80
216.239.32.2
255.255.255.252
216.239.32.1
255.255.255.252
192.168.1.254
255.255.255.0
216.239.31.217
255.255.255.0
LAN 192.168.1.0
E1/T1 Facility
CISCO
S
YSTEMS
Internet