If you use IS for your local, you should also include SAIX's DNS resolvers in exceptions. Im using Webafrica prepaid 1 GB ADSL with 10 GB IS from Webafrica.I tried adding what i think are saix DNS servers (126.96.36.199, 1.2) to the exceptions file, but that prevented any DNS requests from going through.Update: Debian/Ubuntu version I've finally jumped onto the local only DSL bandwagon.
However when attempting to route trough WRT54GL that is bridged to the DG834 (in modem only) connections fail.
Any how, looks that Open WRT can be worked like a typical Linux box, so things make bit more sense.
but your script gives me the functionality that I'm looking for. My current set up runs tomato 1.10 on WRT54GL in Wireless bridge mode to connect my main computer set to DG834 which handles ADSL conn.
However I'm battling to figure out where to put all this code in... I'm trying to configure my network to be able to switch int/local traffic just as described in this blog.
#### WAN configuration config interface wan option ifname "eth0.1" option proto pppoe option username "[email protected]" option password "xxxxxx" option routefile "/etc/routes/exceptions" option defaultroute 1 config interface localdsl option ifname "eth0.1" option proto pppoe option username "[email protected]" option password "xxxxxx" option routefile "/etc/routes/zaroutes" option defaultroute 0 That's it, and it's working beautifully :-) What is source routing, people ask?
The problem is that your router now has 2 WAN IP addresses.
Most ADSL routers won't let you connect 2 concurrent ADSL connections on the same ATM circuit.
The solution is to use a separate modem and router.
IP1 is used for local traffic, and IP2 for international.
So if somebody in ZA tries to connect to IP2, the reply (local destination) will go out of Interface 1.
The idea is that you get a local only account like this, which costs a fraction per Gi B compared to normal account.