Specifications

VoiceFinder VoIP Gateway Configuration Guide (APOS 2.0) Release Version 3.1
AddPac Technology Co., LTD
- 89 / 416-
[Usage Example] Getting the Public IP Address Assigned in PPPoE
Environment
You can get public IP address assigned in PPPoE environment which can be used for ADSL
modem application of broadband network.
APOS Command Script Screen
!
Interface FastEthernet0/0
no ip address
pppoe enable
encapsulation ppp
pppoe-client local-interface
ppp ipcp default-route
ppp authentication pap calling
ppp pap sent-username addpac password test
ppp ipcp default-route
!
interface FastEthernet0/1
no ip address
!
!
ip dhcp pool default
network FastEthernet0/1
range FastEthernet0/0
subnet-mast 255.255.255.0
!
dhcp server
!
ip connect default inside FastEthernet0/1 outside FastEthernet0/0
!
Step Command Description
1
#
# configure terminal
Enter configuration commands, one per line. End
with CNTL/Z
Change to APOS Command
Configuration Mode
2
(config-# interface FastEthernet0/0
(config-if)#
Start configuring Fast Ethernet
interface 0/0
3
(config-if)# pppoe enable
Enable PPPoE
4
(config-if)# pppoe-client local-interface
Configure the present interface to
pppoe of local-interface
5
(config-if)# encapsulation ppp
Configure PPP
6
(config-if)# ppp ipcp default-route
Configure to receive default router
IP address from PPP server
7
(config-if)# ppp authentication pap calling
Configure PPP authentication to
PAP
8
(config-if)# ppp pap sent-username addpac
password 1234
Set PAP user ID to ‘addpac’ and
password to ‘1234’
9
(config-if)# exit
Exit configuration mode of Fast
Ethernet interface 0/1
10
(config)# ip dhcp pool default
Start configuring DHCP for ip-share
11
(config-dhcp)# network FastEthernet0/1
Configure the interface to be
connected to the inside PC (or
other equipment) to Fast Ethernet
0/1