Unix IP Commands For TCP/IP Services

Unix IP commands executed at the command line help network administrators perform their job. For example, getting a reply to a ping will let you know if an IP is currently assigned and therefore in use. To clarify, if a ping to an in-house IP address doesn't reply, the IP you're trying to reach is not assigned, or the assigned computer of the IP is possibly not powered on. Some of the more common commands are listed below.

Description Unix IP Command
Sends ICMP ECHO_REQUEST and displays the response ping
Display Current Config for all NICs ifconfig
Display Current Config for dc0 ifconfig dc0
Assign multiple IPs ifconfig dc0:0
Assign second IP ifconfig dc0:1
Disable network card ifconfig dc0 down
Enable network card ifconfig dc0 up
Assign IP/Subnet ifconfig dc0 inet netmask
Assign Gateway route delete default && route add default

*You MUST be at the ROOT user to make or save any changes. Consequently, you will need to save your changes in the /etc/rc.conf file. Therefore, network cards referred to as dc0, dc1, dc2, etc based on their position on the PCI bus. These commands work in other operating systems like Linux. We have a specific page for Linux IP Commands that can help you decipher which IP command is the one you need to use to perform your specific task. Although Unix development started in the 1970s by AT&T, the ping command was not introduced until 1983 and is named after the sound that sonar makes.

*Special thanks to Romanov Sergey Vladimirovich from Moscow for providing the UNIX IP Commands!

Adobe Logo
Amazon Logo
Apple Logo
BBC Logo
Github Logo
GoDaddy Logo
Google Logo
Hulu Logo
LinkedIn Logo
Live Nation Logo
Microsoft Logo
Mozilla Logo
NBA Logo
Netflix Logo
Spotify Logo
Ticket Master Logo
Wikipedia Logo
Wordpress Logo