Penguin

Differences between version 24 and predecessor to the previous major change of DSL-302G.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 24 Last edited on Sunday, February 5, 2006 11:10:28 pm by TimFoster Revert
Older page: version 23 Last edited on Sunday, February 5, 2006 2:29:18 pm by FrancZabkar Revert
@@ -121,9 +121,9 @@
  
 Edit by Leslie Katz, Australia: 
 Before discovering how to create a permanent NAT rule via the web interface, I tried to create a NAT rule via the CLI. That failed. After discovering how to create a permanent NAT rule via the web interface, I read that, as appears immediately above, when creating a NAT rule via the CLI and using a decimal port value, one should precede the decimal value by "num". It was unnecessary for me to test that, since by then, I had succeeded via the web interface. 
  
-! Half Bridge Mode 
+! Half Bridge Mode (DHCP Spoofing)  
 In this mode the modem terminates the PPP connection from the ISP but acts as a bridge. This means that you get the real world IP address on your computer and there is no NAT between you and the ISP. To enable this enter telnet mode and type the following commands (assuming you have already configured the account details) 
  
 <verbatim> 
  modify ppp intf ifname ppp-0 startondata 
@@ -141,8 +141,19 @@
  
 It is recomended to reset the 302g to default settings and re-entering your [ISP] login information before trying this or it may not work. 
  
 This mode does seem a little flaky in that once the [PPP] connection is up it doesn't seem to like it if you try to gain a second lease (even from the same computer). Renewing an existing lease is fine however. So for example if your computer turns off or reboots you may need to power cycle the [DSL] modem as well in order to get a lease again. [YMMV]. 
+  
+If you are having problems with the default lease expiry time of 1 minute being to short (a common problem with some broadband routers) or causing occasional drop outs on lease renewal, then to increase the lease time enter telnet mode and type the following commands:  
+  
+<verbatim>  
+modify dhcp server pool poolid 0 dlease 1800  
+modify dhcp server pool poolid 0 mlease 3600  
+commit  
+reboot  
+</verbatim>  
+  
+This example sets the DHCP lease to 30 minutes, with a Maximum lease of one hour. If your ISP changes you IP address frequently you may want to experiment with shorter values.  
  
 Please Also Note: If you purchased the modem in NZ chances are it will have an NZ firmware, modern NZ firmwares will not allow the modem to operate in half-bridge mode, it is possible to use the firmware from the [support page for the DSL-302G | http://www.dlink.com.au/tech/drivers/files/modems/dsl302g.htm] on the [Australian d-link site | http://dlink.com.au] and just change the VCI/VPI settings to 0/100 and half-bridge mode will work. 
  
 Edited by Franc Zabkar (fzabkar@internode.on.net):