0

I'm new to macos world so maybe it is a silly question On all the *nix systems I have netbird installed I canfind a list of the network interfaces with a simple command ifconfig and the same on windows with ipconfig . On macos I've havent found a command that shows me the same infos.

# networksetup -listallhardwareports

Hardware Port: Ethernet
Device: en0
Ethernet Address: d0:11:e5:b5:ae:b1

Hardware Port: Ethernet Adapter (en5)
Device: en5
Ethernet Address: d6:cc:0d:af:f3:ca

Hardware Port: Ethernet Adapter (en6)
Device: en6
Ethernet Address: d6:cc:0d:af:f3:cb

Hardware Port: Ethernet Adapter (en7)
Device: en7
Ethernet Address: d6:cc:0d:af:f3:cd

Hardware Port: Thunderbolt Bridge
Device: bridge0
Ethernet Address: 36:b1:82:f8:2f:40

Hardware Port: Wi-Fi
Device: en1
Ethernet Address: d0:11:e5:bb:63:07

Hardware Port: Thunderbolt 1
Device: en2
Ethernet Address: 36:b1:82:f8:2f:40

Hardware Port: Thunderbolt 2
Device: en3
Ethernet Address: 36:b1:82:f8:2f:44

Hardware Port: Thunderbolt 4
Device: en4
Ethernet Address: 36:b1:82:f8:2f:4c

VLAN Configurations
===================

or

# scutil --nwi
Network information

IPv4 network interface information
     en1 : flags      : 0x5 (IPv4,DNS)
           address    : 192.168.1.60
           reach      : 0x00000002 (Reachable)

   REACH : flags 0x00000002 (Reachable)

IPv6 network interface information
   No IPv6 states found


   REACH : flags 0x00000000 (Not Reachable)

Network interfaces: en1

this are the only commands I've found that can list the network interface, but both does not list the virtual NIC of netbird.

The classic ifconfig does not work because need to specify the network name that I' looking for

Could you give me some hints about it?

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.