[plug] How to add static route?

Craig Ringer craig at postnewspapers.com.au
Fri Aug 20 13:12:40 WST 2004


Senectus . wrote:
> How do I add a static route to my laptop.. so when I'm on my work
> network it uses that static route, but ignores it when on a different
> network?

AFAIK you'll need to write a script that takes care of that. Perhaps 
something that looks at the DHCP response and decides what network it's 
on and what to do about the route. Unfortunately, I've had trouble in 
the past getting useful info out of DHCP clients - "WTF was the value of 
option-201" is not a question the ones I looked at seemed to be good at 
answering.

--
Craig Ringer




More information about the plug mailing list