DGA0122 Public IPs: Difference between revisions

mNo edit summary
(Storing static IP addresses)
This bug only affects you if you want to change the Local IPv4 Address to a public IP yourself, via the web interface.
 
* Bulleted list item
==Workaround==
 
 
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.
 
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.