Label

Selasa, 23 Oktober 2012

konfigurasi 2 router dengan serial DCE DTE

Berikut ini adalah gambar topologi jaringan dari hasil setting router static :



Disini saya mengunakan Router 0 dan Router 1, berikut setelah kita berhasil masuk CLI dari cisco 
menggunakan host dengan kabel console :


   "*Router 0   

  --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: 
% Please answer 'yes' or 'no'.

pilih saja no 

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface serial 2/0
Router(config-if)#ip address 10.1.10.1 255.255.255.0
Router(config-if)#clock rate 9600
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit

Router(config)#interface fastEthernet0/0
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(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
Router(config-if)#exit

Router(config)#interface fastEthernet1/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console



   "*Router 1

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface serial 3/0
Router(config-if)#ip address 10.1.10.2 255.255.255.0
Router(config-if)#clock rate 9600
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
Router(config-if)#exit

Router(config)#interface fastEthernet0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(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
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console



Cara setting Routing:

  "*Router 0   
Router#configure Terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 192.168.1.0 255.255.255.0 10.1.10.2
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

  "*Router 1
Router#configure Terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 192.168.1.0 255.255.255.0 10.1.10.2
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console



Berikut adalah gambar dari hasil ping antar network :


Hasil Ping dari Net 192.168.1.1 ke Net 192.168.2.1 dan 192.168.3.1


Hasil Ping dari Net 192.168.2.1 ke Net 192.168.3.1

Tidak ada komentar:

Posting Komentar