用户
 找回密码
 立即注册
搜索
三人行 门户 电脑 电脑常识 查看内容

苹果MAC电脑查看本机IP和MAC地址

2016-12-14 08:01| 发布者: printing| 查看: 5| 评论: 0

摘要: MAC终端如何查看本机IP和MAC地址呢,对于windows使用ipconfig就可以查出来了,那么在于mac中使用ipconfig查出来的是什么意思呢,下面来分析一下。 windows命令行输入ipconfig即可查看本机的ip地址和mac物理地址 ...
MAC终端如何查看本机IP和MAC地址呢,对于windows使用ipconfig就可以查出来了,那么在于mac中使用ipconfig查出来的是什么意思呢,下面来分析一下。
windows命令行输入ipconfig即可查看本机的ip地址和mac物理地址,macbook终端输入什么命令查看本机ip和mac地址呢?

打开终端输入ifconfig命名,会显示一大堆关于网络、网卡的信息,如下:

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 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
ether 34:36:3b:c6:87:20 (本机mac物理地址)
inet6 fe80::3636:3bff:fec6:8720%en0 prefixlen 64 scopeid 0x4
net 192.168.0.103(本机当前ip地址) 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::dc0a:a7ff:fe73:5890%awdl0 prefixlen 64 scopeid 0x8
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 100 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

鲜花

握手

雷人

路过

鸡蛋

相关阅读