TCP/IP Commands For Various Operating Systems

The following are commands for TCP/IP services with different type of systems.  Consequently, commands are essential as you will be able to diagnose most TCP/IP problems.  That is to say, begin working on any viable solutions.

Internet Protocol Commands Relating to Type of System

DOS/Windows Internet Protocol Commands

Moreover, DOS/Windows IP commands are used to perform several tasks like assigning an address to a network interface or configuring network interface parameters.  To clarify, below is only a small list of these type of commands that are available.

Furthermore, below you'll find a list of the most common Internet Protocol commands for Windows and DOS. For instance, these include ipconfig, trace route, netstat, arp, route, hostname, control netconnections, and other popular DOS and Windows Internet Protocol commands.

Description DOS/Windows Internet Protocol Commands
Connection Configuration ipconfig /all
DNS Cache Info ipconfig /displaydns
Release All IP Address Connections ipconfig /release
Renew All IP Address Connections ipconfig /renew
Re-Register the DNS connections ipconfig /registerdns
Change/Modify DHCP Class ID ipconfig /setclassid
Network Connections control netconnections
Network Setup Wizard netsetup.cpl
Test Connectivity ping whatismyip.com
Trace Route tracert
TCP/IP protocol sessions netstat
Local Route route
Resolved MAC Addresses arp
Name of Computer Currently on hostname
DHCP Class Information ipconfig /showclassid
NameServer Lookup nslookup whatismyip.com

UNIX Internet Protocol Commands

The following are some of the more used command lines relating to Unix IP Commands.

NameServer Lookupnslookup whatismyip.com

Description UNIX Internet Protocol Command
Display Current Config for all NIC's ifconfig
Display Current Config for dc0 ifconfig dc0
Assign multiple IP's ifconfig dc0:0 192.168.1.2
Assign second IP ifconfig dc0:1 192.168.1.3
Disable network card ifconfig dc0 down
Enable network card ifconfig dc0 up
Assign IP/Subnet ifconfig dc0 inet 192.168.1.2 netmask 255.255.255.0
Assign Gateway route delete default && route add default 192.168.1.1

*  Therefore, you MUST be at the ROOT user to make/save any changes.  Consequently, you will need to save your changes in the /etc/rc.conf file.  Moreover, network cards are referred to as dc0, dc1, dc2, etc based on their position on the PCI bus.

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

Linux Internet Protocol Commands

The following are some of the more used command lines relating to Linux IP Commands.

Description Linux Internet Protocol Command
Display Current Config for all NIC's ifconfig
Display Current Config for eth0 ifconfig eth0
Assign IP ifconfig eth0 192.168.1.2
Ping ping -c 3 192.168.1.1
Assign multiple IP's ifconfig eth0:0 192.168.1.2
Assign second IP ifconfig eth0:1 192.168.1.3
Disable network card ifconfig eth0 down
Enable network card ifconfig eth0 up
View current routing table route "or" route -n
View arp cache arp "or" arp -n
Assign IP/Subnet ifconfig eth0 192.168.1.2 netmask 255.255.255.0
Assign Default Gateway route add default gw 192.168.1.1
Trace Route traceroute www.whatismyip.com
Trace Path tracepath www.whatismyip.com
DNS Test host www.whatismyip.com
Advanced DNS Test dig www.whatismyip.com
Reverse Lookup host 66.11.119.69
Advanced Reverse Lookup dig -x 66.11.119.69

*  Therefore, you MUST be at the ROOT user to make/save any changes. Linux users, your distribution will determine the location of your network config file which will need to be updated and saved in order for the changes to remain in effect after rebooting. Moreover, network cards are referred to as eth0, eth1, eth2, etc based on their position on the PCI bus.

*Special thanks to Gergely for the Linux Internet Protocol Commands!

VMS Internet Protocol Commands

Moreover, as the system administrator ("SYSTEM"), one can use and maintain TCP/IP services in various ways. The below are all CLI commands, with DCL. (Note: Exclamation marks, i.e. "!", denote comments.) relating to VMS IP Commands.

Furthermore, to display the current configuration, the most rapid way would be by invoking the following command. $ SHOW NETWORK

To clarify, with the following, detailed information is shown for the TCP/IP configuration(s) in particular. $ SHOW NETWORK /FULL "TCP/IP"

(For one thing, it'll also list active ports in use.)

Furthermore, one of the most common and probably the easiest ways of setting up TCP/IP networking, is with the following utility.  $ @SYS$SYSROOT:[SYSMGR]TCPIP$CONFIG.COM

Consequently, via the UNIX-like command.  $ TCPIP

So, for example:
$ TCPIP IFCONFIG (...) ! whatever ! desired ! options & ! values
$ TCPIP PING 192.168.1.1 ! just as an ! example
$ TCPIP TRACEROUTE GOOGLE.COM ! idem ditto
$ TCPIP NETSTAT -A

All the ethernet adapters should typically be listed as EW* devices, which can be found by typing: $ SHOW DEVICES EW</code?

With advanced descriptions, add the /FULL qualifier, like so: $ SHOW DEVICES /FULL EW

For just one device, say EWA0: $ SHOW DEVICE /FULL EWA0

Alternatively, this also works: $ TCPIP SHOW INTERFACES /FULL $ TCPIP IFCONFIG -A

*Special thanks to Marco Gariboldi for the VMS Internet Protocol Commands!

In Conclusion

To sum up, for these and other system Internet Protocol commands feel free to visit WhatIsMyIP.com with articles, knowledge base, and questions/answers.

Reverse DNS Lookup

Server Headers Check

WhatIsMyIp.com Questions and Answers Relating to TCP/IP Commands

Google Search Relating to TCP/IP Commands