I am still a little new to the macOS world, so my question might be easily solved.
I have been doing some networking with my MacBook Air and noticed some things I did not understand/thought that they should be different.
When I run ifconfig
I see many network adapters, and with many I mean way more than I anticipated.
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
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether c8:69:cd:af:4f:bc
inet6 fe80::1832:448c:e682:a8a8%en0 prefixlen 64 secured scopeid 0x5
inet 152.67.132.28 netmask 0xfffffc00 broadcast 152.67.132.255
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
en1: flags=922<BROADCAST,SMART,PROMISC,SIMPLEX> mtu 1500
options=60<TSO4,TSO6>
ether 9a:00:05:1b:4b:3f
media: autoselect <full-duplex>
status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
ether 0a:69:cd:af:4f:bc
media: autoselect
status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
ether fa:1f:bf:37:c7:35
inet6 fe80::f81f:bfff:fe37:c735%awdl0 prefixlen 64 scopeid 0x8
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
bridge0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether 9a:00:05:1b:4b:3f
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 6 priority 0 path cost 0
nd6 options=201<PERFORMNUD,DAD>
media: <unknown type>
status: inactive
utun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 2000
inet6 fe80::4974:b78a:7731:c82a%utun0 prefixlen 64 scopeid 0xa
nd6 options=201<PERFORMNUD,DAD>
utun1: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1380
inet6 fe80::9ffc:672f:768f:f232%utun1 prefixlen 64 scopeid 0xb
nd6 options=201<PERFORMNUD,DAD>
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
inet6 fe80::733c:91be:79df:7b4b%utun2 prefixlen 64 scopeid 0xc
nd6 options=201<PERFORMNUD,DAD>
lo0 and en0 are clear to me but the others are not. However, What are the different internet connection types used by ifconfig and ipconfig? and Unexpected interfaces in ifconfig have cleared a lot of this up for me.
However, when I started writing this I only had utun0 and utun1 and now utun2 has appeared!
What I'd like to know is: Can I disable/remove them since I seem to not use them? If so, how?
ifconfig delete
doesn't seem to work and ifconfig up/down
has no effect.
en0
and a VPN that I configured nothing more