Check for interfaces:

# ifconfig -a
en0: flags=1e080863,4c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 171.26.238.55 netmask 0xfffffe00 broadcast 171.26.239.255
        inet 171.26.239.190 netmask 0xfffffe00 broadcast 171.26.239.255
        inet 171.26.239.191 netmask 0xfffffe00 broadcast 171.26.239.255
         tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

The default interface is ent0. Check the details for the interface:

# entstat -d ent0
-------------------------------------------------------------
ETHERNET STATISTICS (ent0) :
Device Type: Virtual I/O Ethernet Adapter (l-lan)
Hardware Address: c6:a2:6c:d2:b2:02
Elapsed Time: 3 days 4 hours 9 minutes 31 seconds
...
Port VLAN ID:    10
VLAN Tag IDs:  None

Leave a comment