Please visit the new Mac-Forums Facebook page:

Results 1 to 3 of 3
  1. #1
    using two different subnets on a single machine
    Hi Folks,
    I have a MBP that I use WiFi for internet and Ethernet for connection to a rack of IoT type test equipment. Sometimes what I am trying to do works, by accident I think.

    WiFi is set as DHCP with subnet, with internet access.
    Ethernet is set DHCP with subnet, without internet access.

    they are isolated so the device in the 1 group don't have issues with devices in the 2 group, and vice versa.
    Also because I have external users access devices on the 2 subnet (VPN) and 1 is my own private network.

    Is there a way to have both operate flawlessly by forcing apps to use specific connections?


  2. #2
    using two different subnets on a single machine
    Lee_Bo's Avatar
    Member Since
    Apr 20, 2019
    Upstate SC
    Your Mac's Specs
    iMac, Mac Mini, MacBook Pro, bunch of iOS devices.
    Rep Power
    I'm not sure you can force apps to use specific network connections. Even on the Windows side, I don't think that is possible.

  3. #3
    using two different subnets on a single machine
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Rep Power
    The way you "force" an app to use one interface over the other is by choosing to access a resource available on that interface only. However, with dual subnets the thing that will usually cause you grief is the default gateway. Each of your subnets also has a gateway of its own. But the default gateway is where things go if it can't be directly routed.

    I would suggest that your default gateway be the Internet facing IP address and interface so that your DNS stuff works like it should.

    For your internal (2.x) interface, I would suggest you direct requests using specific IP addresses. You can create entires in the /etc/hosts file to give those devices nice names so you don't have to remember IP addresses. This will prevent traffic from going down the default gateway (Internet facing) interface.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CCC to more than a single ext HDD?
    By Jonzjob in forum Running Windows (or anything else) on your Mac
    Replies: 10
    Last Post: 12-26-2014, 04:57 AM
  2. Single backup on Time Machine
    By theseus75 in forum macOS - Apps and Games
    Replies: 3
    Last Post: 04-30-2010, 06:38 PM
  3. multiple subnets and AEX ?
    By nikwax in forum Internet, Networking, and Wireless
    Replies: 0
    Last Post: 12-17-2009, 10:51 PM
  4. Time Machine - Single Folder Backup
    By CircularSaw in forum macOS - Operating System
    Replies: 4
    Last Post: 02-24-2009, 05:37 AM
  5. Sharing a website on my school network: available to all subnets?
    By webbosoft in forum macOS - Operating System
    Replies: 1
    Last Post: 09-15-2006, 02:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts