"Bind" applications to a specific network interface?

Discussion in 'Mac OS X Server, Xserve, and Networking' started by nurfen, Jul 28, 2010.

  1. macrumors member

    Jan 21, 2007
    I'm currently using dual ethernet connections (one of them a USB Ethernet adapter) on my Mac Mini, which I've chosen to forward different ports to, so one handles FTP, the other one handles the web server, etc.

    Now I'm wondering if it's possible in OS X (10.5.8, unfortunately it's a G4) to "bind" a specific application to one of the network interfaces, so that it only utilizes that one?
  2. macrumors 601

    Aug 15, 2005
    For daemons, such as httpd, you can bind them to specific addresses. In Apache, you can use the Listen directive.

    Of course, it's not really going to hurt anything to listen on all interfaces if DNS is setup properly so all requests go to a particular interface.
  3. macrumors 68040


    Mar 4, 2005
    .. London ..
    That's interesting. I suppose if you had 4 usb ports and a USB-ethernet convertor for every one, you could have 5 ethernet connections.

    If you had 4 USB-ethernet convertors all connected to a USB hub connected to a single USB port, would that also work? (and if it was 4 x 100mb ethernet, they'd probably run at usual 100BT speeds if fed by something like a SSD anyway) Not quite sure how the interfacing software would deal with that though.
  4. macrumors G3


    Aug 20, 2003
    sitting on your shoulder
    I'd figure they'd be limited to the bus speed of the host you have it plugged into.

Share This Page