Aperçu du fichier PDF linux-kacper.pdf - page 61/63

Page 1...59 60 6162 63

Aperçu texte



9. Networking in LINUX
9.1 Network Addresses:
v The IP address of a host consists of two parts, network address and host address.
v Here the network address will be same for all nodes in the network.
v The host address is unique and it is for the host only.
v Example:
Here the network address is 192.168.22 and the host address is 150.
9.2 Network Commands:

Command: ifconfig
v ifconfig sets the IP address and the subnet mask of the interface.
v It also used to activate and deactivate an interface.
v Command:$ ifconfig

Fig. 9.1ifconfig command


Linux Tutorial 1.0.doc