标签:eth sele flag mtu ica toc nbsp secure stat
1.打开命令行
2.输入输入命令:ifconfig en0
3.回车,即可:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=400<CHANNEL_IO> ether 90:9c:4a:b7:4b:f6 inet6 fe80::1044:95dd:82db:56de%en0 prefixlen 64 secured scopeid 0x6 inet6 2408:84e1:1:e8d5:14df:fcc0:6fb8:2fdf prefixlen 64 autoconf secured inet6 2408:84e1:1:e8d5:c4b3:bc80:8b01:6b92 prefixlen 64 autoconf temporary inet 192.168.43.31 netmask 0xffffff00 broadcast 192.168.43.255 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active
其中192.168.43.31就是你的ip地址
二。网络偏好设置里查看
面板-偏好设置-网络-状态下-也能查看本机的ip
标签:eth sele flag mtu ica toc nbsp secure stat
原文地址:https://www.cnblogs.com/qingmuchuanqi48/p/13326462.html