The difference can be seen in the interface: usually it is “en0” or “en1” or “en0w2” if it is connected via Wi-Fi. The netstat command works for both wired and wireless connections. To quickly find the IP address of the router to which you are connected, type the following on the command line:Īs a result, you will get something like this (the IP address is right next to the default): One – using the command line, the second – through the control panel. I offer you two ways to find this address.
Often, to configure TCP/IP or solve network problems, it is important to know the IP address of the router.