Please visit the new Mac-Forums Facebook page:
https://www.facebook.com/macforums1




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 192.168.1.1, with internet access.
    Ethernet is set DHCP with subnet 192.168.2.1, 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?

    Thanks!

  2. #2
    using two different subnets on a single machine
    Lee_Bo's Avatar
    Member Since
    Apr 20, 2019
    Location
    Upstate SC
    Posts
    10
    Your Mac's Specs
    iMac, Mac Mini, MacBook Pro, bunch of iOS devices.
    Rep Power
    1
    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
    Location
    MA
    Posts
    12,027
    Rep Power
    23
    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.
    --
    Regards
    ...Ashwin


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
  •