Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

brandon187

macrumors newbie
Original poster
May 19, 2023
4
0
Code:
Last login: Fri May 19 12:14:09 on ttys001


brandonwright@Brandons-Mini ~ % ifconfig


lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384


    options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>


    inet 127.0.0.1 netmask 0xff000000


    inet6 ::1 prefixlen 128


    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1


    nd6 options=201<PERFORMNUD,DAD>


gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280


stf0: flags=0<> mtu 1280


anpi1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=400<CHANNEL_IO>


    ether ca:bf:ee:e8:ec:b2


    inet6 fe80::c8bf:eeff:fee8:ecb2%anpi1 prefixlen 64 scopeid 0x4


    nd6 options=201<PERFORMNUD,DAD>


    media: none


    status: inactive


anpi0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=400<CHANNEL_IO>


    ether ca:bf:ee:e8:ec:b1


    inet6 fe80::c8bf:eeff:fee8:ecb1%anpi0 prefixlen 64 scopeid 0x5


    nd6 options=201<PERFORMNUD,DAD>


    media: none


    status: inactive


en0: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500


    options=50b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV,CHANNEL_IO>


    ether 14:98:77:48:d9:d3


    inet6 fe80::1ce5:775:9075:9d10%en0 prefixlen 64 secured scopeid 0x6


    inet6 2607:fb90:3918:8008:1812:4fc9:669:5d98 prefixlen 64 autoconf secured


    inet6 2607:fb90:3918:8008:dc08:6b1b:1d12:5d31 prefixlen 64 autoconf temporary


    inet6 2607:fb90:3918:8008:2d1d:ce9b:89b1:b2c prefixlen 64 dynamic


    inet6 2607:fb90:3918:8008:88e3:46cd:cc26:d265 prefixlen 64 dynamic


    inet 192.168.12.185 netmask 0xffffff00 broadcast 192.168.12.255


    nat64 prefix 64:ff9b:: prefixlen 96


    nd6 options=201<PERFORMNUD,DAD>


    media: autoselect (1000baseT <full-duplex,flow-control>)


    status: active


en12: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=400<CHANNEL_IO>


    ether ca:bf:ee:e8:ec:91


    nd6 options=201<PERFORMNUD,DAD>


    media: none


    status: inactive


en13: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=400<CHANNEL_IO>


    ether ca:bf:ee:e8:ec:92


    nd6 options=201<PERFORMNUD,DAD>


    media: none


    status: inactive


en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500


    options=460<TSO4,TSO6,CHANNEL_IO>


    ether 36:36:d9:f8:f5:00


    media: autoselect <full-duplex>


    status: inactive


en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500


    options=460<TSO4,TSO6,CHANNEL_IO>


    ether 36:36:d9:f8:f5:04


    media: autoselect <full-duplex>


    status: inactive


bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=63<RXCSUM,TXCSUM,TSO4,TSO6>


    ether 36:36:d9:f8:f5: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 0x0


    member: en2 flags=3<LEARNING,DISCOVER>


            ifmaxaddr 0 port 9 priority 0 path cost 0


    member: en3 flags=3<LEARNING,DISCOVER>


            ifmaxaddr 0 port 10 priority 0 path cost 0


    nd6 options=201<PERFORMNUD,DAD>


    media: <unknown type>


    status: inactive


ap1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500


    options=400<CHANNEL_IO>


    ether 36:98:77:4d:b6:53


    media: autoselect


en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=6463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>


    ether 14:98:77:4d:b6:53


    inet6 2607:fb90:3918:8008:ec11:c909:4a90:40d prefixlen 64 dynamic


    inet6 fe80::8df:af7f:db4c:224%en1 prefixlen 64 secured scopeid 0xd


    inet 192.168.12.217 netmask 0xffffff00 broadcast 192.168.12.255


    inet6 2607:fb90:39b6:8dbb:81a:34e1:17e1:9f2f prefixlen 64 autoconf secured


    inet6 2607:fb90:39b6:8dbb:ecac:e306:6d2:f93b prefixlen 64 autoconf temporary


    inet6 2607:fb90:39b6:8dbb:12c:8363:a6c1:e553 prefixlen 64 dynamic


    nat64 prefix 2607:7700:0:16:0:2:: prefixlen 96


    nd6 options=201<PERFORMNUD,DAD>


    media: autoselect


    status: active


awdl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=6463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>


    ether de:9c:f4:15:e5:c2


    inet6 fe80::dc9c:f4ff:fe15:e5c2%awdl0 prefixlen 64 scopeid 0xe


    nd6 options=201<PERFORMNUD,DAD>


    media: autoselect


    status: active


llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


    options=400<CHANNEL_IO>


    ether de:9c:f4:15:e5:c2


    inet6 fe80::dc9c:f4ff:fe15:e5c2%llw0 prefixlen 64 scopeid 0xf


    nd6 options=201<PERFORMNUD,DAD>


    media: autoselect


    status: inactive


utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000


    inet6 fe80::f0e8:1cfc:a28d:81a2%utun0 prefixlen 64 scopeid 0x10


    nd6 options=201<PERFORMNUD,DAD>


utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000


    inet6 fe80::ce81:b1c:bd2c:69e%utun1 prefixlen 64 scopeid 0x11


    nd6 options=201<PERFORMNUD,DAD>


utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380


    inet6 fe80::8612:b059:789a:7892%utun2 prefixlen 64 scopeid 0x12


    nd6 options=201<PERFORMNUD,DAD>


utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380


    inet6 fe80::b310:90c4:44a3:c655%utun3 prefixlen 64 scopeid 0x13


    nd6 options=201<PERFORMNUD,DAD>


utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380


    inet6 fe80::ec0e:5d2a:f120:ce41%utun4 prefixlen 64 scopeid 0x14


    nd6 options=201<PERFORMNUD,DAD>


brandonwright@Brandons-Mini ~ %
 
Last edited by a moderator:
The ifconfig command (when no options or arguments are specified) displays the configuration of all network interfaces.

Your results for defaults show configurations for about 20 distinct interfaces.
I suppose you have some interest in a particular network setting, so it would help to tell us what you want to find out.
 
  • Like
Reactions: Basic75
The ifconfig command (when no options or arguments are specified) displays the configuration of all network interfaces.

Your results for defaults show configurations for about 20 distinct interfaces.
I suppose you have some interest in a particular network setting, so it would help to tell us what you want to find out.
The thing is I didn't do it.
 
Why would you think that was something that you may have done?
When you ran that command, it displays the current configuration of those various network interfaces.
Those are all interfaces that are a native part of your hardware, as reported by the macOS system.
Pretty ordinary, and normal for any computer to show a variety of network settings by default.

Do you have any reason to believe that those settings are anything more than the original settings (from a fresh system install), or are updated settings reflecting whatever use you have for your Mac, and its connection to any network?

"The thing is I didn't do it."
Well, yes, when you connected to a network, Wifi, or hard connected through ethernet, your system automatically responds, and adjusts to that network connection, by modifying settings to allow that network connection. Sometimes it will be completely transparent, no action from you necessary, other than plugging in a cable, or you might enter a password for your wifi connection, or a variety of other actions that you click through for that initial connection. Or, you didn't notice much at all, and your network/internet just worked. But, the network settings (viewable through that same ifconfig) will have been modified.
It's more complex than that, but I think I can safely say this doesn't have anything to do with a VM. Not sure why you mentioned that.
 
  • lo0 is the loopback virtual interface.
  • en0 is your built-in Wi-Fi.
  • en1 and en2 are your Thunderbolt ports. macOS supports IP over Thunderbolt this way.
  • bridge0 is a virtual interface that bridges your two IP over Thunderbolt interfaces together.
  • en3 is likely an built in ethernet
  • awdl0 is Apple Wireless Direct Link. It's an Apple-proprietary, incompatible equivalent to Wi-Fi Aware or Wi-Fi Direct. It's how AirDrop and AirPlay and Handoff and a few other things work.
  • p2p0 Is like an earlier version of AWDL. When AirDrop first came out and was Mac-only, it used this. iOS never used this and used AWDL instead. Now both platforms prefer AWDL but the older mac-only Apple Peer to Peer wireless protocol still exists for backwards compatibility with older Macs running ancient versions of macOS.
  • utun0 is a tunnel virtual interface used for VPN connections.
  • ipsec0 is also a VPN-related virtual interface.
  • gif0 is a virtual "generic interface" used for certain IPv6-in-IPv4 tunneling situations.
  • stf0 is a virtual interface for an obsolete IPv4/IPv6 transition mechanism known as 6to4 that is still in use by a few people.
  • ap1 is where used Mac as a Virtual Access Point
  • llw is a WLAN low-latency interface likely used with awdlo and ap1
Pretty normal to see on a Mac
 
He's using an old Linux command in nMac OS with unpinning on BSD Unix! On Mac you should NOT use that command is what I am away, instead use the the command networksetup instead!
ifconfig is 8 years older than Linux and there’s no real reason not to use it like this without arguments, it won’t break anything.
 
  • Like
Reactions: Basic75
ifconfig is also built into macOS, is it not?
And, the OP was asking about results from the ipconfig command.
Giving an answer about another command would be less than helpful, eh?
(We know nothing about the OP's knowledge level. If you simply want some basic information about the configuration of the network interfaces in your system, ifconfig is competent enough to show that. As someone else said, there's no real reason not to use ifconfig to show the configuration. There is also a man for ifconfig...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.