Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Use Terminal Route Add Commands
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dave_sky" data-source="post: 1323271"><p>Have anyone successfully used tried to route traffic to multiple interfaces? For example, routing all internet traffic to the wireless connection, while routing only 10.0.0.0/8 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:</p><p></p><p>Routing tables</p><p></p><p>Internet:</p><p>Destination Gateway Flags Refs Use Netif Expire</p><p>default 192.168.40.250 UGScI 6 0 en1</p><p>10.1.3/24 link#7 UCS 2 0 en0</p><p>10.1.3.24 127.0.0.1 UHS 1 0 lo0</p><p>10.1.3.101 0:1e:13:75:1f:e9 UHLWIi 0 3 en0 1164</p><p>10.1.3.255 ff:ff:ff:ff:ff:ff UHLWbI 0 4 en0</p><p>127 127.0.0.1 UCS 0 0 lo0</p><p>127.0.0.1 127.0.0.1 UH 3 17445 lo0</p><p>169.254 link#7 UCS 0 0 en0</p><p>192.168.40 link#4 UCS 5 0 en1</p><p>192.168.40.157 127.0.0.1 UHS 0 0 lo0</p><p>192.168.40.250 0:1e:13:75:1f<img src="/images/smilies/angel.gif" class="smilie" loading="lazy" alt=":a" title="Angel :a" data-shortname=":a" />5 UHLWIi 4 8 en1 981</p><p>192.168.40.255 ff:ff:ff:ff:ff:ff UHLWbI 0 4 en1</p><p>192.168.47 link#9 UC 2 0 vmnet1</p><p>192.168.47.255 ff:ff:ff:ff:ff:ff UHLWbI 0 4 vmnet1</p><p>192.168.120 link#10 UC 3 0 vmnet8</p><p>192.168.120.128 0:c:29:3b:ee:f1 UHLWIi 2 26 vmnet8 1177</p><p>192.168.120.255 ff:ff:ff:ff:ff:ff UHLWbI 0 5 vmnet8</p><p></p><p>I can ping the various gateways but cannot route traffic to internet through 192.168.40.250, for example. If I disconnect the Ethernet connection, the traffic is then re-routed. Any thoughts?</p></blockquote><p></p>
[QUOTE="dave_sky, post: 1323271"] Have anyone successfully used tried to route traffic to multiple interfaces? For example, routing all internet traffic to the wireless connection, while routing only 10.0.0.0/8 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 Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.40.250 UGScI 6 0 en1 10.1.3/24 link#7 UCS 2 0 en0 10.1.3.24 127.0.0.1 UHS 1 0 lo0 10.1.3.101 0:1e:13:75:1f:e9 UHLWIi 0 3 en0 1164 10.1.3.255 ff:ff:ff:ff:ff:ff UHLWbI 0 4 en0 127 127.0.0.1 UCS 0 0 lo0 127.0.0.1 127.0.0.1 UH 3 17445 lo0 169.254 link#7 UCS 0 0 en0 192.168.40 link#4 UCS 5 0 en1 192.168.40.157 127.0.0.1 UHS 0 0 lo0 192.168.40.250 0:1e:13:75:1f:a5 UHLWIi 4 8 en1 981 192.168.40.255 ff:ff:ff:ff:ff:ff UHLWbI 0 4 en1 192.168.47 link#9 UC 2 0 vmnet1 192.168.47.255 ff:ff:ff:ff:ff:ff UHLWbI 0 4 vmnet1 192.168.120 link#10 UC 3 0 vmnet8 192.168.120.128 0:c:29:3b:ee:f1 UHLWIi 2 26 vmnet8 1177 192.168.120.255 ff:ff:ff:ff:ff:ff UHLWbI 0 5 vmnet8 I can ping the various gateways but cannot route traffic to internet through 192.168.40.250, for example. If I disconnect the Ethernet connection, the traffic is then re-routed. Any thoughts? [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Use Terminal Route Add Commands
Top