Normally, ifconfig can only be executed by root. You will find it is in the path if you try "sudo ifconfig" from a terminal or execute it as root.
~$ ifconfig -h
bash: ifconfig: command not found
~$ sudo ifconfig -h
[sudo] password for jdkaye:
ifconfig [-a] [-v] [-s] <interface> [[<AF>] <address>]