Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: More expansive split routing in Tiger Network
Tiger only hintAs some readers of Mac OS X Hints have noticed, Apple has removed the set-hostname file (in /System: Library: SystemConfiguration: Kicker.bundle: Contents: Resources) necessary for modifying the routing table when connecting to a VPN.

Instead of using this file as a hook for implementing split routing (as per a previous hint), Tiger has built-in support for split routing, as described in this recent hint.

If you still need to modify your routing tables after VPN connections are established, you can do so by creating the file /etc/ppp/ip-up (with executable permissions), and entering something similar to the following inside:
#!/bin/sh

/sbin/route add xx.yy.zz/24 aa.bb.cc.dd
Replace xx.yy.zz/24 with your destination network and aa.bb.cc.dd with your VPN gateway. Note that you might be able to re-use the fix_vpn_routing.sh script from the equivalent hint for Panther.
    •    
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[9,884 views]  

10.4: More expansive split routing in Tiger | 2 comments | Create New Account
Click here to return to the '10.4: More expansive split routing in Tiger' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: More expansive split routing in Tiger
Authored by: dfbills on May 18, '05 11:42:30AM

I'm trying to setup split routing in my office. I'd like all traffic to go over my airport interface to the internet except for local office traffic on the 10.0.1.x subnet. This traffic needs to go over my gigabit ethernet interface.

Is this the appropriate command?

sudo route add 10.0.1/24 10.0.1.1

---
-d



[ Reply to This | # ]
10.4: More expansive split routing in Tiger
Authored by: dfbills on May 18, '05 11:43:58AM

Actually all 10.x.x.x traffic needs to be routed.

---
-d



[ Reply to This | # ]