Macintosh: Output of Ifconfig

Posted on 2011-10-06
Medium Priority
Last Modified: 2012-05-12
1) I am used to with the Microsoft Window and (a little bit of) Linux Operating system
2) I am not familiar with the Macintosh OS
3) I saw some MacBook (The OS is Mac OS X 10.6.8) at a company (production environment)

4) I take one of the MacBook, and do the followings:
-Go to Utilities, and open the "terminal"
- I type in: ifconfig
- There 7 items appeared (I do not understand "these terms"; i just understand a little bit of it)

5) The 7 items are as the followings:
i) lo0
ii) gif0
iii) en0
iv) en1
v) vnic0
vi) vnic1
vii) csctun0

6) Would you somebody explain "the above terms": what is it and its function

7) Thank you
Question by:tjie
  • 3
  • 2
  • 2

Assisted Solution

pritamdutt earned 800 total points
ID: 36928603
You can find information about various Network Interfaces on your Mac Machine by Navigating Apple Menu

- Option-clicking the Apple menu and choosing System Profiler.
- Click on Network

You will find that on right side there is list of various active Network Services, and information such as Network Type, Hardware, BSD Device Name (this is the name you will find in ifconfig output), and assigned IP Address if any.

For Quick ref
lo0 - Loopback Adapter
en0... - Ethernet Adapters

Hope this helps.
LVL 21

Accepted Solution

Papertrip earned 1200 total points
ID: 36928615
i) lo0 -- loopback interface
ii) gif0 -- IPv4 <-> IPv6 tunnel interface
iii) en0 -- wired ethernet interface
iv) en1 -- wired ethernet interface
v) vnic0 -- virtual interface
vi) vnic1 -- virtual interface
vii) csctun0 --  some sort of tunnel interface, perhaps related to gif0 or vnic0/1 -- have never seen that before

Author Comment

ID: 36928661
Hi pritamdutt,

1) I understood "ethernet adapters" (with the RJ45 port)

2) Would you explain (with your own wording) the followings please:

- What is "Loopback Adapter"? (What port is it related to?)
- What about "cscotun0"? (What is iis function?) (What port is it related to?)

3) Thank you

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

LVL 21

Assisted Solution

Papertrip earned 1200 total points
ID: 36928672
At first you said csctun0, not cscotun0 -- that is an interface added by a Cisco VPN client.

BTW I posted a link to the wiki for loopback in my first answer.

Assisted Solution

pritamdutt earned 800 total points
ID: 36928688
Loopback Adapter or Loopback Interface is a Virtual Interface installed on mostly all IP enabled Operating Systems. This interface is usually assigned an IP Address of

If you would remember, we normally ping to in order to test IP Configuration of System.

You could further read about Loopback Adapter on wikipedia : http://en.wikipedia.org/wiki/Loopback

As regards to cscotun0, it appears that your system has Cisco AnyConnect Secure Mobility Client installed, and this is an virtual interface created by the software to
- create an SSL connection to a gateway running IOS, or
- when the AnyConnect client attempts to create an IPsec connection to an ASA, from behind certain types of routers, such as the Cisco Virtual Office (CVO) router

Hope this helps..

Author Comment

ID: 36928689
Hey PaperTrip,

1) Would you explain it (with your own wording) --> What is "Loopback Adapter"? (What port is it related to?)

2) Thanks

LVL 21

Assisted Solution

Papertrip earned 1200 total points
ID: 36928711
Anything I would say with my own words is written better at http://en.wikipedia.org/wiki/Loopback#Virtual_network_interface

There is no port involved, it's a virtual interface just like Pritam and wikipedia say :)

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
While there are many new features for iOS 11, these are the five that can improve your digital lifestyle.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question