Slide

  • LINUX

    LINUX:In 1969 AT&T made a decision to withdraw Multics and go with GECOS (General Electric Comprehensive Operating Supervisor / System), with AT & T in Bells Lab when Multics was withdrawn some of the programmers named Ken Thompson and Dennis Ritchie decided to rewrite operating system in order to support low cost computer..To Know More

    CLICK HERE

  • MICROSOFT

    MICROSOFT:Microsoft was established to develop and sell BASIC interpreters for the Altair 8800. It rose to dominate the home computer operating system market with MS-DOS in the mid-1980s,followed by the Microsoft Windows line of operating systems. To Know More

    CLICK HERE

  • CISCO

    CISCO:During the early 1980s, there was a married couple namely Len and Sandy Bosack who used to work in two different departments of computer located in Stanford University. This couple was facing problem in making their computers communicate with each other To Know More

    CLICK HERE

showinfo=1

Network Configuration


Network Configuration.

IP Addressing
An IP address is a numeric identifier assigned to each machine on an IP network. It designates the specific location of a device on the network.
We can assign IP Address to computer by using two methods
1.     Static [ Manually ]
2.     Dynamic [ Using DHCP Server ]

There are three methods for depicting IP Addresses
1. Dotted Decimal   :- 10.2.11.10
2. Binary :- 00001010.00000010.00001011.00001010

3. Hexa-Decimal :- A.2.B.A 


IP Address Classes :-
Classes        IP Range      Octet        Network ID / Host ID 
Class A        0-127          8.8.8.8       N.H.H.H
Class B        128-191      8.8.8.8       N.N.H.H
Class C192-223              8.8.8.8       N.N.N.H
Class D        224-239      8.8.8.8       N.N.N.N
Class E240-255              8.8.8.8       N.N.N.N

1. To view IP Address.
[root@server1 ~]#ifconfig      

2. To set IP Address.
[root@server1 ~]#setup                      

1. Under Choose a Tool Dialog Box select Network configuration and press ENTER
2. Under Select Action Dialog Box select Device configuration and press ENTER
3. Under Select A Device Dialog Box select eth0 (eth0) – Ethernet and press ENTER
4. Under Network Configuration Dialog Box add following entries
Name                           eth0
Device                         eth0
Use DHCP                  [*]                               
Static IP                                                           This setting is applicable if DHCP server is    
Netmask                                                          configured and machine will get IP from it
Default gateway IP                                         or else you need to set static IP for a machine
Primary DNS Server 
Secondary DNS Server

Name                           eth0
Device                         eth0
Use DHCP                  []                                          to uncheck * press spacebar and set static IP.             
Static IP                      10.0.0.1                                   for a machine use this settings.           
Netmask                      255.0.0.0                                
Default gateway IP
Primary DNS Server 
Secondary DNS Server

Select on Ok and press ENTER.
5. Select Save and press ENTER.
6. Select Save&Quit and press ENTER
7. SelectQuit and press ENTER
[root@server1 ~]#ifconfig                                          
[root@server1 ~]#service network restart                   
[root@server1 ~]#ping  10.0.0.1                               

3. To add another Ethernet id and set IP for it.
[root@server1 ~]#setup                                              
1. Under Choose a Tool Dialog Box select Network configuration and press ENTER
2. Under Select Action Dialog Box select Device configuration and press ENTER
3. Under Select A Device Dialog Box select and press ENTER
4. Under Network Configuration select Ethernet and press ENTER or select ADD
Now set Ethernet device name and IP address

Name                           eth1
Device                         eth1
Use DHCP                  []                                  to uncheck * press spacebar and set static IP.             
Static IP                      10.0.0.10                     for a machine use this settings.           
Netmask                      255.0.0.0                                
Default gateway IP
Primary DNS Server 

Select on Ok and press ENTER.
5. Select Save and press ENTER.
6. Select Save&Quit and press ENTER
7. SelectQuit and press ENTER
[root@server1 ~]#ifconfig                                         
[root@server1 ~]#service network restart                    
[root@server1 ~]#ping  10.0.0.1                                 

3. To view network configuration file.
[root@server1 ~]#cat  /etc/sysconfig/network-scripts/ifcfg-eth0                   
DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=10.0.0.1
BOOTPROTO=none
NETMASK=255.0.0.0
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
HWADDR=00:0C:29:E4:E8:D4
PREFIX=8
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME=”System eth0”
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03

4. To change hostname of a computer using file.
[root@server1 ~]#cat  /etc/sysconfig/network                         
NETWORKING=yes
HOSTNAME=server1

5. To change IP address temporary.
[root@server1 ~]#ifconfig                                                       
eth2     inet addr : 100.0.0.1 Bcast: 100.255.255.255  Mask: 255.0.0.0

