CCNA4 - Frame Relay: Konfigurasi Router R1
CCNA4 - Frame Relay: Konfigurasi Router R1
CCNA4 - Frame Relay: Konfigurasi Router R1
Konfigurasi Router
R1 :
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int f0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#ip dhcp pool LAN
R1(dhcp-config)#network 192.168.1.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.1.1
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.1.1
R1(config)#int s0/0/0
R1(config-if)#ip add 10.10.10.1 255.255.255.248
R1(config-if)#encapsulation frame-relay
R1(config-if)#frame-relay map ip 10.10.10.2 102 broadcast
R1(config-if)#frame-relay map ip 10.10.10.3 103 broadcast
R1(config-if)#no shut
R2 :
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int f0/0
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#ip dhcp pool LAN
R2(dhcp-config)#network 192.168.2.0 255.255.255.0
R2(dhcp-config)#default-router 192.168.2.1
R2(dhcp-config)#exit
R2(config)#ip dhcp excluded-address 192.168.2.1
R2(config)#int s0/0/0
R2(config-if)#ip add 10.10.10.2 255.255.255.248
R2(config-if)#encapsulation frame-relay
R2(config-if)#frame-relay map ip 10.10.10.1 201 broadcast
R2(config-if)#frame-relay map ip 10.10.10.3 203 broadcast
R2(config-if)#no shut
R3 :
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho
Router(config)#hostname R3
R3(config)#int f0/0
R3(config-if)#ip add 192.168.3.1 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#int s0/0/0
R3(config-if)#ip add 10.10.10.3 255.255.255.248
R3(config-if)#encapsulation frame-relay
R3(config-if)#frame-relay map ip 10.10.10.1 301 broadcast
R3(config-if)#frame-relay map ip 10.10.10.2 302 broadcast
R3(config-if)#no shut
R3(config)#ip dhcp pool LAN
R3(dhcp-config)#network 192.168.3.0 255.255.255.0
R3(dhcp-config)#default-router 192.168.3.1
R3(dhcp-config)#exit
R3(config)#ip dhcp excluded-address 192.168.3.1
Ping R1 -> R2 :
R1#ping 10.10.10.2
Ping R2 -> R3 :
R2#ping 10.10.10.3
R2#
Ping R1 -> R3 :
R1#ping 10.10.10.3
R1#
R2 :
R2(config)#router ospf 20
R2(config-router)#router-id 10.2.2.2
R2(config-router)#network 192.168.2.0 0.0.0.255 area 1
R2(config-router)#network 10.10.10.0 0.0.0.7 area 1
R2(config-router)#exit
R2(config)#int s0/0/0
R2(config-if)#ip ospf network broadcast
R3 :
R3(config)#router ospf 30
R3(config-router)#router-id 10.3.3.3
R3(config-router)#network 192.168.3.0 0.0.0.255 area 1
R3(config-router)#network 10.10.10.0 0.0.0.7 area 1
R3(config-router)#exit
R3(config)#int s0/0/0
R3(config-if)#ip ospf network broadcast
Tabel Routing
R1 :
R1#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
R2 :
R2#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
R3 :
R3#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