Autodetect default network interface
------------------------------------

                 Key: TS-355
                 URL: https://issues.apache.org/jira/browse/TS-355
             Project: Traffic Server
          Issue Type: New Feature
          Components: Build
            Reporter: Mladen Turk
            Assignee: Mladen Turk
            Priority: Minor


Currently we instruct the user to specify the cluster interface as part of 
build procedure (see INSTALL)
We can detect the interface automatically on some platforms
Linux
/sbin/ifconfig -a | grep ^e.* | head -1 | awk '{print $1;}'
Solaris, FreeBsd (probably OSX)
/sbin/ifconfig -a | grep -v LOOPBACK | grep UP | head -1 | awk -F: '{print $1;}'

Additional configure option (--with-cluster-interface=IFACE) can be added to 
explicitly
specify some other interface.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to