Home DrayTek FAQs Static Default Route

Login

There is additional product information available to registered users. Please Register Now!



Static Default Route Print E-mail
Written by Steve Vogel   
Thursday, 27 March 2008 09:37
Sometimes it is useful to be able to add a second gateway address that can actually route traffic. In Linux you would do something like: " route add 0.0.0.0 0.0.0.0 192.168.3.254....". The DrayTek web interface will not accept this route, but you can trick it.

Instead of trying to force 0.0.0.0 into the Destination IP Address, we simply put anything other than 0.0.0.0 in that field but still put 0.0.0.0 in the subnet mask.  
Status/Action Empty/Clear Active/Add Inactive/Disable
Destination IP Address 192.0.0.0
Subnet Mask 0.0.0.0
Gateway IP Address 192.168.3.254
Network Interface LAN


The router will modify the Destination IP Address to fit the subnet mask and you will achieve the result you want:
Status/Action Empty/Clear Active/Add Inactive/Disable
Destination IP Address 0.0.0.0
Subnet Mask 0.0.0.0
Gateway IP Address 192.168.3.254
Network Interface LAN

If you ever want to delete that route, you will need to do the reverse. First put in something non-zero, then delete it.
Last Updated ( Friday, 28 March 2008 10:28 )