On Unix machines, ifconfig is the command used to get information about, and set network interfaces. I have created the start of an ifconfig for Tcl, available from here: http://www.dedasys.com/freesoftware/ (Look for the Tcl section).