I have a MacBook Pro (Retina, 13-inch, Late 2013) running
I know from reading another answer:
eth0on default configurations of OS X. By default,
en1are your physical network connections (wired and wireless LAN).
I know from the Linux Network Admintrator's Guide section 2.1:
These interface names are used for configuration purposes when you want to specify a particular physical device in a configuration command, and they have no meaning beyond this use.
In my case, I think the interfaces are actually named like:
en0- wireless interface
en5- physical interface
Because when I connect to my wireless network I see the following output from
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 80:e6:50:0d:08:80 inet6 fe80::89a:3fda:fa41:b241%en0 prefixlen 64 secured scopeid 0x4 inet 10.8.209.254 netmask 0xfffff000 broadcast 10.8.223.255 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active
And when I plug in my usb-to-ethernet adapter I see an additional section in the
en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=4<VLAN_MTU> ether ac:7f:3e:e6:08:75 inet6 fe80::1087:37ec:78ca:c443%en5 prefixlen 64 secured scopeid 0xb nd6 options=201<PERFORMNUD,DAD> media: autoselect (100baseTX <full-duplex,flow-control>) status: active
When I unplug the adapter and type "what's my ip" into google I get the following ip address:
When I plug my adapter in, disable my wifi and ask google again what my ip address is I get:
There are many questions that come to mind:
- When using WiFi, why does
inet 10.8.209.254 netmask 0xfffff000 broadcast 10.8.223.255not match
- Which one is my actual ip?
- When using my adapter why is there no broadcast address like for WiFi?
- Why doesn't
inet6 fe80::1087:37ec:78ca:c443%en5 prefixlen 64 secured scopeid 0xbmatch
- What is the output from
en5section telling me?