Practical : Simple RIP Configuration

RIP

RIP Topology

RIP Configuration Command Line:

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#enable secret cisco
R1(config)#enable password cisco
The enable password you have chosen is the same as your enable secret.
This is not recommended. Re-enter the enable password.
R1(config)#service password-encryption
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#line vty 0 15
R1(config-line)#pass cisco
R1(config-line)#login
R1(config-line)#exit

R1(config)#int fa0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shutdown

R1(config-if)#exit
R1(config)#int s0/1/0
R1(config-if)#ip address 10.10.10.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down
R1(config-if)#
R1(config-if)#

R1(config)#router rip
R1(config-router)#network 192.168.10.0
R1(config-router)#network 10.10.10.0
R1(config-router)#exit
R1(config)#
Switch>
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWITCH1(config)#hostname SWITCH1
SWITCH1(config)#
SWITCH1(config)#enable password cisco
SWITCH1(config)#enable secret cisco
The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret.
SWITCH1(config)#line console 0
SWITCH1(config-line)#password cisco
SWITCH1(config-line)#login
SWITCH1(config-line)#exit
SWITCH1(config)#line vty 0 15
SWITCH1(config-line)#password cisco
SWITCH1(config-line)#login
SWITCH1(config-line)#exit
SWITCH1(config)#banner motd “HELLO WORLD”
SWITCH1(config)#

SWITCH1(config)#vlan 30
SWITCH1(config-vlan)#int vlan 30
SWITCH1(config-if)#
%LINK-5-CHANGED: Interface Vlan30, changed state to up
SWITCH1(config-if)#ip address 192.168.10.2 255.255.255.0
SWITCH1(config-if)#no shutdown
SWITCH1(config-if)#exit
SWITCH1(config)#
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#enable password cisco
SWITCH(config)#hostname SWITCH2
Switch2(config)#enable secret cisco
The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret.
Switch2(config)#
Switch2(config)#service password-encryption
Switch2(config)#line console 0
Switch2(config-line)#password cisco
Switch2(config-line)#login
Switch2(config-line)#exit
Switch2(config)#line vty 0 15
Switch2(config-line)#password cisco
Switch2(config-line)#login
Switch2(config-line)#exit
Switch2(config)#banner motd “HELLO WORLD”
Switch2(config)#

Switch2(config)#vlan 30
Switch2(config-vlan)#int vlan 30
Switch2(config-if)#
%LINK-5-CHANGED: Interface Vlan30, changed state to up

Switch2(config-if)#ip address 172.16.0.2 255.255.0.0
Switch2(config-if)#no shutdown
Switch2(config-if)#exit
Switch2(config)#
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#
Router(config)#hostname R2
R2(config)#enable password cisco
R2(config)#enable secret cisco
The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret.
R2(config)#service password-encryption
R2(config)#line console 0
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 15
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#

R2(config)#int fa0/0
R2(config-if)#ip address 172.16.0.1 255.255.0.0
R2(config-if)#no shutdown

R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2(config-if)#

R2(config-if)#exit
R2(config)#int s0/1/0
R2(config-if)#ip address 10.10.10.2 255.0.0.0
R2(config-if)#no shutdown

R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

R2(config-if)#
R2(config)#router rip
R2(config-router)#network 172.16.0.0

R2(config-router)#network 10.10.10.0
R2(config-router)#exit
R2(config)#

PC>ping 192.168.10.5

Thank you

Momataj Momo

Advertisements