Unix IP Commands For TCP/IP Services

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

Description Unix IP Command
Display Current Config for all NIC's ifconfig
Display Current Config for dc0 ifconfig dc0
Assign multiple IP's 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/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.

WhatIsMyIp.com Questions and Answers Relating to IP Commands

Google Search of Unix IP Commands

*Special thanks to Romanov Sergey Vladimirovich from Moscow for the following!