2015-04-30 3 views
7

Ich brauche wirklich deine Hilfe. Wenn ich 'ifconfig' am MAC-Terminal eintippe, werden mehrere Informationen gedruckt. Aber ich kann nicht verstehen, was sie sind. Kann mir jemand sagen, was sie sind? Was sind lo0, gif0, en0 und so weiter. Hier sind die Ergebnisse meines Terminals.ifconfig auf MAC/Was ist en0, en1, p2p und so weiter

Last login: Wed Apr 29 21:22:21 on ttys000 
    gim-yeongdeog-ui-MacBook-Air:~ KimYoungDirk$ 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 64:76:ba:ae:a3:02 
     inet6 fe80::6676:baff:feae:a302%en0 prefixlen 64 scopeid 0x4 
     inet 172.30.7.47 netmask 0xffff0000 broadcast 172.30.255.255 
     nd6 options=1<PERFORMNUD> 
     media: autoselect 
     status: active 
    en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 
     options=60<TSO4,TSO6> 
     ether 32:00:1b:3e:80:00 
     media: autoselect <full-duplex> 
     status: inactive 
    p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304 
     ether 06:76:ba:ae:a3:02 
     media: autoselect 
     status: inactive 
awdl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1452 
     ether 0e:f1:59:ca:a5:30 
     inet6 fe80::cf1:59ff:feca:a530%awdl0 prefixlen 64 scopeid 0x7 
     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 66:76:ba:ea:38: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 
     nd6 options=1<PERFORMNUD> 
     media: <unknown type> 
     status: inactive 
    gim-yeongdeog-ui-MacBook-Air:~ KimYoungDirk$ 
+1

http://superuser.com/questions/267660/mac-os-x-please-explain-ifconfig-output – baf

Antwort

2

Dies sind Ihre Netzwerkschnittstellen. Einige sind physikalische Schnittstellen und andere sind logische (virtuelle) Schnittstellen.

de0..X beziehen sich auf Ihre physischen Netzwerkschnittstellen. Die meisten neuen Mac-Geräte haben nur en0 - Ihr WiFi. en0 ist das erste Gerät zum Starten, en1 das zweite usw.

lo0 ist die 'Loopback'-Schnittstelle. Sonst bekannt als localhost oder 127.0.0.1.

Die anderen sind virtuelle Schnittstellen.