Pages

Showing posts with label CCNA Lab. Show all posts
Showing posts with label CCNA Lab. Show all posts

Tuesday, January 18, 2011

Eigrp Configuration (no-auto summary)



R1
Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#int f0/0
R1(config-if)#ip address 200.0.0.17 255.255.255.240
R1(config-if)#no shut
R1(config-if)#int s2/0
R1(config-if)#ip address 200.0.0.33 255.255.255.240
R1(config-if)#no shut
R1(config-if)#clock rate 64000
R1(config-if)#int s3/0
R1(config-if)#ip address 200.0.0.49 255.255.255.240
R1(config-if)#no shut
R1(config-if)#clock rate 64000
R1(config-if)#exit
R1(config)#router eigrp 100
R1(config-router)#network 200.0.0.16
R1(config-router)#network 200.0.0.32
R1(config-router)#network 200.0.0.48
R1(config-router)#no auto-summary
R1(config-router)#exit
R1(config)#exit
R1#write







R2
Router>en
Router#conf t
Router(config)#hostname R2
R2(config)#int s2/0
R2(config-if)#ip address 200.0.0.34 255.255.255.240
R2(config-if)#no shut
R2(config-if)#clock rate 64000
R2(config-if)#int s3/0
R2(config-if)#ip address 200.0.0.65 255.255.255.240
R2(config-if)#no shut
R2(config-if)#clock rate 64000
R2(config-if)#exit
R2(config)#router eigrp 100
R2(config-router)#network 200.0.0.32
R2(config-router)#network 200.0.0.32
R2(config-router)#network 200.0.0.64
R2(config-router)#exit
R2(config)#exit
R2#write


R3
Router>en
Router#conf  t
Router(config)#hostname R3
R3(config)#int s2/0
R3(config-if)#ip address 200.0.0.66 255.255.255.240
R3(config-if)#no shut
R3(config-if)#clock rate 64000
R3(config-if)#int s3/0
R3(config-if)#ip address 200.0.0.81 255.255.255.240
R3(config-if)#no shut
R3(config-if)#clock rate 64000
R3(config-if)#exit
R3(config)#router eigrp 100
R3(config-router)#network 200.0.0.64
R3(config-router)#network 200.0.0.64
R3(config-router)#network 200.0.0.80
R3(config-router)#exit
R3(config)#exit
R3#write





R4
Router>en
Router#conf t
Router(config)#hostname R4
R4(config)#int f0/0
R4(config-if)#ip address 200.0.0.97 255.255.255.240
R4(config-if)#no shut
R4(config-if)#int s2/0
R4(config-if)#ip address 200.0.0.82 255.255.255.240
R4(config-if)#no shut
R4(config-if)#clock rate 64000
R4(config-if)#int s3/0
R4(config-if)#ip address 200.0.0.113 255.255.255.240
R4(config-if)#no shut
R4(config-if)#clock rate 6400
Unknown clock rate
R4(config-if)#clock rate 64000
R4(config-if)#exit
R4(config)#router eigrp 100
R4(config-router)#network 200.0.0.80
R4(config-router)#network 200.0.0.96
R4(config-router)#network 200.0.0.112
R4(config-router)#exit
R4(config)#exit
R4#write



R5
Router>en
Router#conf t
Router(config)#hostname R5
R5(config)#int s2/0
R5(config-if)#ip address 200.0.0.129 255.255.255.240
R5(config-if)#no shut
R5(config-if)#clock rate 64000
R5(config-if)#int s3/0
R5(config-if)#ip address 200.0.0.114 255.255.255.240
R5(config-if)#no shut
R5(config-if)#clock rate 64000
R5(config-if)#exit
R5(config)#router eigrp 100
R5(config-router)#network 200.0.0.112
R5(config-router)#network 200.0.0.128
R5(config-router)#exit
R5(config)#exit
R5#write


R6
Router>en
Router#
Router#conf t
Router(config)#hostname R6
R6(config)#int s2/0
R6(config-if)#ip address  200.0.0.50 255.255.255.240
R6(config-if)#no shut
R6(config-if)#clock rate 64000
R6(config-if)#int s3/0
R6(config-if)#ip address  200.0.0.130 255.255.255.240
R6(config-if)#no shut
R6(config-if)#clock rate 64000
R6(config-if)#exit
R6(config)#router eigrp 100
R6(config-router)#network 200.0.0.48
R6(config-router)#network 200.0.0.128
R6(config-router)#exit
R6(config)#exit
R6#write

Monday, November 29, 2010

EIGRP Configuration

In this module we will learn EIGRP configuration in cisco routers. EIGRP is hybrid form of IGRP protocol.
Below is the network architecture with all the configuration commands. Try to create similar type of network in Packet tracer and configure the routers.

Note: EIGRP supports VLSM  i.e. it is a classless protocol. IGRP is a classfull protocol i.e. it does not understand Subnets. We will discuss in detail about VLSM concept in future sessions.




CONFIGURATION:

R1:
After assigning desired IP addresses to the serial and fast Ethernet interfaces, clock rate will be set following by no shutdown command.
Router command is used to configure the router and  Network command is used to mention the network where EIGRP protocols will flow.
Note: Here 444 is the autonomous systems numbers. It should to be same in both the routers for the communication to happen.

