Mac ifconfig 
1 2 3 4 5 6 7 lo0 : flags=8049 <UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384         options 1203 <RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>         inet  127.0.0.1  netmask 0 xff000000           inet6  ::1  prefixlen 128           inet6  fe80 ::1 %lo0  prefixlen 64  scopeid 0 x1           nd6  options=201 <PERFORMNUD,DAD> 
1 2 gif0 : flags=8010 <POINTOPOINT,MULTICAST> mtu 1280 
1 2 # 6 to4连接(RFC3056) 6 to4 tunnel interface  配置隧道 stf0: flags=0 <> mtu 1280  
1 2 3 4 5 6 7 en5 : flags=8863 <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500         ether  ac:de:48 :00 :11 :22           inet6  fe80 ::aede:48 ff:fe00 :1122 %en5  prefixlen 64  scopeid 0 x8           nd6  options=201 <PERFORMNUD,DAD>         media : autoselect (100 baseTX <full-duplex>)         status : active 
1 2 3 4 ap1 : flags=8802 <BROADCAST,SIMPLEX,MULTICAST> mtu 1500         ether  f2 :18 :98 :36 :eb:d2           media : autoselect         status : inactive 
1 2 3 4 5 6 7 8 en0 : flags=8863 <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500         ether  f0 :18 :98 :36 :eb:d2           inet6  fe80 ::c1 a:37 cc:de31 :4 b44 %en0  prefixlen 64  secured scopeid 0 xa          inet  192.168.0.120  netmask 0 xffffff00  broadcast 192.168.0.255          nd6  options=201 <PERFORMNUD,DAD>         media : autoselect         status : active 
1 2 3 4 5 p2p0 : flags=8843 <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304         ether  02 :18 :98 :36 :eb:d2           media : autoselect         status : inactive 
1 2 3 4 5 6 7 awdl0 : flags=8943 <UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484         ether  7 a:69 :a0 :76 :94 :bf          inet6  fe80 ::7869 :a0 ff:fe76 :94 bf%awdl0  prefixlen 64  scopeid 0 xc          nd6  options=201 <PERFORMNUD,DAD>         media : autoselect         status : active 
1 2 3 4 5 6 en4 : flags=8963 <UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500         options 60 <TSO4 ,TSO6 >         ether  86 :00 :88 :61 :4 d:04           media : autoselect <full-duplex>         status : inactive 
1 2 3 4 5 6 en1 : flags=8963 <UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500         options 60 <TSO4 ,TSO6 >         ether  86 :00 :88 :61 :4 d:01           media : autoselect <full-duplex>         status : inactive 
1 2 3 4 5 6 en2 : flags=8963 <UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500         options 60 <TSO4 ,TSO6 >         ether  86 :00 :88 :61 :4 d:00           media : autoselect <full-duplex>         status : inactive 
1 2 3 4 5 6 en3 : flags=8963 <UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500         options 60 <TSO4 ,TSO6 >         ether  86 :00 :88 :61 :4 d:05           media : autoselect <full-duplex>         status : inactive 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 bridge0 : flags=8863 <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500         options 63 <RXCSUM,TXCSUM,TSO4 ,TSO6 >         ether  86 :00 :88 :61 :4 d:01           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 0 x2          member : en1  flags=3 <LEARNING,DISCOVER>                 ifmaxaddr  0  port 14  priority 0  path cost 0          member : en2  flags=3 <LEARNING,DISCOVER>                 ifmaxaddr  0  port 15  priority 0  path cost 0          member : en3  flags=3 <LEARNING,DISCOVER>                 ifmaxaddr  0  port 16  priority 0  path cost 0          member : en4  flags=3 <LEARNING,DISCOVER>                 ifmaxaddr  0  port 13  priority 0  path cost 0          nd6  options=201 <PERFORMNUD,DAD>         media : <unknown type>         status : inactive 
1 2 3 utun0 : flags=8051 <UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000         inet6  fe80 ::ebd0 :8 b81 :eaa3 :2 d96 %utun0  prefixlen 64  scopeid 0 x12           nd6  options=201 <PERFORMNUD,DAD> 
1 2 3 4 vmnet1 : flags=8863 <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500         ether  00 :50 :56 :c0 :00 :01           inet  192.168.230.1  netmask 0 xffffff00  broadcast 192.168.230.255  
1 2 3 4 vmnet8 : flags=8863 <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500         ether  00 :50 :56 :c0 :00 :08           inet  172.16.204.1  netmask 0 xffffff00  broadcast 172.16.204.255  
  
    
      If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !