ferroelectro.blogg.se

How to do ipconfig on a mac
How to do ipconfig on a mac












  1. #HOW TO DO IPCONFIG ON A MAC HOW TO#
  2. #HOW TO DO IPCONFIG ON A MAC MAC#

The command can also configure network settings.

#HOW TO DO IPCONFIG ON A MAC MAC#

The ipconfig command enables displaying such critical Mac network interface information as the LAN IP, subnet mask, DNS servers, and router (often the DHCP server source) information. The en1 network interface, meanwhile, serves as the wireless network interface on newer OS X systems, by default. For example, the following command assigns a LAN IP address of 192.168.1.2 to interface en0 (the wired Ethernet port on my MacBook Pro) using a subnet mask of 255.255.255.0: ifconfig en0 inet 192.168.1.2 netmask 255.255.255.0 The ifconfig command also enables assigning a specific IP address to a specific network interface. In addition to revealing each network interface’s MAC address, ifconfig reveals each network interface’s active IP address, hexadecimal netmask, and media duplex status. Users and administrators new to the ifconfig command should begin simply by familiarizing themselves with the wealth of information the basic ifconfig command returns when entered from the OS X Terminal. Numerous ifconfig command options are available, and most are well beyond the scope of such an overview as is found here. Use the hostname command to confirm the system’s computer name. The ifconfig command reveals critical information regarding a Mac’s network interfaces, whether the network interface is a wired or wireless connection. They are ifconfig, ipconfig and traceroute. Three critical network commands, however, potentially provide the most powerful network diagnostic and troubleshooting assistance.

how to do ipconfig on a mac

As previously reviewed, the Mac command line helps unlock the power of the command line, enter basic directory commands, navigate the Mac shell, simplify networking and more.

how to do ipconfig on a mac

The Mac Terminal, of course, provides direct access to the underlying OS. As Mac users and administrators develop greater skill and experience, however, they typically graduate to seeking specific Terminal commands to more quickly diagnose and repair network errors. The Mac’s Systems Preferences Network applet enables configuring network settings, while the Network Utility (found within Applications\Utilities) provides a graphical interface for troubleshooting network errors.

#HOW TO DO IPCONFIG ON A MAC HOW TO#

Diagnose Mac networking problems with these three commandsĮrik Eckel explains how to use three common commands to find networking issues and troubleshoot them.














How to do ipconfig on a mac