Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the middle of installing a tool called mrtg, I bailed out from a perl script to set various configuration parameters for use of snmp because it became clear that I had no idea what I was doing. I also explored some snmp commands myself, but didn't keep a record, unfortunately.

I come back to ifconfig and notice it shows three new interfaces (not there just before the previous adventure):

gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
    lladdr 60:fb:42:ff:fe:f4:cd:9e 
    media: autoselect <full-duplex>
    status: inactive

My laptop on the same LAN has a different new interface called p2p0 that I hadn't noticed before, as well as gif0 and stf0 but not fw0.

After I reset my Airport Extreme to factory default, and reinstalled OS X Lion on my machine, with a wiped disk, they are still there. This:

sudo ifconfig gif0 destroy

makes gif0 go away, but on reboot it comes back. There is a previous answer with some info but what I'd like to know is why are they still there despite a clean install, could they be a security risk, and should I or can I make them go away. Should I be looking at the Airport or something in my StartupItems?

UPDATE: Does my machine set these up at boot or does the Airport remember them? And in either case, why didn't a clean install (or factory reset) restore them to the previous configuration?

share|improve this question
up vote 11 down vote accepted

fw0 is the FireWire network interface. It's benign.

stf0 is an IPv6 to IPv4 tunnel interface. It's a bridge connection that exits to help us transition from IPv4 to the IPv6 standard. It's benign. You can read more about it here if you like:

gif0 is a generic tunnel interface. It's used to tunnel IPv4 traffic to an IPv6 network and back. It's benign. You can read more about it here:

share|improve this answer
As to why the interfaces appeared, my best guess is that while they showed up after the snmp adventure, they weren't caused by it. FWIW, fiddling with Network Prefs does not change output of a plain ifconfig (including deleting FireWire as shown in the answer. A change to the IPv6 configuration in Network Prefs is reversed by a reboot. – telliott99 Apr 3 '12 at 18:27
@telliott99 thanks. Edited. – Ian C. Apr 3 '12 at 18:32
I have a p2p0. Any explanations? – Yasky Apr 23 '13 at 10:31
If it has an IPv6 address in the block fe80::/64 it's a local link interface. – Ian C. Apr 23 '13 at 16:37

The gif0 is a generic virtual interface, stf0 is an ipv6 interface and fw0 is your firewire interface. You shouldn't worry about these.

share|improve this answer

p2p0 is AirDrop, according to

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Tetsujin Mar 13 '15 at 23:47

p2p0 interface belong to VirtualBox, after you installed VB into my Mac, you will get this interface.

share|improve this answer
I have never installed VirtualBox but I have this interface in my Macbook Pro. – vquintans Jun 18 '14 at 8:35
According to p2p0 is AirDrop, not VirtualBox – nmr Mar 13 '15 at 21:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.