My Blog List

Sunday, September 5, 2010

Basic Networking Configuretion

################## BASIC NETWORKING ####################

1)what is FQDN?
# Fully Qualified Domain Name.
ex. NAME + DOMAINNAME = FQDN
    server1 + example.com = server1.example.com

2)assigne hostname
#hostname
#hostname server1.example.com

3)Assigning Hostname - Permanent
#vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=server1.example.com

4)Assigning IP address - Temporary
#ifconfig eth0 netmask
#ifconfig eth0 10.0.0.1 netmask 255.0.0.0

5)Assigning IP address - Permanent
#netconfig
#service network restart

OR

(graphically)

#neat
#system-config-network

6)Assigning Virtual IP address
#netconfig --device :
#netconfig --device eth0:1
#service network restart

7)To check whether NIC is detected
#ethtool
#ethtool eth0/eth1/eth2....

8)Enabling Network Interface
#ifup eth1

9)Disabling Network Interface
#ifdown eth1

10)IP address locations.
#cd /etc/sysconfig/network-scripts
#vi ifcfg-eth0

virtual IP address
#vi ifcfg-eth0:1

For Primary DNS
#vim /etc/resolv.conf
nameserver 10.0.0.1

############### END ################


By Laxman D. Kadam
Ph. No. 9967413230
email:-vikasjk3@gmail.com

No comments:

Post a Comment