Specifications
VoiceFinder VoIP Gateway Configuration Guide (APOS 2.0) Release Version 3.1
AddPac Technology Co., LTD
- 88 / 416-
[Usage Example] Getting the Public IP Address Assigned in DHCP
Environment
You can get public IP address assigned in DHCP environment which can be used for Cable
Modem application of broadband network.
APOS Command Script Screen
!
interface FastEthernet0/0
ip address dhcp
speed auto
!
interface FastEthernet0/1
no ip address
speed auto
!
!
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
#
# config terminal
Enter configuration commands, one per line. End
with CNTL/Z
(config)#
Change to APOS Command
Configuration Mode
2
(config)# interface FastEthernet0/0
Start configuring Fast Ethernet
interface 0/0
3
(config-if)# ip address dhcp
Get the public IP assigned by using
DHCP
4
(config-if)# exit
Exit configuration mode for Fast
Ethernet Interface 0/1
5
(config)# ip dhcp pool default
Start configuring DHCP for ip-share
6
(config-dhcp)# network FastEthernet0/1
Configure the interface to be
connected to inside PC (or other
equipment) to Fast Ethernet 0/1
7
(config-dhcp-network)# range FastEthernet0/0
Configure the interface assigned with
the public IP to Fast Ethernet 0/0
8
(config-dhcp-network)# subnet-mask
255.255.255.0
Configure the interface to be
connected to the inside PC to
subnet-mask
9
(config-dhcp-network)# end
#
Exit ip-share DHCP configuration
mode