CCNA4 - Frame Relay: Konfigurasi Router R1

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

CCNA4 – Frame Relay

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

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 62/90/141 ms

Ping R2 -> R3 :
R2#ping 10.10.10.3

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.10.10.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/84/94 ms

R2#

Ping R1 -> R3 :
R1#ping 10.10.10.3

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.10.10.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 61/90/140 ms

R1#

Konfigurasi routing protocol (OSPF)


R1 :
R1(config)#router ospf 10
R1(config-router)#network 192.168.1.0 0.0.0.255 area 1
R1(config-router)#network 10.10.10.0 0.0.0.7 area 1
R1(config-router)#router-id 10.1.1.1
R1(config)#int serial 0/0/0
R1(config-if)#ip ospf network broadcast

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

Gateway of last resort is not set

10.0.0.0/29 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, Serial0/0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
O 192.168.2.0/24 [110/65] via 10.10.10.2, 00:05:21, Serial0/0/0
O 192.168.3.0/24 [110/65] via 10.10.10.3, 00:02:47, Serial0/0/0

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

Gateway of last resort is not set

10.0.0.0/29 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, Serial0/0/0
O 192.168.1.0/24 [110/65] via 10.10.10.1, 00:03:08, Serial0/0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
O 192.168.3.0/24 [110/65] via 10.10.10.3, 00:00:34, Serial0/0/0
R2#

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

Gateway of last resort is not set

10.0.0.0/29 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, Serial0/0/0
O 192.168.1.0/24 [110/65] via 10.10.10.1, 00:03:21, Serial0/0/0
O 192.168.2.0/24 [110/65] via 10.10.10.2, 00:03:21, Serial0/0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0

You might also like