Apple Mac computer view native IP and MAC address

Source: Internet
Author: User
Windows command Line input ipconfig to view the IP address and Mac physical address of the computer, what command does the MacBook Terminal enter to view the native IP and MAC address?

Open terminal input ifconfig named, will display a lot of information about the network, NIC, as follows:

tantengdemacbook-pro:~ tanteng$ 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 ScopeID 0x1
Nd6 options=1<performnud>
Gif0:flags=8010<pointopoint,multicast> MTU 1280
Stf0:flags=0<> MTU 1280
en0: (local Ethernet) flags=8863<up,broadcast,smart,running,simplex,multicast> MTU 1500
ether 34:36:3b:c6:87:20 (native Mac Physical Address)
Inet6 fe80::3636:3bff:fec6:8720%en0 Prefixlen ScopeID 0x4
net 192.168.0.103(native current IP address) netmask 0XFFFFFF00 broadcast 192.168.0.255
Nd6 options=1<performnud>
Media:autoselect
Status:active
En1:flags=963<up,broadcast,smart,running,promisc,simplex> MTU 1500
Options=60<tso4,tso6>
Ether 72:00:08:40:c5:40
Media:autoselect <full-duplex>
Status:inactive
En2:flags=963<up,broadcast,smart,running,promisc,simplex> MTU 1500
Options=60<tso4,tso6>
Ether 72:00:08:40:c5:41
Media:autoselect <full-duplex>
Status:inactive
P2p0:flags=8843<up,broadcast,running,simplex,multicast> MTU 2304
Ether 06:36:3b:c6:87:20
Media:autoselect
Status:inactive
Awdl0:flags=8943<up,broadcast,running,promisc,simplex,multicast> MTU 1484
Ether de:0a:a7:73:58:90
Inet6 fe80::d c0a:a7ff:fe73:5890%awdl0 prefixlen ScopeID
Nd6 options=1<performnud>
Media:autoselect
Status:active
Bridge0:flags=8863<up,broadcast,smart,running,simplex,multicast> MTU 1500
Options=63<rxcsum,txcsum,tso4,tso6>
Ether 36:36:3b:6c:58:00
Configuration:
ID 0:0:0:0:0:0 priority 0 hellotime 0 Fwddelay 0
MaxAge 0 holdcnt 0 Proto STP maxaddr timeout 1200
Root ID 0:0:0:0:0:0 priority 0 ifcost 0 Port 0
IPFilter Disabled Flags 0x2
Member:en1 flags=3<learning,discover>
IFMAXADDR 0 Port 5 Priority 0 Path cost 0
Member:en2 flags=3<learning,discover>
IFMAXADDR 0 Port 6 Priority 0 Path cost 0
Nd6 options=1<performnud>
Media: <unknown type>
Status:inactive
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.