Using a specific network interface

Hello, I would like to know how I can force Mac OS X to use a specific network interface while connecting to my mac mini (from the iMac):
I'm connected to the internet (I mean the local network) using the airport, and I connected my iMac with the mac mini using an ethernet cable (because I want to transfer files faster, and I don't want to reboot my mini in target disk mode), but when I connect to the mini (using the "share" feature) it seems to use the airport connection. Of course I could disable the airport interface to force it to use the ethernet one (and it works) but I don't want to...
So, how can I force a specific interface? I don't mind using a command line command to mount it initially btw.
Thanks

Hello, 
Try using a different IP address range to put each interface in a different subnet. For example use 10.0.0.x and 255.255.255.0 for the Ethernet connection and 192.18.2.x and 255.255.255.0 for the Airport.
mrtotes

Similar Messages

  • How to tell Transmission to use a specific network interface?

    I don't see any option for it in the Preferences. Does anybody know?
    Thank you.

    Take a look in .config/transmission-daemon/settings.json. There are bind-address options to play with.

  • 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.

  • Howto bind multicast listener to a specific network interface (NIC)?

    All of our cluster machines have 2 network interfaces. One of the requirements is that all cluster-related traffic has to use a specific interface, leaving the other open for all non-clustering network traffic.
    Thus, I've to bind the Coherence multicast listener to a specific interface.
    Unfortunately I did not find a setting for this in the Coherence configuration XML file.
    Is it possible to bind the multicast listener to a specific NIC, if yes, how can it be done?
    Thanks a lot!
    Best regards,
    Wolf

    Hi Wolf,
    it can be specified as part of the unicast-listener configuration within the operational configuration:
    http://coherence.oracle.com/display/COH34UG/unicast-listener
    You need to specify the address and the port elements.
    Alternatively, you can specify values for this as a Java property:
    -Dtangosol.coherence.localhost=nicaddress -Dtangosol.coherence.localport=unicastportwhere nicaddress is the ip address of the network card going to the network you would like to direct Coherence traffic to. Unicast port is the udp port on which Coherence will listen. By default it is 8088 (or automatically incremente in case the port is already bound).
    If your kernel is configured to use both ipv6 and ipv4 and you specified the ipv4 address of the network card then you might also need to specify:
    -Djava.net.preferIPv4Stack=trueThe multicast listener and publisher will send and receive on the interface used by the unicast listener.
    Best regards,
    Robert

  • Assigning certain applications to specific network interfaces

    I connect to a wired and wireless network. Each have different uses.
    I'd like to assign the web browsing and some other tasks to the wireless and the filesharing and NAS to the wired network.
    Is there a way to assign this? or is it one or the other?

    Just so we understand your setup:
    You have two networks that you're connecting to, at
    the same time?
    Two routers/BaseStations?
    Your airport card gets an IP like 10.0.1.x
    Your ethernet gets an IP like...192.168.0.x
    Something like that.

  • Mount filesystems (NFS & SSHFS) on specific network comming up

    Hi,
    I'd like to mount some NFS and SSHFS shares when a specific network/interface has a connection. How can I do this?
    Thanks for your help in advance.

    The problem was how the exports were configured from the Synology box. I tried to specify access for my whole subnet using 192.168.1.* as the host specification. A more thorough reading of the /etc/exports man page statement on wildcards notes the following: "Wildcards should not be used with IP addresses; however, it is possible for them to work accidentally if reverse DNS lookups fail." In my case, my servers had DNS (and therefore presumable revers DNS) entries, and therefore mounts failed. My clients (largely laptops) get a DHCP address from my router, and don't have DNS entries in my domain. Therefore, the mounts "worked accidentally" from my clients, and not from my servers.
    I'm now adding "works accidentally" to my lexicon of strange & wonderous software development feature terms, along with "bug-like feature". Now that I've calmed down enough from the lost week of spare time, I should be able to submit an RFE to Synology without using any profanity. Had I entered the offending wildcards by hand-editing the exports, I'd hold myself entirely responsible. Since I did this with the Synology UI, it seems reasonable to expect that I'd at least see a warning that my host spec was potentially not going to achieve the intended results.

  • Dual network interface when joining multicast group

    Hello,
    I've have a machine with two networks interfaces, eth0 and eth1. The route table is configured to send all the multicast traffic through eth1.
    This is
    route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1
    I have the following code that joins to a multicast address to listen incoming messages in my Java application
    InetAddress group = InetAddress.getByName(multiCastAddress);
    socket = new MulticastSocket(Integer.parseInt(multiCastPort));
    socket.joinGroup(group);
    The result is that the application can not see the multicast traffic since the joinGroup operation is always done on eth0, guess because JVM selects the first one available.
    If I change the route entry to use eth0 for all the multicast traffic, the same code works perfectly, and from my Java application I can see the multicast traffic.
    This is
    route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
    Is there any way to force to join a specific network interface?
    Thanks

    The answer is staring you in the face in the Javadoc:
    http://java.sun.com/j2se/1.5.0/docs/api/java/net/MulticastSocket.html#joinGroup(java.net.SocketAddress,%20java.net.NetworkInterface)
    That bug report only concerns setNetworkInterface(), which the OP isn't using, on Linux and IPv6, and it's dated 2002.

  • Network Interface selection

    Hello,
    I'd like to use specific network interfaces for different applications. For example using always wi-fi for skype, only one browser on a specified VPN and so on...
    I thought to do it using ipfw, but it seems it is not possible to set rules on the base of process ID.
    Is there any tool allowing to do such a thing? Any other suggestion would be well accepted!
    Thanks in advance

    I am not aware of any tool that can accomplish exactly what you ask. The command line tool "route" can setup protocol-based routes. You could have skype go to one interface and http go through another. But I don't know of any way to make it application-specific.

  • ACS 5.4 multiple network interfaces support

    In ACS 5.4 release note, it says:
    Multiple network interface connector support
    ACS  5.4 supports up to four network interfaces: Ethernet 0, Ethernet 1,  Ethernet 2, and Ethernet 3. ACS management functions use only the  Ethernet 0 interface, but AAA protocols use all configured network  interfaces. You must connect the ACS nodes in the distributed deployment  only to the Ethernet 0 interface. Therefore, the syslog messages are  sent and received at the log collector's Ethernet 0 interface. Data  forwarding from one interface to another interface is prohibited to  prevent potential security issues. The external identity stores are  supported only on the Ethernet 0 interface. In ACS 5.4, multiple network  interface connectors are also supported for proxies.
    But in the CSACS 1121 Series Appliance Rear View section, it still says on Ethernet 0 is usable. All other  interfaces are blocked.
    I am confused. Can anyone clarify for me if we can use multiple network interface in ACS 5.4? What about management interface?
    Thanks!

    We configured 2 interfaces in past within testing enviornment and it worked. ACS 5.4 supports multiple network interfaces on the UCS platform, on a virtual machine and on the legacy ACS 5.x IBM/CAM hardware. The ACS management functions use the interface eth0 only and the AAA protocols use all available network interfaces.
    Jatin Katyal
    - Do rate helpful posts -

  • 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.

  • Many of the times my Iphone 5s shows "No Service" in the specific network area, but if the same sim card is used with other mobiles in the same network area, it shows good network.. i did restore but still not working.. please help me..

    My Iphone 5s shows "No Service" in the specific network area, but if the same sim card is used with other mobiles in the same network area, it shows good network.. i did restore,change sim card, reset all the settings but still not working... please help me..

    Please do not double post a subject. Iphone 5S  I answered your other thread.

  • I have been using USB 2.1 10/100M ethernet adaptor. But it takes more than 15 mins to detect network interface. What should I do. I am not using apple's company adaptor. It's local company.

    I have been using USB 2.1 10/100M ethernet adaptor. But it takes more than 15 mins to detect network interface. What should I do. I am not using apple's company adaptor. It's local company.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • 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.

  • How to determine network interface that will be used to send a packet

    Hello,
    I'm writing to you because I encountered the following problem. My program displayes all network interfaces that are available in the system, but I would like to add a functionality in which a user can enter a destination address IP (ex. the IP address of the Google search engine) and will get information which network interface will be used to send it. As I know it is associated with reading information from routing table in the system. Maybe you know the API (functions/methods) which I could use to do it in Solaris ? I program in C/C++, but if you know how to do it in other programming languages (Java, Perl, Python) I will be grateful for any information.
    Thank you for any help, tips and suggestions.
    Best regards,
    Foxrafi

    Thank you for your response it was very helpful :).
    I went to the OpenSolaris webpage because I would like to find the code of this command, but unfortunately I don't know where I should start my searches.
    There is a page with source code of basic commands, but there is no "route" command: here .
    Maybe you are better enlightened where I should start.
    Thank you for answer.
    Foxrafi

  • ODI: Identify every interface that used a specific datastore

    Hi all,
    I work for a big company, where we have lots of ODI projects going on... I need to identify every interface that used a specific datastore..... do you guys now a easy way to do this? I am using ODI 10 and its search does not provide this king of information.
    Thanks

    On the Designer tab, under Models  section, you should  be able to expand each Datastore you have, and see it's properties. One of those properties  is Uses section, where you can see where is it used  as source or a target.

Maybe you are looking for