DGA0122 Public IPs: Difference between revisions
Appearance
Content deleted Content added
Storing static IP addresses |
The Hacking section moved to another page |
||
(2 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
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]] |
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. |