January 30, 2011

Konfigurasi Static to Rip v2










router 0

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interf
Router(config)#interface ser
Router(config)#interface serial 0/0/0
Router(config-if)#ip add
Router(config-if)#clock rate 56000
Router(config-if)#no sh
Router(config-if)#ip add
Router(config-if)#ip address 192.168.2.1 255.255.255.252
Router(config-if)#exit
Router(config)#
Router(config)#interface fas
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.0.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router r
Router(config-router)#ver
Router(config-router)#version 2
Router(config-router)#net
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.0.0
Router(config-router)#


router 1

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#in
Router(config)#interface fas
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#inter
Router(config)#interface ser
Router(config)#interface serial 0/0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.2.2 255.255.255.252
Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/1/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.2.5 255.255.255.252
Router(config-if)#no sh
Router(config)#router r
Router(config-router)#ver
Router(config-router)#version 2
Router(config-router)#net
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.1.0
Router(config-router)#redistribute static
Router(config-router)#exit
Router(config)#ip route 192.168.3.0 255.255.255.0 Serial0/1/0


Router 2

Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#in
Router(config)#interface ser
Router(config)#interface serial 0/0/0
Router(config-if)#clo
Router(config-if)#clock
Router(config-if)#clock rate
Router(config-if)#clock rate 56000
Router(config-if)#no sh
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

Router(config-if)#ip ad
Router(config-if)#ip address 192.168.2.6 255.255.255.252
Router(config-if)#ex
Router(config)#in
Router(config)#interface fas
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#ip route 192.168.0.0 255.255.255.0 serial 0/0/0
Router(config)#exit

Tes Pc 0 ke PC 1
PC>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Reply from 192.168.1.2: bytes=32 time=93ms TTL=126
Reply from 192.168.1.2: bytes=32 time=94ms TTL=126
Reply from 192.168.1.2: bytes=32 time=63ms TTL=126
Reply from 192.168.1.2: bytes=32 time=81ms TTL=126

Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 63ms, Maximum = 94ms, Average = 82ms

Tes PC0 to PC 2
PC>ping 192.168.3.2

Pinging 192.168.3.2 with 32 bytes of data:

Reply from 192.168.3.2: bytes=32 time=109ms TTL=125
Reply from 192.168.3.2: bytes=32 time=109ms TTL=125
Reply from 192.168.3.2: bytes=32 time=109ms TTL=125
Reply from 192.168.3.2: bytes=32 time=125ms TTL=125

Ping statistics for 192.168.3.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 109ms, Maximum = 125ms, Average = 113ms

No comments:

Ĭ