Jumat, 14 Juni 2013

ROUTER  1
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.16.3.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 serial 2/0
Router(config-if)#ip address 172.16.2.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router(config)#ip route 172.16.0.0 255.255.252.0 s2/0
Router(config)#ip route 192.168.0.0 255.255.252.0 s2/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#show 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
     172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
S       172.16.0.0/22 is directly connected, Serial2/0
C       172.16.2.0/24 is directly connected, Serial2/0
C       172.16.3.0/24 is directly connected, FastEthernet0/0
S    192.168.0.0/22 is directly connected, Serial2/0



ROUTER  2
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.16.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)#exit
Router(config)#interface serial 2/0
Router(config-if)#ip address 172.16.2.2 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router(config)#interface serial 3/0
Router(config-if)#ip address 192.168.1.2 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up
Router(config)#ip route 172.16.0.0 255.255.252.0 s2/0
Router(config)#ip route 192.168.0.0 255.255.252.0 s3/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#show 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
     172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
S       172.16.0.0/22 is directly connected, Serial2/0
C       172.16.1.0/24 is directly connected, FastEthernet0/0
C       172.16.2.0/24 is directly connected, Serial2/0
S    192.168.0.0/22 is directly connected, Serial3/0
C    192.168.1.0/24 is directly connected, Serial3/0


ROUTER  3
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fastEthernet 0/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 serial 3/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%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)#exit
%SYS-5-CONFIG_I: Configured from console by console
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 s3/0
Router(config)#ip route 172.16.0.0 255.255.252.0 s3/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#show 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
     172.16.0.0/22 is subnetted, 1 subnets
S       172.16.0.0 is directly connected, Serial3/0
S    192.18.1.0/24 is directly connected, Serial3/0
C    192.168.1.0/24 is directly connected, Serial3/0
C    192.168.2.0/24 is directly connected, FastEthernet0/0

Sabtu, 08 Juni 2013

Buatlah pengalamatan jaringan secara hirarki (VLSM) untuk kebutuhan komputer tersebut
-LAN 1    -10 komputer
-LAN 2    -58 komputer
-LAN 3    -10 komputer
-LAN4     -26 komputer
Apabila diketahui IP Address yang dimiliki 192.168.10/24


7 Alamat Network dengan kebutuhan IP Address yang berbeda.
WAN      =   2 + 2 + 2 + 2        =     6
LAN       =  58 + 26 + 10 + 10 = 104
TOTAL                                    = 110 HOST

/24 = Memiliki 254 alamat IP Address untuk Host
/25 = Memiliki 128 alamat IP Address untuk Host
/26 = Memiliki   62 alamat IP Address untuk Host
/27 = Memiliki   30 alamat IP Address untuk Host
/28 = Memiliki   14 alamat IP Address untuk Host
/29 = Memiliki     6 alamat IP Address untuk Host
/30 = Memiliki     2 alamat IP Address untuk Host

Perhitungan /26 = 11000000
Host        = (2y ) – 2
    = ( 26 ) – 2
    = 62
Network = 2x
    = 22
    = 4

NETWORK
HOST
BROADCAST
192.168.1.0
192.168.1.1       – 192.168.1.62
192.168.1.63
192.168.1.64
192.168.1.5       – 192.168.1.126
192.168.1.127
192.168.1.128
192.168.1.129   – 192.168.1.190
192.168.1.191
192.168.1.192
192.168.1.193   – 192.168.1.254
192.168.1.255

Dengan /26 maka ada 62 host yang dapat memenuhi kebutuhan LAN 2 (Jakarta), yang membutuhkan 58 host . yaitu pada network 192.168.1.0 dengan  host antara 192.168.1.1 – 192.168.1.62 .
Kemudian untuk kebutuhan host pada LAN 4 (Pekalongan) = 26 Host , dapat di akomodir atau ditangani menggunakan IP 192.168.1.64 /27 , karena /27 memiliki host 30 sehingga lebih efektif dan tidak kekurangan maupun tidak kelebihan host.
Perhitungan /27 =11100000
Host        =  (2y ) – 2
    = ( 25 ) – 2
    = 32 – 2
                = 30
Network  = 2x
                = 23
    = 8
NETWORK
HOST
BROADCAST
192.168.1.64/27
192.168.1.65 – 192.168.1.94
192.168.1.95
192.168.1.96/27
192.168.1.97 – 192.168.126
192.168.1.127

Jadi dengan /27 maka ada 30  host yang dapat memenuhi kebutuhan LAN 4 (Pekalongan) , yang membutuhkan 26 host . yaitu  pada network 192.168.1.64/27 dengan  host antara 192.168.1.65 – 192.168.1.94.
            Dan untuk kebutuhan LAN 2 (Semarang) = 10 Host  dan LAN 3 (Surabaya) , dengan membagi 192.168.1.96 dengan menggunakan /28 .
Perhitungan  /30 = 11111100
Host       =  (2y ) – 2
   = ( 24 ) – 2
               = 14.
Network = 2x
   = 24
               = 16
KOTA
NETWORK
HOST
BROADCAST
Semarang
192.168.1.96    /28
192.168.1.97   – 192.168.1.110
192.168.1.111
Surabaya
192.168.1.112 / 28
192.168.1.113 – 192.168.1.126
192.168.1.127

Jadi dengan /28 maka terdapat 14 host yang dapat memenuhi kebutuhan LAN 1 (Semarang), yang membutuhkan 10 host yaitu  pada network 192.168.1.96/28 dengan  host antara 192.168.1.97 - 192.168.1.110. Sedangkan LAN 3 (Surabaya), yang membutuhkan 10 host yaitu pada network 192.168.1.112/28 dengan host antara 192.168.1.113 - 192.168.1.126.