Chapter 24 APPENDIX D – Application Note
167
5. set nat napt wan1
6. set wan1 ppp authentication chap
7. set wan1 ppp localname USERNAME
8. set wan1 ppp add USERNAME PASSWORD
9. set wan1 protocol ppp
10. add route 0.0.0.0 0.0.0.0 1.1.1.2 wan1
11. set async 115200 8 none 1
12. add dhcp subnet atm
13. set dhcp server subnet network atm 10.10.10.0 255.255.255.0
14. set dhcp server subnet ip_range atm 10.10.10.10 10.10.10.20
15. set dhcp server subnet router atm 10.10.10.1
16. set dhcp server dns_server 202.54.29.5
17. set dhcp server state on
Note:
1. Step 1 to 4 are WAN1 Modem setup, refer to Chapter 14 Model Dial Up for detail.
2. Both USERNAME and PASSWORD can be set up to 31 characters.
3. Step 15 to 20 are to enable the DHCP function setup.
4. The IP6100 will be triggered to send AT command to modem while the LAN port receive the packet.