Use Terminal Route Add Commands



Have anyone successfully used tried to route traffic to multiple interfaces? For example, routing all internet traffic to the wireless connection, while routing only traffic to the Ethernet. I doesn't appear to work the way it should. Here is what the netstat -nr command shows after using route add command to add the various routes:

Routing tables

Destination Gateway Flags Refs Use Netif Expire
default UGScI 6 0 en1
10.1.3/24 link#7 UCS 2 0 en0 UHS 1 0 lo0 0:1e:13:75:1f:e9 UHLWIi 0 3 en0 1164 ff:ff:ff:ff:ff:ff UHLWbI 0 4 en0
127 UCS 0 0 lo0 UH 3 17445 lo0
169.254 link#7 UCS 0 0 en0
192.168.40 link#4 UCS 5 0 en1 UHS 0 0 lo0 0:1e:13:75:1f:a5 UHLWIi 4 8 en1 981 ff:ff:ff:ff:ff:ff UHLWbI 0 4 en1
192.168.47 link#9 UC 2 0 vmnet1 ff:ff:ff:ff:ff:ff UHLWbI 0 4 vmnet1
192.168.120 link#10 UC 3 0 vmnet8 0:c:29:3b:ee:f1 UHLWIi 2 26 vmnet8 1177 ff:ff:ff:ff:ff:ff UHLWbI 0 5 vmnet8

I can ping the various gateways but cannot route traffic to internet through, for example. If I disconnect the Ethernet connection, the traffic is then re-routed. Any thoughts?
May 22, 2005
Reaction score
Closer than you think.
Your Mac's Specs
Performa 6116 2GBSCSI 8MB OS 7.5.3
Whatever interface is at the top of the list in Sys Prefs is the gateway that is used.

As for modifying the routes I have not tried.

Please repost if you make headway as I would be interested.

Shop Amazon

Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.