[root@server1 ~]#ifconfig  eth2  20.0.0.1                             
[root@server1 ~]#ifconfig                                                      
eth2     inet addr : 20.0.0.1 Bcast: 20.255.255.255  Mask: 255.0.0.0

[root@server1 ~]#service network restart                         
[root@server1 ~]#ifconfig                                                           
eth2     inet addr : 100.0.0.1 Bcast: 100.255.255.255  Mask: 255.0.0.0                       
                                                                                                                               
5. To create temporary alternate IP address .         
[root@server1 ~]#ifconfig                                                       
eth2     inet addr : 100.0.0.1 Bcast: 100.255.255.255  Mask: 255.0.0.0
[root@server1 ~]#ifconfig  eth2:0  20.0.0.1      
[root@server1 ~]#ifconfig                                 
eth2:0    inet addr : 20.0.0.1 Bcast: 20.255.255.255  Mask: 255.0.0.0
[root@server1 ~]#service network restart      
[root@server1 ~]#ifconfig                            

6. To create permanent alternate IP address temporary.
[root@server1 ~]#cd  /etc/sysconfig/network-scripts             
[root@server1 network-scripts]#vi  ifcfg-eth2:0
DEVICE=eth0:0
ONBOOT=yes
IPADDR=200.0.0.1
BOOTPROTO=static
NETMASK=255.0.0.0
TYPE=Ethernet
NM_CONTROLLED=no
:wq!
[root@server1 network-scripts]#service network restart         
[root@server1 network-scripts]#ifconfig                                

Note:- Whenever you assign temporary ip address or temporary lan card after you restart the network services the temporary settings will disappear.  




15 comments:

  1. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.find it here: 
    www.climate-neutral.co.uk |

    ReplyDelete
  2. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks 
    linden-method |

    ReplyDelete
  3. Just wanted to give a quick shout out and say that I genuinely enjoy reading your articles.
    bluestraveleraztec |

    ReplyDelete
  4. Your blog is really nice and unique.I like it so much. Looking forward to going over your web page again. Thanks for sharing.
    www.abbeybeverageco.biz |

    ReplyDelete
  5. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.find it here: 
    aplusauto42718.com |

    ReplyDelete
  6. I like you recommendation. Your recommendation is of well use to people. A great article post, this is something very interesting. I really appreciate your post.
    ncfirsttimehomebuyer |

    ReplyDelete
  7. If you would like to get a good deal from this article then you have to apply such methods to your won website.
    mamaniaca |

    ReplyDelete
  8. Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next..
    1491book |

    ReplyDelete
  9. I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing.
    ny-businesslaw |

    ReplyDelete
  10. I like old stuff and most importantly Shakespeare and his stuff. He was real hero of English literature with true inspirational messages.
    foodmanllc |

    ReplyDelete
  11. This is great! It really shows me where to expand my blog. I think that sometime in the future I might try to write a book to go along with my blog, but we will see.Good post with useful tips and ideas
    Aged Investment |

    ReplyDelete
  12.  It is very helpful for all the people on the web.I wanted to say that it's nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere.
    Prem Food 24 |

    ReplyDelete

  13. شركة نقل عفش بالدمام الشرق الاوسط متحصصه فى نقل عفش واثاث بالدمام ونقل العفش بالخبر كما انها توفر شركة نقل عفش بالجبيل والخبر وشركة نقل عفش بالقطيف والاحساء وجميع خدمات نقل العفش والاثاث بالمنطقة الشرقية بارخص اسعار نقل عفش بالدمام وتقدم ايضا شركة تخزين عفش بالدمام والخبر
    نقل عفش بالدمام
    شركة نقل اثاث بالدمام
    شركة نقل اثاث بالخبر
    شركة نقل اثاث بالجبيل
    شركة نقل عفش بالخبر
    شركة نقل عفش بالقطيف
    شركة نقل اثاث بالاحساء

    ReplyDelete

  14. شركة تنظيف خزانات بالمدينة المنورة وشقق بالمدينة المنورة شركة غسيل خزانات ومكافحة حشرات بالمدينة المنورة ونقل عفش بالمدينة المنورة مؤسسة صفوة المدينة
    شركة تنظيف خزانات بالمدينة المنورة
    شركة مكافحة حشرات بالمدينة المنورة مؤسسة صفوة المدينة انها الاولى فى مكافحة ورش الحشرات بالمدينة المنورة رش البق رش الصراصير مكافحة النمل الابيض بالمدينة المنورة
    شركة مكافحة حشرات بالمدينة المنورة

    ReplyDelete

Note:- Comment as: Option available to post without login select "Anonymous" from the drop down...........

For Latest Updates: Subscribe Now | | Test Your Knowledge, Take a Quiz now Click Here | | Site Best Viewed In Firefox

X