Networksetup -listallhardwareports Hardware Port : Ethernet Adaptor (en3) Device : en3 Ethernet Address : 1e:00:f2:0a:c4:65 Hardware Port : Ethernet Adaptor (en4) Device : en4 Ethernet Address : 1e:00:f2:0a:c4:66 Hardware Port : Wi-Fi Device : en0 Ethernet Address : 50:ed:3c:22:be:32 Hardware Port : Bluetooth PAN Device : en13 Ethernet Address : 50:ed:3c:2c:91:ac Hardware Port : Thunderbolt 1 Device : en1 Ethernet Address : 36:5f:f4:a6:93:80 Hardware Port : Thunderbolt 2 Device : en2 Ethernet Address : 36:5f:f4:a6:93:84 Hardware Port : Thunderbolt Bridge Device : bridge0 Ethernet Address : 36:5f:f4:a6:93:80 VLAN Configurations = VLAN User Defined Name : VLAN-254 Parent Device : en9 Device ("Hardware" Port) : vlan0 Tag : 254Ĭommand to list all network services on your Mac. Interface: en9, via: LLDP, RID: 4, Time: 0 day, 00: 45: 00Īs expected, it shows both interfaces, A8/B8, on the 5412.įinally, to show that it worked here is a ping to an access point connected to another switch: 0009 ( /ws /swbuildm /rel_ajanta_qaoff /code /build /bom(swbuildm_rel_ajanta_qaoff_rel_ajanta)) SysDescr: HP J9851A Switch 5412Rzl2, revision KB. The device using the connection gets an address in the range 192.168.2.0/24
I have found that it doesn't matter if the USB Ethernet is set to DHCP or manual. Now connect the USB Ethernet to the device you need to share Internet with. Under "Service" put a check next to "Internet Sharing".Put put a check next to the USB Ethernet interface in "To computers using:".Set "Share your connection from:" to wifi.I plugged in a second USB Ethernet adapter, connected wireless to my phone set to hotspot mode and used the "Sharing" System Preferences app to configure the sharing. Unfortunately, the Internet access hadn't been installed yet. It included a Cloud Key so it needed Internet access to register and be fully functional. For example, recently I was installing a greenfield Ubiquiti network. Sometimes you need to provide Internet access to a new network to complete your work. Being a network engineer it's common for me to use two different USB Ethernet adapters at the same time.įe80:: 9af2:b3ff:fefe: 8880 %vlan0 98.f2. Using USB Ethernet Adaptersīig Sur makes it easy to configure USB Ethernet adapters using the Network Preferences app. In part 5 we will start installing terminal and networking applications like arp-scan, lldpd, cdpr, etc. The Airport utility - List wireless information.Connect and configure USB Ethernet adapters.Apple MacBook Air M1 for Network Engineers Part 1.Apple MacBook Air M1 for Network Engineers Part 2.Apple MacBook Air M1 for Network Engineers Part 3.Apple MacBook Air M1 for Network Engineers Part 5.If you need to review previous blogs in this series: If you have been following along with parts 1-3, you now have macOS tuned up and some basic applications installed.