Menu

Thursday, March 8, 2012

Network Related Linux Commands


All the network related files and information are in

/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network
/etc/resolv.conf

Here is the list of network related comments
How to start and stop the network service?
# network service start
# network service stop
# network service restart


IP Address:
A unique address used to identify the computer or a device which is on the TCP/IP network.

Format of IP Address:
xxx.xxx.xxx.xxx   32 bit numeric address. Ex: 192.168.90.23

IP Address Classes:
A, B, C, D and E
Class A 1.0.0.0 to 127.255.255.255
Class B 128.0.0.0 to 191.255.255.255
Class C 191.0.0.0 to 223.255.255.255
Class D 224.0.0.0 to 239.255.255.255
Class E  240.0.0.0 to 255.255.255.255

Private IP address:
An IP address which is visible only to the private network (LAN).
    From 10.0.0.0 to 10.255.255.255
    From 172.16.0.0 to 172.31.255.255
    From 192.168.0.0 to 192.168.255.255