R2:
R2 configuration is similar to R1.

VERIFICATION:

Show commands:
Router#sh ip Eigrp topology
Router#sh ip Eigrp neighbor

*you can use other commands, mentioned in previous posts, to verify configuration.

Sunday, November 28, 2010

IGRP Configuration

Welcome again! As I mentioned in earlier post, RIP considers only the distance and direction for routing. So we came up with IGRP protocol which considers bandwidth, distance , load , delay and other factors.
In this module, we will learn about IGRP configuration in cisco routers.
As shown below, I have used similar type of network as used for RIP configuration. All configuration commands, for every router, has been explained in the diagram. Try to create similar network using Packet tracer tool and configure the routers.

CONFIGURATION:

R1:
First we have assigned ip address to the interfaces, followed by the clock rate and no shut down command.
Then we configured IGRP protocol using "Router IGRP 222" command. Then mention the Network ID where you want the protocol to flow.
Note: Here 222 is the Autonomous System number. It may range from 1 to 65535. As a very large network is difficult to manage, the network is divided into autonomous systems and are numbered. It is done to manage the network and for administration convenience. Routers with the same autonomous systems only will communicate.

R2:
R2 configuration is similar to R1. Mention the same autonomous number as used in R1.

VERIFICATION:

To check dynamic routing protocols:
Router#sh ip protocols

Show commands:
Router#sh ip IGRP

*you can use other commands, mentioned in previous posts, to verify configuration.


Thank you for reading this post. Looking forward to seeing you in next post :-)

RIP Configuration

In this module we will learn how to configure RIP (version 2) in cisco routers.
I have used a very simple network architecture to demonstrate the configuration, as shown below.
Try to create similar network using Packet Tracer tool and configure the router using the commands as shown in the picture.

CONFIGURATION

R1:
First we assigned ip addresses to the serial and fast Ethernet interfaces and then set clock rate for serial link followed by no shutdown command.
After assigning ip addresses to the interfaces, "Router RIP" command is used to configure RIP. Then you select the version number (RIP Protocol has two version i.e. Version 1 and Version 2).
Then you select the network where you want the RIP Protocols to flow.

R2:
R2 configuration is similar to R1 configuration

VERIFICATION:

To check dynamic routing protocols:
Router# sh ip protocols

Show commands:
Router# sh ip RIP

*you can use other commands, explained in previous posts, to verify configuration.

Note: RIP considers only the distance and direction for routing. Since it was not efficient, IGRP came up as it considered bandwidth , distance , load , delay and other factors.
We will discuss IGRP configuration in the next module.

Hope you enjoyed reading this post. Thank you !

Wednesday, November 24, 2010

Static Routing (Leased Line)

Welcome Everyone !
In this session we will learn Static Routing configuration in Cisco routers.
I have designed a simple network, using Packet tracer 5.0, to configure and discuss this concept.
In this network, I have used 2 Routers (R1 & R2), 2 Switches (S1 & S2) and 2 workstations (PC1 and PC2).
To configure static routing in this network, all commands used are shown in the network diagram.

CONFIGURATION

R1:
In router R1 first we will set IP address to the Serial port and fast Ethernet port. After assigning IP address we will run "no shutdown" command to bring the node live. In Serial port , we will also set the clock speed. I have used 64000 in this scenario.

R2:
R2 configuration is similar to R1 configuration.



VERIFICATION
You can verify the configuration by using the below commands:

Show commands to check IP addresses:
Router#sh run
Router#sh interfaces
Router#sh interface s2/0
Router#sh interface f0/0
Router#sh ip interface brief

To check Routing table:
Router#sh ip route

Securing Router

In this CCNA lab series we will learn how to secure our Router Console port and the Terminal sessions. I am going to set up my lab using Packet tracer 5.0, which is one of the best Router simulator available for practice and experiments. Before going through this hands on session, please check my article on Cisco IOS commands, this will give you brief idea about all the commands available in different different modes. Also, you can refer my article on Subnetting, this will help you to understand the IP addressing of the network devices.

Okay ! lets first set up our virtual lab.I am using a simple network architecture where I have taken 2 routers (R1 and R2) , 1 Switch SW1 and 3 Workstations (PC-1 and PC-2 and Router Console. In this scenario we will secure our Router R1.
All configuration commands have been mentioned in the network diagram.



CONFIGURATION

In R1:
1) we have assigned ip address to the serial port and the fast Ethernet port. In serial port, we also declared the clock rate speed , which is mandatory for all serial clock links.
2)After that, we have set console password as "cisco".
3) Then we have set password for Telnet sessions.
here the user mode password is "habib" and the enable encrypted password is "enaa".
Note: Routers support 5 telnet sessions and same password used for all.

In R2:
1)In R2, we have assigned ip address to the serial link and set the clock speed as 64000.

VERIFICATION
Console security:
To check, try to login to terminal session of router R1 via Router Console (which is directly connected to R1). Here the password to login is "cisco".

Terminal Security:
Try to launch a telnet session from PC-1 (commands are shown in the diagram)
first it will ask password for user mode(password is habib)
and then it will ask password for enable mode (password is enaa)


Hope you enjoyed reading this post. Let me know if have any suggestions or comments. I will be more than happy to include more advanced topics in future posts. Thank you !