Ayo belajar mengkonfigurasikan router seperti di atas!!
Ini dia langkah - langkahnya :
Pertama - tama konfigurasikan router seperti petunjuk di bawah ini!!
Router 0
Router>enaRouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add 172.16.3.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 s2/0
Router(config-if)#ip add 172.16.2.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)#
Router 1
Router>enaRouter#conf t
Router(config)#int f0/0
Router(config-if)#ip add 172.16.1.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 s2/0
Router(config-if)#ip add 172.16.2.2 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#int s3/0
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#exit
Router(config)#
Router 3
Router>enaRouter#
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add 192.168.2.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)#int s3/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
%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)#
Router#
Nahh... jangan senang dulu, masih ada yang kurang. yaitu pemberian ip route.
Router 0
Router>enaRouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 172.16.1.0 255.255.255.0 s2/0
Router(config)#ip route 192.168.0.0 255.255.252.0 s2/0
Router(config)#
Router 1
Router>enaRouter#conf t
Router(config)#
Router(config)#ip route 172.16.3.0 255.255.255.0 s2/0
Router(config)#ip route 192.168.2.0 255.255.255.0 s3/0
Router(config)#
Router 2
Router>enaRouter#conf t
Router(config)#ip route 172.16.0.0 255.255.252.0 ser3/0
Router(config)#
Kalau sudah selesai, tinggal setting PCnya.
PC 0
ip address : 172.16.3.2
subnet mask: 255.255.255.0
def.gateway: 172.16.3.1
PC 1
ip address : 172.16.1.2
subnet mask: 255.255.255.0
def.gateway: 172.16.1.1
PC 2
ip address : 192.168.2.2
subnet mask: 255.255.255.0
def.gateway: 192.168.2.1
ip address : 172.16.3.2
subnet mask: 255.255.255.0
def.gateway: 172.16.3.1
PC 1
ip address : 172.16.1.2
subnet mask: 255.255.255.0
def.gateway: 172.16.1.1
PC 2
ip address : 192.168.2.2
subnet mask: 255.255.255.0
def.gateway: 192.168.2.1
0 komentar:
Posting Komentar