Selasa, 13 Desember 2011

konfigurasi menggunakan rip

 


 konfigurasi router 0
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#int fa 0/0
router(config-if)#ip add 10.1.0.1 255.255.0.0
router(config-if)#no shut

router(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
router(config-if)#exit
router(config)#int se2/0
router(config-if)#ip add 10.2.0.1 255.255.0.0
router(config-if)#clock rate 64000
router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down
router(config-if)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration…
[OK]
 
Konfigurasi Router1
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#int se2/0
router(config-if)#ip add 10.2.0.2 255.255.0.0
router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
router(config-if)#exit
router(config)#int se3/0
router(config-if)#ip add 10.3.0.1 255.255.0.0
router(config-if)#clock rate 64000
router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
router(config-if)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration…
[OK]

  • Konfigurasi Router2
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#int se3/0
router(config-if)#ip add 10.3.0.2 255.255.0.0
router(config-if)#no shut
router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
router(config-if)#exit
router(config)#int fa0/0
router(config-if)#ip add 10.4.0.1 255.255.0.0
router(config-if)#no shut
router(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
router(config-if)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration…
[OK]
  1. Konfigurasi RIP
  •  Konfigurasi RIP pada Router0
router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#router rip
router(config-router)#version 2
router(config-router)#network 10.0.0.0
router(config-router)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration…
[OK]
router#
  • Konfigurasi RIP pada Router1
router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#router rip
router(config-router)#version 2
router(config-router)#network 10.0.0.0
router(config-router)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration…
[OK]
router#
  • Konfigurasi RIP pada Router2
router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#router rip
router(config-router)#version 2
router(config-router)#network 10.0.0.0
router(config-router)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration…
[OK]
router#
lihat router
Router0
router#sh ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/16 is subnetted, 4 subnets
C       10.1.0.0 is directly connected, FastEthernet0/0
C       10.2.0.0 is directly connected, Serial2/0
R       10.3.0.0 [120/1] via 10.2.0.2, 00:00:11, Serial2/0
R       10.4.0.0 [120/2] via 10.2.0.2, 00:00:11, Serial2/0
router#
 
Router1
router#sh ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/16 is subnetted, 4 subnets
R       10.1.0.0 is possibly down, routing via 10.2.0.1, Serial2/0
C       10.2.0.0 is directly connected, Serial2/0
C       10.3.0.0 is directly connected, Serial3/0
R       10.4.0.0 [120/1] via 10.3.0.2, 00:00:10, Serial3/0
router#
 
Router2
router#sh ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/16 is subnetted, 4 subnets
R       10.1.0.0 is possibly down, routing via 10.3.0.1, Serial3/0
R       10.2.0.0 is possibly down, routing via 10.3.0.1, Serial3/0
C       10.3.0.0 is directly connected, Serial3/0
C       10.4.0.0 is directly connected, FastEthernet0/0



cek dengan mengirim pesan