Menggunakan Program Cisco Packet Tracer
Gambar sebelum masing-masing Router dikonfigurasi
Keterangan:Router0 | Router1 | Router2 | Router3 | Router4 |
Fa0/0 : 192.5.5.1 Fa1/0 : 205.7.5.1 Se2/0 : 201.100.11.1 SM : 255.255.255.0 |
Fa0/0 : 219.17.100.1 Se2/0 : 199.6.13.1 Se3/0 : 201.100.11.2 SM : 255.255.255.0 |
Fa0/0 : 223.8.151.1 Se2/0 : 204.204.7.1 Se3/0 : 199.6.13.2 SM : 255.255.255.0 |
Fa0/0 : 210.93.105.1 Se3/0 : 204.204.7.2 SM : 255.255.255.0 |
Fa0/0 : 210.93.105.2 SM : 255.255.255.0 |
- Buka Program Cisco Packet Tracer
- Pilih peralatan yang akan dipakai sesuai dengan gambar: 5 buah Router, 5 buah Switch, dan 10 unit PC
- Atur posisi semua peralatan sesuai dengan gambar
- Hubungkan Router dengan Router menggunakan kabel Serial DCE/DTE (sesuaikan gambar)
- Hubungkan Router dengan Switch dan Switch dengan PC menggunakan kabel Straight-Through
- Setting masing-masing Router sesuai dengan keterangan
- Konfigurasi Router0
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int fa0/0
router(config-if)#ip add 192.5.5.1 255.255.255.0
router(config-if)#no shut
%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 fa1/0
router(config-if)#ip add 205.7.5.1 255.255.255.0
router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
router(config-if)#exit
router(config)#int se2/0
router(config-if)#ip add 201.100.11.1 255.255.255.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)#ip route 0.0.0.0 0.0.0.0 201.100.11.2
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
Gambar setelah konfigurasi Router0
- Konfigurasi Router1
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int fa0/0
router(config-if)#ip add 219.17.100.1 255.255.255.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 199.6.13.1 255.255.255.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)#int se3/0
router(config-if)#ip add 201.100.11.2 255.255.255.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)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up
router(config)#ip route 0.0.0.0 0.0.0.0 201.100.11.1
router(config)#ip route 0.0.0.0 0.0.0.0 199.6.13.2
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
Gambar setelah konfigurasi Router0 & Router1
- Konfigurasi Router2
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int fa0/0
router(config-if)#ip add 223.8.151.1 255.255.255.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 204.204.7.1 255.255.255.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)#int se3/0
router(config-if)#ip add 199.6.13.2 255.255.255.0
router(config-if)#no shut
router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
router(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up
router(config)#ip route 0.0.0.0 0.0.0.0 199.6.13.1
router(config)#ip route 0.0.0.0 0.0.0.0 204.204.7.2
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
Gambar setelah konfigurasi Router0, Router1, & Router2
- Konfigurasi Router3
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int fa0/0
router(config-if)#ip add 210.93.105.1 255.255.255.0
router(config-if)#no shut
%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 se3/0
router(config-if)#ip add 204.204.7.2 255.255.255.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)#ip route 0.0.0.0 0.0.0.0 204.204.7.1
router(config)#ip route 0.0.0.0 0.0.0.0 210.93.105.2
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
Gambar setelah konfigurasi Router0, Router1, Router2, & Router3
- Konfigurasi Router4
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int fa0/0
router(config-if)#ip add 210.93.105.2 255.255.255.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)#ip route 0.0.0.0 0.0.0.0 210.93.105.1
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
Gambar setelah semua Router dikonfigurasikan
- Setelah semua Router dikonfigurasikan, kemudian lihat routing pada masing-masing Router dengan perintah “sh ip route”
- Router0
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 201.100.11.2 to network 0.0.0.0
C 192.5.5.0/24 is directly connected, FastEthernet0/0
C 201.100.11.0/24 is directly connected, Serial2/0
C 205.7.5.0/24 is directly connected, FastEthernet1/0
S* 0.0.0.0/0 [1/0] via 201.100.11.2
router#
- Router1
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 201.100.11.1 to network 0.0.0.0
C 199.6.13.0/24 is directly connected, Serial2/0
C 201.100.11.0/24 is directly connected, Serial3/0
C 219.17.100.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 201.100.11.1
[1/0] via 199.6.13.2
router#
- Router2
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 199.6.13.1 to network 0.0.0.0
C 199.6.13.0/24 is directly connected, Serial3/0
C 204.204.7.0/24 is directly connected, Serial2/0
C 223.8.151.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 199.6.13.1
[1/0] via 204.204.7.2
router#
- Router3
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 204.204.7.1 to network 0.0.0.0
C 204.204.7.0/24 is directly connected, Serial3/0
C 210.93.105.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 204.204.7.1
[1/0] via 210.93.105.2
router#
- Router4
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 210.93.105.1 to network 0.0.0.0
C 210.93.105.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 210.93.105.1
router#
- Setting IP pada masing-masing PC
- Setting IP pada PC0
IP Address | 205.7.5.2 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 205.7.5.1 |
- Setting IP pada PC1
IP Address | 205.7.5.3 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 205.7.5.1 |
- Setting IP pada PC2
IP Address | 192.5.5.2 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 192.5.5.1 |
- Setting IP pada PC3
IP Address | 192.5.5.3 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 192.5.5.1 |
- Setting IP pada PC4
IP Address | 219.17.100.2 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 219.17.100.1 |
- Setting IP pada PC5
IP Address | 219.17.100.3 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 219.17.100.1 |
- Setting IP pada PC6
IP Address | 223.8.151.2 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 223.8.151.1 |
- Setting IP pada PC7
IP Address | 223.8.151.3 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 223.8.151.1 |
- Setting IP pada PC8
IP Address | 210.93.105.3 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 210.93.105.1 |
- Setting IP pada PC9
IP Address | 210.93.105.4 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 210.93.105.2 |
- Cek koneksi menggunakan perintah “ping”
- Cek koneksi PC9 ke PC8
- Cek koneksi PC9 ke PC7
- Cek koneksi PC9 ke PC6
- Cek koneksi PC9 ke PC5
- Cek koneksi PC9 ke PC4
- Cek koneksi PC9 ke PC3
- Cek koneksi PC9 ke PC2
- Cek koneksi PC9 ke PC1
- Cek koneksi PC9 ke PC0
Dari hasil pengecekan koneksi tersebut, berarti semua konfigurasi telah berhasil.
Tidak ada komentar:
Posting Komentar