The netcfg utility manipulates system network configuration profiles. netcfg can be invoked interactively, with an individual subcommand, or by specifying a command file that contains a series of subcommands.
To start the Network Configurator, type netcfg & at the xterm prompt, and press Enter.
To configure network interfaces, click the Interfaces tab.
The only interface shown is the loopback (lo) interface, your computer's reference to itself. Click Add to add a new interface.
Select Ethernet from the Interface Type menu.
Click OK to accept Ethernet.
Now you have the configuration screen for the interface eth0. To bring up the Interface configuration protocol menu, click the drop-down arrow next to the Interface configuration protocol.
The config modes are listed here; choose none to configure the interface manually.
Your network administrator has assigned your host the IP address 18.104.22.168. Click in the IP: field, and we will enter this address for you.
Your netmask is 255.255.255.0. Note that Linux guessed this value already. The last option you will set is Activate on boot. Click thebutton next to this option to enable it.
Click the Done button to update the configuration files.