|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Change Gateway
Hello,
I have 1 proxy server with 3 nat'd adsl connections (3 gig data limit on each) Would anyone know how to create a cron job to change the default gateway of the proxy server? (or from a shell for that matter) one day I would like you have a cron job check a database to see how much data has been used the change the gateway if near limit. Thanks Heaps Rhys |
|
#2
|
|||
|
|||
|
route(8) is used to set and remove gateways. (see "man 8 route").
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
Thanks for that, I'll have a look
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Change Gateway |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|