Konfigurasi Static Router di Packet Tracer
berikut gambar desain jaringan yang akan di bahas
untuk pertama kalinya kita konfigurasi semua routernya, masalah ip addressnya bisa di lihat di konfigurasinya, berikut konfigurasi routernya
- konfigurasi fa 0/0 , serial 0/0/1 dan serial 0/0/0 pada router fazza_router0
Router>enable Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname fazza_Router0 fazza_Router0(config)#interface fastEthernet 0/0 fazza_Router0(config-if)#ip address 192.168.1.1 255.255.255.0 fazza_Router0(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up fazza_Router0(config-if)#exit fazza_Router0(config)#interface serial 0/0/0 fazza_Router0(config-if)#ip address 10.10.10.1 255.255.255.252 fazza_Router0(config-if)#clock rate 64000 fazza_Router0(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down fazza_Router0(config-if)#exit fazza_Router0(config)#interface serial 0/0/1 fazza_Router0(config-if)#ip address 10.10.40.2 255.255.255.252 fazza_Router0(config-if)#clock rate 64000 fazza_Router0(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down fazza_Router0(config-if)#exit fazza_Router0(config)# %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up fazza_Router0(config)#ip route 192.168.2.0 255.255.255.0 10.10.10.2 fazza_Router0(config)#ip route 192.168.3.0 255.255.255.0 10.10.40.1 fazza_Router0(config)#
- konfigurasi serial 0/0/0 , serial 0/0/1 , fa 0/0 fa 0/1 pada router fazza_router1
Router>enable Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname fazza_Router1 fazza_Router1(config)#interface fastEthernet 0/1 fazza_Router1(config-if)#ip address 192.168.2.1 255.255.255.0 fazza_Router1(config-if)#no shutdown fazza_Router1(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up fazza_Router1(config-if)#exit fazza_Router1(config)#interface serial 0/0/0 fazza_Router1(config-if)#ip address 10.10.10.2 255.255.255.252 fazza_Router1(config-if)#clock rate 64000 fazza_Router1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up fazza_Router1(config-if)#exit fazza_Router1(config)#i %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to u fazza_Router1(config)#interface serial 0/0/1 fazza_Router1(config-if)#ip address 10.10.20.1 255.255.255.252 fazza_Router1(config-if)#clock rate 64000 fazza_Router1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down fazza_Router1(config-if)#exit fazza_Router1(config)#interface fastEthernet 0/0 fazza_Router1(config-if)#ip address 10.10.50.2 255.255.255.252 fazza_Router1(config-if)#no shutdown fazza_Router1(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up fazza_Router1(config-if)#exit fazza_Router1(config)# %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up fazza_Router1(config)#ip route 192.168.1.0 255.255.255.0 10.10.10.1 fazza_Router1(config)#ip route 192.168.3.0 255.255.255.0 10.10.50.1 fazza_Router1(config)#ip route 192.168.4.0 255.255.255.0 10.10.20.2 fazza_Router1(config)#
- konfigurasi fa 0/0 , fa 0/1, serial 0/0/0 dan serial 0/0/1 pada router fazza_router2
Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname fazza_Router2 fazza_Router2(config)#interface fastEthernet 0/0 fazza_Router2(config-if)#ip address 10.10.50.1 255.255.255.252 fazza_Router2(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up fazza_Router2(config-if)#exit fazza_Router2(config)#interface fastEthernet 0/1 fazza_Router2(config-if)#ip address 192.168.3.1 255.255.255.0 fazza_Router2(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up fazza_Router2(config-if)#exit fazza_Router2(config)#interface serial 0/0/0 fazza_Router2(config-if)#ip address 10.10.30.2 255.255.255.252 fazza_Router2(config-if)#clock rate 64000 fazza_Router2(config-if)#no shutdown fazza_Router2(config-if)# %LINK-5-CHANGED: Interface Serial0/0/0, changed state to upe % Ambiguous command: "e" fazza_Router2(config-if)#exit fazza_Router2(config)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up fazza_Router2(config)#interface serial 0/0/1 fazza_Router2(config-if)#ip address 10.10.40.1 255.255.255.252 fazza_Router2(config-if)#clock rate 64000 fazza_Router2(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up fazza_Router2(config-if)#exit fazza_Router2(config)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up fazza_Router2(config)#ip route 192.168.1.0 255.255.255.0 10.10.40.2 fazza_Router2(config)#ip route 192.168.2.0 255.255.255.0 10.10.50.2 fazza_Router2(config)#ip route 192.168.4.0 255.255.255.0 10.10.30.1 fazza_Router2(config)#
- konfigurasi fa 0/0,serial 0/0/0 dan serial 0/0/1 pada router fazza_router3
Router>enable Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname fazza_Router3 fazza_Router3(config)#interface fastEthernet 0/0 fazza_Router3(config-if)#ip address 192.168.4.1 255.255.255.0 fazza_Router3(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up fazza_Router3(config-if)#exit fazza_Router3(config)#interface serial 0/0/0 fazza_Router3(config-if)#ip address 10.10.20.2 255.255.255.252 fazza_Router3(config-if)#clock rate 64000 fazza_Router3(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up fazza_Router3(config-if)#exit fazza_Router3(config)#interface %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up % Incomplete command. fazza_Router3(config)#interface serial 0/0/1 fazza_Router3(config-if)#ip address 10.10.30.1 255.255.255.252 fazza_Router3(config-if)#clock rate 64000 fazza_Router3(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down fazza_Router3(config-if)#exit fazza_Router3(config)# %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up fazza_Router3(config)#ip route 192.168.2.0 255.255.255.0 10.10.20.1 fazza_Router3(config)#ip route 192.168.3.0 255.255.255.0 10.10.30.2 fazza_Router3(config)#
NB : untuk perintah menetapkan ip static (atau perintah ip route ) setelah konfigurasi ip router selesai semua
selajutnya seting PC, yang pertama pada fazza_PC0 buka DOS jalankan perintah berikut
ipconfig 192.168.1.2 255.255.255.0 192.169.1.1
keterangan :
ifconfig untuk memberi ip
192.168.1.2 ip yang dimiliki PC
255.255.255.0 networkmask
192.169.1.1 gateway
berikutnya konfigurasi fazza_PC1, jalankan perintah
ipconfig 192.168.2.2 255.255.255.0 192.169.2.1
selanjutnya konfigurasi fazza_PC2, jalankan perintah
ipconfig 192.168.3.2 255.255.255.0 192.169.3.1
berikutnya konfigurasi fazza_PC3, jalankan perintah
ipconfig 192.168.4.2 255.255.255.0 192.169.4.1
berikut contoh gambar konfigurasi dan hasil tes koneksi dengan perintah ping
Tidak ada komentar:
Posting Komentar