ipconfig command for Mac

Hi, i am used to entering the ipconfig command on Windows command prompt to get all the network information. I tried this command on the OS X terminal and it won't work. Can anyone tell me why this is not working or if i am doing anything wrong. When i type "ipconfig into the terminal, i get this:


usage: ipconfig <command> <args>

where <command> is one of waitall, getifaddr, ifcount, getoption, getpacket, getv6packet, set, setverbose


I don't have any idea of what to do. Is this what is supposed to happen because i am reading tutorials on the internet that tell me to do ipconfig to see information. I dont want to get information from System Preferences, I want to get it in the terminal like on Windows (if that is even possible).


Thanks for any help.


Michael

Posted on Jul 25, 2015 10:59 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 25, 2015 6:16 PM

OS X also has the standard Unix 'ifconfig' command


> ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384

options=3<RXCSUM,TXCSUM>

inet6 ::1 prefixlen 128

inet 127.0.0.1 netmask 0xff000000

inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1

nd6 options=1<PERFORMNUD>

gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280

stf0: flags=0<> mtu 1280

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>

ether nn:nn:nn:nn:nn:nn

nd6 options=1<PERFORMNUD>

media: autoselect (none)

status: inactive

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

ether nn:nn:nn:nn:nn:nn

inet6 nnnn::nnnn:nnnn:nnnn:nnnn%en1 prefixlen 64 scopeid 0x5

inet 172.16.1.61 netmask 0xffffff00 broadcast 172.16.1.255

nd6 options=1<PERFORMNUD>

media: autoselect

status: active

fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078

lladdr nn:nn:nn:nn:nn:nn:nn:nn

nd6 options=1<PERFORMNUD>

media: autoselect <full-duplex>

status: inactive

en2: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=60<TSO4,TSO6>

ether nn:nn:nn:nn:nn:nn

nd6 options=1<PERFORMNUD>

media: autoselect <full-duplex>

status: inactive

bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=63<RXCSUM,TXCSUM,TSO4,TSO6>

ether nn:nn:nn:nn:nn:nn

Configuration:

id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0

maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200

root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0

ipfilter disabled flags 0x2

nd6 options=1<PERFORMNUD>

media: <unknown type>

status: inactive

p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304

ether nn:nn:nn:nn:nn:nn

media: autoselect

status: inactive

2 replies
Question marked as Top-ranking reply

Jul 25, 2015 6:16 PM in response to michaelsmithcomputers

OS X also has the standard Unix 'ifconfig' command


> ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384

options=3<RXCSUM,TXCSUM>

inet6 ::1 prefixlen 128

inet 127.0.0.1 netmask 0xff000000

inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1

nd6 options=1<PERFORMNUD>

gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280

stf0: flags=0<> mtu 1280

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>

ether nn:nn:nn:nn:nn:nn

nd6 options=1<PERFORMNUD>

media: autoselect (none)

status: inactive

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

ether nn:nn:nn:nn:nn:nn

inet6 nnnn::nnnn:nnnn:nnnn:nnnn%en1 prefixlen 64 scopeid 0x5

inet 172.16.1.61 netmask 0xffffff00 broadcast 172.16.1.255

nd6 options=1<PERFORMNUD>

media: autoselect

status: active

fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078

lladdr nn:nn:nn:nn:nn:nn:nn:nn

nd6 options=1<PERFORMNUD>

media: autoselect <full-duplex>

status: inactive

en2: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=60<TSO4,TSO6>

ether nn:nn:nn:nn:nn:nn

nd6 options=1<PERFORMNUD>

media: autoselect <full-duplex>

status: inactive

bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=63<RXCSUM,TXCSUM,TSO4,TSO6>

ether nn:nn:nn:nn:nn:nn

Configuration:

id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0

maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200

root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0

ipfilter disabled flags 0x2

nd6 options=1<PERFORMNUD>

media: <unknown type>

status: inactive

p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304

ether nn:nn:nn:nn:nn:nn

media: autoselect

status: inactive

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ipconfig command for Mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.