Set applications to use specific networks

i am setting up my networking on a mac pro4,1 (intel) and i have attached too two separate ethernet networks, both are working fine. one is my work server (thru switch to t3) and the other is an inhouse dsl. i want to route traffic from specific applications to specific networks: (i.e. 'firefox' to inhouse and 'entourage' to work server). i have set up the networking with different 'location' configurations so i can change which i use but i want it to work on the fly. how is this done?

You can't (normally) get there from here.
What you're trying to do is affect the routing (route certain traffic through a specific interface). The issue is that routing works at the IP level, not the application level. This means that you can tell the system to route a.b.c.d (e.g. the address of the IM server you're connecting to) through a speciic router at w.x.y.z (e.g. the AirPort).
In order to do this, though, you need to have different IP address/subnet masks on each interface.
For example, assuming your wired ethernet is using 192.168.1.2/255.255.255.0 and your wired ethernet router is at 192.168.1.1, and your AirPort interface is using 10.1.1.2 with the AirPort router at 10.1.1.1 you can run the command:
<pre class=command>sudo route add a.b.c.d 10.1.1.1</pre>
and all traffic for a.b.c.d will go over the AirPort link.
Note that it doesn't matter what protocol you use - any traffic destined for a.b.c.d, whether it's AIM, HTTP, FTP or anything else - or what application you use - Adium, Safari, FireFox, etc. - they'll all use the AirPort link.
Note that this technique will NOT work if you have both interfaces on the machine configured in the same subnet, but this is not a supported configuration, so you shouldn't be doing that anyway.

