PAP2T With Static IP
From VoIP.ms Wiki
Knowing your DHCP Range
Before we start, make sure the account/sub account you are going to setup in the PAP2t has the NAT Network Address Translation) set to 'YES' from the account/sub account options. For the main account, go to Main menu > Account settings > Advanced Tab > NAT (Network Address Translation) For the main sub account, go to Sub accounts menu > Manage Sub accounts > Edit > Advanced Options > NAT (Network Address Translation)
Usually when you setting up your brand new PAP2T device in your network, the router in your network will assign the device a Dinamyc IP address via DHCP, which usually is the best way to go for non advanced users.
However if you have a specific reason why you do not wish to use the IP assigned via DHCP, in other words you want to assign an static IP address to your ATA device, here is what you need to do.
First of all, we may want to know what is the IP address range that your router assigns with the DHCP. This is usually found on your router config/info (note that this may vary from router brand/model/configuration). We will not really focus on this section so if you are not familiar with this , please refer to your router manual/ISP techs.
So, knowing the DHCP range is important, we do not want to set an IP address inside this range, because the router may assign that IP address at some point and this could potentially cause a network conflict, so we will be choosing a number outside this range.
If your router (192.168.0.1) has a DHCP range of 30, it will assign IP address from 192.168.0.2-192.168.0.31 inside the 0 sub net. You may want to choose a number from the range 192.168.0.32-254.
Configuring the PAP2T
Now that you have chosen the IP number you will use for your PAP2T, we will need to change the configuration within the PAP2T device.
Log in to the Web GUI (configuration prompt) by using the initial dynamic IP address the router provided to the device, into the web browser.
1) Click on Advance view mode.
2) Click on the System tab.
3) Set the DHCP option to No.
4) Enter the IP address for the adapter determined above (eg. 192.168.0.100).
5) Enter the Subnet Mask your computer have (eg. 255.255.255.0).
6) Enter the Default Gateway your computer have (eg. 192.168.0.1).
7) Enter the Primary DNS (usually the same as the Default Gateway).
8) Enter the Secondary DNS (usually the same as the Default Gateway).
7) Click Submit All Changes.
Subnet Mask and Default Gateway Values.
If you are using Windows OS:
Click on start (Windows logo). Type "cmd" and then enter. (without quotes).
If you are using Linux open the terminal:
Once in the command line/terminal type: ipconfig (ifconfig in linux).
Here you will see your ethernet information, what we need from here is the Subnet Mask and the Default Gateway values.
Subnet Mask usually 255.255.255.0 Default Gateway usually 192.168.1.1
- You can check the most commonly used Star Codes from Cisco/Linksys Star Codes