Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

DGA0122 Public IPs: Difference between revisions

The Hacking section moved to another page
m (Set DHCP lease time)
(The Hacking section moved to another page)
 
 
Another work around is to set up the router for dual LAN subnets - that is to have the private IPs as well as the Public Subnet. See: [[DGA0122 Dual LAN Subnets]]
 
== Hacking ==
 
A user reports success by getting the web interface to do some of the work, and then rewriting the configuration variables. For example, setting static DHCP leases:
 
Using the web interface, attempt to enter all the static DHCP leases. Don't reboot after entering each one, hit ''Close'' and then add the next.
 
Now ssh to the router as user ''engineer'' and the admin password. Do
get InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPStaticAddress.
(note the trailing ''.''). This should show the MAC addresses in the ''Chaddr'' fields, but with empty ''Yiaddr'' fields where the IP addresses should be. Now use
the ''set'' command to enter the IP addresses, e,g.
set InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPStaticAddress.3.Yiaddr 81.187.xx.yy
Do the same for each static IP address required. Then reboot the router to make the changes active.
 
If you want to change the DHCP lease time to something different from 14400, the command is e.g.
set InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPLeaseTime 3600
Again, reboot to make change active.
editor
471

edits