Similar Messages

  • Setting applications to use specific network interfaces

    How do I configure my computer such that specific applications will default to a different network interface than all the rest?
    I want to set it up so that Adium always tries to use AirPort first and everything else uses ethernet if it's available.
    Powerbook G4 1.5 Ghz   Mac OS X (10.4.8)   1GB RAM

    You can't (normally) get there from here.
    What you're trying to do is affect the routing (route certain traffic through a specific interface). The issue is that routing works at the IP level, not the application level. This means that you can tell the system to route a.b.c.d (e.g. the address of the IM server you're connecting to) through a speciic router at w.x.y.z (e.g. the AirPort).
    In order to do this, though, you need to have different IP address/subnet masks on each interface.
    For example, assuming your wired ethernet is using 192.168.1.2/255.255.255.0 and your wired ethernet router is at 192.168.1.1, and your AirPort interface is using 10.1.1.2 with the AirPort router at 10.1.1.1 you can run the command:
    <pre class=command>sudo route add a.b.c.d 10.1.1.1</pre>
    and all traffic for a.b.c.d will go over the AirPort link.
    Note that it doesn't matter what protocol you use - any traffic destined for a.b.c.d, whether it's AIM, HTTP, FTP or anything else - or what application you use - Adium, Safari, FireFox, etc. - they'll all use the AirPort link.
    Note that this technique will NOT work if you have both interfaces on the machine configured in the same subnet, but this is not a supported configuration, so you shouldn't be doing that anyway.

  • What setting do I use to Network Mac 10.4.6 to PC Windows XP with Router

    I am trying to hook up a Mac G4
    with OS 10.4.6 and a PC with Windows XP through a Linksys Network
    Everywhere DSL Router. The router would see the PC but not the Mac. Could
    not connect to the internet with the PC through the router. Both
    computers connect to the internet when they are individually hooked
    to the DSL modem. On the Mac in System Preferences>Sharing>Services, Firewall and Inernet, should any boxes be checked? Is this the problem. I have the IP and DNS numbers for both computers.
    Thanks for any help.
    Sherry (who is new at this)

    If this is not a wireless network, this may all be rubbish!
    To which computer is the Linksys ADSL cable attached? If it is the PC, than the"Internet sharing" is done on the PC, so the Apple needs to log on to an existing connection. The Linksys will probably need to be told the Mac address of the Apple so that it gives the Apple permission to log on (Airport address - same thing). The Apple will need to have the Password to log on to the network- you should have set up a WEP password when setting up the router. They also need to be on the same Network i.e. both on WORKGROUP, or whatever. You need to set your FIREWALL to allow Internet, file and printer sharing. (The XP built in firewall doesn't seem have this option).
    You should see your Apple on the network, you log on to it by double clicking the icon, typing your Mac "Short name" into the "User name" slot, and your Apple's password into.... wait for it..... the PASSWORD slot
    On the Apple, from Finder>go>network this should bring up a panel with a folder with your network name on it, clicking on this folder should bring up the name of your computer, clicking on this should then invite you to open folders on your PC (Assuming you've set up a shared folder(s)).
    If your printer is plugged into your PC..... Have fun!
    Hope this helped - I'm sure that this is the sequence I used to, eventually, get mine talking. But different routers (Mine's Netgear) and different Firewalls may have different rules, but the principle will be pretty similar.

  • Force application to use one network interface

    I want one application's traffic to go though one interface (ppp0), but everything else using the regular eth0.
    The app connects to many IPs, and recieves connections from many others, so I cannot route by IP.
    At the moment I use ppp0 as the default route and everything goes through there.
    Is there no way to force the app into using ppp0, then I could set the default back to eth0.  Does there exist a wrapper, etc. to do this?  It seems like a simple scenario which is easily doable from a theory POV.
    Thanks

    You may be able to tweak this script I wrote to do what you're after:
    http://github.com/fukawi2/pb-route

  • Many of the times my Iphone 3G 16GB shows "No Service" in the specific network area, but if the same sim card is used with other mobile handset in the same network area its shows full network, Is this a Iphone 3G Handset problem or is network

    Many of the times my Iphone 3G 16GB shows "No Service" in the specific network area, but if the same sim card is used with other mobile handset in the same network area its shows full network, Is this a Iphone 3G Handset problem or is it a problem with network service provider for iphone in india with Airtel.

    Try to reset Network setting thru (Setting/General/Reset/Reset Network Setting - after clicking on it the phone will ask to reboot)
    According to my R&D I have experienced that one must reset the network each time when we r at home or in office or other places, the phone after resetting the network setting acquires the area specific network setting n works well, try it & if any other solution do let me known
    Calling up customer care did not help me, they do keep us in a loop with the same old answeres that “Our technical team is working on it & WILL GET BACK TO u” leaving us with no solution at the end
    Try what I suggest think to will help u

  • How can I used local network outside the US

    How can I set up to use local networks of other countries?

    make sure you have the 3G/4G modle if your talking about that, and to use it with a specific carrier you will also need the sim card from that carrier, and you have to restore the device with the sim card from that carrirer in the device, dont forget to back up and tranasfer purchases as well

  • Apex 4.2 forms conversion error when set application defaults

    when use migration forms conversion and i want to set application defaults return the next error
    Unable to seed values ORA-06550: line 15, column 82: PL/SQL: ORA-00918: column ambiguously defined ORA-06550: line 9, column 3: PL/SQL: SQL Statement ignored
    ORA-06550: line 15, column 82: PL/SQL: ORA-00918: column ambiguously defined ORA-06550: line 9, column 3: PL/SQL: SQL Statement ignored

    Hi Daniel,
    This issue has already been identified, tracked with bug number *14683491*, and has been resolved in development. The fix will be available in our next release. In the meantime, you can still set Application Defaults using the option available in Application Builder. Navigate to Application Builder, and select the Application Builder Defaults option in the Tasks region to the right of the page, pg 4000:1500.
    Regards,
    Hilary

  • Setting the shared templates location by Deploying Office 365 Midsized Business "using a network share" from a on-premise location

    I found the question "Deploy Office 365 pro plus using a network share or from a on-premise locaiton" the most useful of the resources
    on MS yet - but I am having difficulties getting the files to download for a local deployment.
    The root of the issue, that I cannot find anywhere, is how do I set the shared templates location for users in the organization.  First I thought a GPO, but I cannot find that setting in the GPO in MS.
    Then I thought modifying the REG- but it is in a binary key which could include other information I may not want modified(Or does it matter?)
    Then I looked for ways to download the deployment but launching from an elevated prompt as IT (Domain level) returns a useless error to paraphrase- 'sorry MSOffice didn't install- do you have enough disk space'.
    I have downloaded the GPO objects, but not installed them, likely I will need those later though.
    Just want to path all the users to a central repository of office/excel/access/outlook templates in addition to their local templates. Concise help in steps or sites that have solved the issue are Greatly appreciated : )

    Hi,
    you can use the GPO ADMX templates to configure the "Workgroup templates path".
    This actually configures a registry setting named: "sharedtemplates".
    The registry value/type/data is:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\15.0\common\general
    Name: sharedtemplates
    Type: REG_EXPAND_SZ (Expandable String Value)
    Data: <UNC path to folder>
    From the GPO reference workbook/sheet, for Office:
    http://social.technet.microsoft.com/wiki/contents/articles/4976.selected-content-relating-to-group-policy-administrative-templates-adm-and-admx.aspx
    Filename: office15.admx 
    Scope: User 
    Path: Microsoft Office 2013\Shared paths 
    Policy Setting Name: Workgroup templates path 
    Supported on: At least Windows Server 2008 R2 or Windows 7 
    Category: Shared paths 
    Explain Text: Specifies the location of workgroup templates. 
    Registry Key: HKCU\software\policies\microsoft\office\15.0\common\general!sharedtemplates
    Note: it is supported to populate this setting, with a UNC path, but not with a web path.
    e.g.: \\server01\shared\templates <this is valid>
    e.g.: http://server01/shared/templates <this is not valid>
    This constraint (for web URIs) can be difficult to work around. If you are using SharePoint, and think WebDAV might work, it doesn't seem to work for us :(
    Of course, if you have SharePoint, there are much better ways to handle document templates, but, our users are familiar with this File -> New -> from template type of method...
    It can also be set manually by a user:
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Using manual IP address only for specific networks

    For my home network I use DHCP with manual address because I have to forward some ports specifically to my computer. However this causes problems when connecting to other networks. For some reason this setting stays active even when using other networks. Therefore, I can't connect to say my school network because the setting has to be set to plain DHCP. Is there a way to use manual IP address only for specific networks?

    System Preferences > Network > Locations and add a location for your home with its manual settings. Add a location for other DHCP locations. Then when you want to connect at another DHCP location select that location from your locations dropdown.

  • Go Online on specific network using command line

    i have a remote troubleshooting software that i wrote myself i have added to it the list of all my clients which can have one of the below:public ipsteamviewer accountslogmein hamachiof course, i'm a paid hamachi client, and i have the latest hamachi version installed whenever i want to troubleshoot any client, i just right click on their name, and select remote desktop.. and the my software will automatically connect to the client using the required authentication/application. when the client has hamachi,his network has to be online, for me to be able to access his ip. so what i'm currently doing is: open hamachi, scroll to my client's network, right click, go online, and then back to my software and troubleshoot! (this is a bit time consuming compared to the other solutions) is there any way, i can go online on a specific network in my local hamachi installation? it would be really a great feature, if we can use a command line script, or use command line arguments to launch special events (locally)example:hamachi.exe /online:mynetworkidhamachi.exe /offline:mynetworkid i appreciate any feedback on this, regards,Dan

    Yes, It would be very interesting to have such a feature.E.g., I need to programmatically request Hamachi to GoOnline, because it often goes offline in some circumstances (after computer wakes from sleep mode for example).

  • Saposcol "not set to [Maximize Throughput for Network Application]" W2008

    Hi experts, I have sent a customer message to SAP asking "saposcol
    show not set to [Maximize Throughput for Network Application" in
    Windows 2008. But the answer is really strange. Is he correct?
    ========
    26.06.2009 - 09:28:37 CET -  by SAP     
    Dear Customer,
    Installation guides clearly specify that configuring this memory
    management option is not required for systems in Windows 2008.
    Also, if you check note 65761, you will see that the note was last
    modified on 20.04.2007, and the current version of sapntchk was not
    modified since then (version 5.0.0.13). This obviously means that
    sapntchk checks the memory management settings of your system as if
    your operating system was a Windows 2000 or 2003, as Windows 2008
    still did not exist.
    Taking into account both considerations, you can disregard this message
    raised by sapntchk and keep calm at the same time.
    Right away, I send you back this message so you can close it at your
    earliest convenience.
    Best Regards,
    <name removed>

    Hello Dennis,
    Here is the way to find if the Maximize Throughput is enabled or not on windows 2008.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\size
    Your choices for this registry key are 1,2 and 3.
    1 = Minimize Memory Used
    2 = Balance
    3 = Maximize Throughput for File Sharing and Maximize Throughput for Network Applications
    Be sure to set this to (3). By default it is configured to 1.
    Best Regards
    Kiran Kumar

  • How can I set up a wi-fi network, using one time capsule and two airport express

    how can I set up a wi-fi network, using one time capsule and two airport express ?
    The time capsule is near the Mac. ok
    The first Airport is on the corridor, ok, works well and the App on the iPad signals so, ok
    But when I plug the next Airport on another room nearby nothing happens, and signals disconected ....
    is the signal so weak that is not able to go to ono room to the other ?

    Well, even if you have the first express set up to extend the network, the second express can only extend from the TimeCapsule.
    Maybe you got walls of sheetrook in the way, or kitchen/bathroom tiles, etc, dampening the signal rapidly.

  • Setting up a small business network using mac and windows pcs

    Setting up a small business network using mac and windows??

    Ok that sounds great. What is your actual question as it relates to AirPort networking? Is it: Can I set up a wired/wireless network with an AirPort base station that support multiple Mac & PC clients? If so the answer is yes.
    If, instead, it is how to I configure an AirPort network to support a small business you will have to provide more details on both your networking & computing equipment in order for any of us to help you.

  • I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    Update on my problem connecting in Itunes with my Airport Express. Not sure if anything I tried made a difference
    but I finally got the Pop up window saying this device requires a Password. I entered the password and I can once again use the Airport Express as a remote speaker.

  • To use a router to set up a local wifi network. Would this system be suitable to use with an Apple TV or is internet access require

    I'm considering using Apple TV to connect to a projector in a church hall which does not have any internet access. I intend to use a router to set up a local wifi network. Would this system be suitable to use with an Apple TV or is internet access require

    Welcome to the Apple Community.
    Yes, that will be fine providing you don't want to play any protected content.

Maybe you are looking for