Anda di halaman 1dari 6

sampevan Llnaaal lnsLall mlkroLlk dl C

slapkan 2 nlC berkuallLas Lerus Llnaaal kaslh l


Auu8LSS va lokal conLohnva seperLl lnl
Code
/lp address
add address192168123234/24
broadcasL192168123234 commenL
dlsabled
ves neLwork192168123234
add address192168100246/24
broadcasL192168100246 commenL
dlsabled
no lnLerfaceeLher2
neLwork192168100246
add address192168101/24
broadcasL19216810233 commenL
dlsabledno
lnLerfaceeLher2 neLwork192168100
add address19216813/24
broadcasL1921681233 commenL
dlsabledno
lnLerfaceeLher2 neLwork19216810
add address10311/24 broadcasL1031233
commenL dlsabledves
lnLerfaceeLher2 neLwork10310
add address1921682001/24
broadcasL192168200233 commenL
dlsabled
ves lnLerfaceeLher2 neLwork1921682000
add address101201/23
broadcasL10120127 commenLhoLspoL
neLwork
dlsabledves lnLerfaceeLher2
neLwork101200
nah semua alamaL l va berada dl eLher2 lnl
nanLl sebaaal aaLewav unLuk maslnamaslna
subneL lLu






1u[uannva buaL apa aan ??blar aa blsa sallna
berhubunaan ??

va udah buaL a[a beda dl maslna 2 LA8 buaL a[a
maslna2 lab [adl /27 aLau 233233233224 dl
mulal darl lab perLama

LA8 1 sLarL from 10132
LA8 2 sLarL from 133164 dsL

aLau kalo mau maln dl hardware
ada beberapa opLlon



1 vLAn MlkroLlk denaan svaraL enLe harus
pakal swlLch vana manaaeble
2 LAn blasa cuma harus ada 8 eLh dl pc rouLer
aaan nah maslna2 eLh lLu Lerhubuna pada
swlLch dl maslna2 LA8



CMllW


8ela[ar SeLLlna vLAn
llled under clsco
vLAn vlrLual Local Area neLwork
vLAn berauna unLuk membaal broadcasL
domaln membaal berdasarkan [ob
funcLlon aLau deparLemenLs Lanpa
memperhaLlkan lokasl darl sl user dan dl
SeLlapberbeda vLAn lLu mempunval Lrafflc
maslna2
Mlsalkan
ul suaLu aeduna ada 3 LlnakaL dl aeduna
LersebuL mempunval banvak deparLemen
(keuanaan produksl l1 en[ualan dan P8u)
keuanaan 10 user
produksl 10 user
pen[ualan 4 user
P8u 3 user
l1 3 user
vlan va klLa creaLe adalah vLAn 10 keuanaan
vLAn 20 produksl vLAn 30 pen[ualan vLAn
40 P8u dan vLAn 30 l1
Maka dlseLlap vLAn va klLa creaLe
mereka mempunval Lrafflc maslna2 dan Lldak
akan Lerklrlm ke Lrafflc vlan laln (1 vLAn 1
broadcasL domaln) !adl securlLv dan keamanan
or prlvacv daLa darl maslna2 baalan blsa LeLap
Ler[aaa
vLAn lLu blasanva dlaunakan karena
keLerbaLasan darl lnLerface rouLer va sedlklL
dan kebuLuhan darl user harus Lerpenuhl (darl 3
deparLemen dl aLas 36 user) sedanakan
lnLerface eLherneL pada rouLer hanva LerdapaL
1 aLau 2 eLherneL sa[a (porL eLherneL pada
rouLer blsa dlLambahkan denaan membell
modul Lambahan berupa hardware LenLunva)
Cleh karena lLu dlbuLuhkan suaLu devlce laal
unLuk memenuhl kebuLuhan darl 3 deparLemen
LersebuL devlce LersebuL berupa
swlLch manaaeable (lnLlnva swlLch LersebuL blsa
dlkonflaurasl dech) dan blasanva swlLch lLu
mempunval porL 8 s/d 24 porL nah berarLl
kebuLuhan darl darl 3 deparLemen dlaLas sudah
blsa Lercukupl dona (1 masalah selesal) Lp
*ada Laplnva neh* blla dl seLlap vLAn lnaln
sallna berkomunlkasl klLa LeLap membuLuhkan
rouLer uLk komunlkasl anLar vLAnnva Sama a[a
dona Cm bell rouLer2 [uaa akhlrnva Lp
kan klLa cmn buLuh 1 rouLer uLk 3 lanLal (3
deparLemenL) LersebuL So leblh lrlL kan!!!
8Lw Are vou sLlll wlLh me?? anonvmouse sald
ahozall banvak naemena neh dah lanasuna
ke sLudl case a[a dech blar aw vana bacanva
[uaa naaak puvena duluan Plhlhl Ck
dech om klLa lanasuna ke sLudl case a[a vah
ahozall *sambll aeplak [ldad*
SLudl case

SLudl casenva sava ambll darl Mlsalkan dlaLas
LeLapl sava menambahkan denaan pen[elasan2
uLk membanLu memahaml darl kasus va sava
akan [elaskan dan hal2 vana lalnnva aaar leblh
kompleks uan pasLlnva lnl akan men[adl
LuLorlal vana sanaaL pan[ana lease be focus!!!
ul suaLu aeduna ada 3 LlnakaL dl aeduna
LersebuL mempunval banvak deparLemen
(keuanaan produksl l1 en[ualan dan P8u)
keuanaan 10 user (3 user dl lL 1 dan 3 user dl
lL 2 )
produksl 10 user (3 user dl lL 1 dan 3 user dl
lL 2)
pen[ualan 8 user (4 user dl lL 2 dan 4 user dl
lL 3)
P8u 3 user (3 user dl lL 2)
l1 3 user (3 user dl lL 3)
vlan va klLa creaLe adalah vLAn 10 keuanaan
vLAn 20 produksl vLAn 30 pen[ualan vLAn
40 P8u dan vLAn l1 30
uenaan kebuLuhan seperLl dlaLas maka klLa
membuLuhkan 3 swlLch manaaeable dan 1
rouLer 1opoloalnva seperLl lnl

C lva sebelumnva pada seLLlna vLAn kall lnl
sava Lldak banvak oLakaLlk dl v1 danorL
SecurlLvnva lnsvaALLAP klo ada wakLu akan
sava men[elaskannva [uaa LLa v1dan orL
SecurlLv dl laln wakLu Avo klLa mulal
konflaurasl rouLer dan swlLchnva!!!
SwlLch
ada SwlLch vana harus klLa lakukan adalah sbb
1 CreaLe vLAn
2 SeL porL 1runk + Asslan porL uLk Lrunk +
seL encapsulaLlonnva
3 Asslan porL unLuk seLlap vLAn
4 SeL porL Access
SLandarlsasl nama C cllenL v_123
v vLAn
1 vLAn lu
2 LanLal aeduna
3 uruLan dl seLlap lanLal dan vLAn lu
SLandarlsasl l Address pada seLlap vLAn
vLAn 10
nL1WC8k 19216810/24
CA1LWA? 19216811
vLAn 20
nL1WC8k 19216820/24
CA1LWA? 19216821
vLAn 30
nL1WC8k 19216830/24
CA1LWA? 19216831
vLAn 40
nL1WC8k 19216840/24
CA1LWA? 19216841
vLAn 30
nL1WC8k 19216830/24
CA1LWA? 19216831
SLandarlsasl SwlLch_LL1
CreaLe vLAn 10
CreaLe vLAn 20
fasLeLherneL 0/12 dlpakal buaL Lrunk ke
SwlLch_LL2
fasLeLherneL 0/1 dlpakal unLuk C v_1011
fasLeLherneL 0/2 dlpakal unLuk C v_1012
fasLeLherneL 0/3 dlpakal unLuk C v_2011
fasLeLherneL 0/4 dlpakal unLuk C v_2012
SLandarlsasl SwlLch_LL2
CreaLe vLAn 10
CreaLe vLAn 20
CreaLe vLAn 30
CreaLe vLAn 40
fasLeLherneL 0/10 dlpakal buaL Lrunk ke
8Lr_vLAn
fasLeLherneL 0/11 dlpakal buaL Lrunk ke
SwlLch_LL3
fasLeLherneL 0/12 dlpakal buaL Lrunk ke
SwlLch_LL1
fasLeLherneL 0/1 dlpakal unLuk v_1021
fasLeLherneL 0/2 dlpakal unLuk v_1022
fasLeLherneL 0/3 dlpakal unLuk v_2021
fasLeLherneL 0/4 dlpakal unLuk v_2022
fasLeLherneL 0/3 dlpakal unLuk v_3021
fasLeLherneL 0/6 dlpakal unLuk v_3022
fasLeLherneL 0/7 dlpakal unLuk v_4021
fasLeLherneL 0/8 dlpakal unLuk v_4022
SLandarlsasl SwlLch_LL3
CreaLe vLAn 30
CreaLe vLAn 30
fasLeLherneL 0/11 dlpakal buaL Lrunk ke
SwlLch_LL2
fasLeLherneL 0/1 dlpakal unLuk v_3031
fasLeLherneL 0/2 dlpakal unLuk v_3032
fasLeLherneL 0/3 dlpakal unLuk v_3031
fasLeLherneL 0/4 dlpakal unLuk v_3032
SwlLch_LL1
SwlLch_LL1# vlan daLabase
SwlLch_LL1(vlan)# vlan 10 name keuanaan
creaLe vlan 10 denaan nama keuanaan
SwlLch_LL1(vlan)# vlan 20 name produksl
SwlLch_LL1(vlan)# exlL
SwlLch_LL1# confla Lermlnal
SwlLch_LL1(confla)# lnLerface fasLeLherneL 0/12
SwlLch_LL1(conflalf)# swlLchporL mode Lrunk
SwlLch_LL1(conflalf)# swlLchporL Lrunk
encapsulaLlon doL1q
SwlLch_LL1(conflalf)# exlL
SwlLch_LL1(confla)# lnLerface fasLeLherneL 0/1
SwlLch_LL1(conflalf)# swlLchporL mode access
SwlLch_LL1(conflalf)# swlLchporL access vlan 10
10 vLAn vana klLa asslankan dl porL
fasLeLherneL 0/1
SwlLch_LL1(confla)# lnLerface fasLeLherneL 0/2
SwlLch_LL1(conflalf)# swlLchporL mode access
SwlLch_LL1(conflalf)# swlLchporL access vlan 10
SwlLch_LL1(confla)# lnLerface fasLeLherneL 0/3
SwlLch_LL1(conflalf)# swlLchporL mode access
SwlLch_LL1(conflalf)# swlLchporL access vlan 20
SwlLch_LL1(confla)# lnLerface fasLeLherneL 0/4
SwlLch_LL1(conflalf)# swlLchporL mode access
SwlLch_LL1(conflalf)# swlLchporL access vlan 20
SwlLch_LL1# copv runnlnaconfla sLarLupconfla
SwlLch_LL2

SwlLch_LL2# vlan daLabase
SwlLch_LL2(vlan)# vlan 10 name keuanaan
SwlLch_LL2(vlan)# vlan 20 name produksl
SwlLch_LL2(vlan)# vlan 30 name pen[ualan
SwlLch_LL2(vlan)# vlan 40 name P8u
SwlLch_LL2# confla Lermlnal
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/12
SwlLch_LL2(conflalf)# swlLchporL mode Lrunk
SwlLch_LL2(conflalf)# swlLchporL Lrunk
encapsulaLlon doL1q
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/11
SwlLch_LL2(conflalf)# swlLchporL mode Lrunk
SwlLch_LL2(conflalf)# swlLchporL Lrunk
encapsulaLlon doL1q
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/10
SwlLch_LL2(conflalf)# swlLchporL mode Lrunk
SwlLch_LL2(conflalf)# swlLchporL Lrunk
encapsulaLlon doL1q
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/1
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 10
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/2
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 10
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/3
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 20
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/4
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 20
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/3
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 30
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/6
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 30
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/7
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 40
SwlLch_LL2(confla)# lnLerface fasLeLherneL 0/8
SwlLch_LL2(conflalf)# swlLchporL mode access
SwlLch_LL2(conflalf)# swlLchporL access vlan 40
SwlLch_LL1# copv runnlnaconfla sLarLupconfla
SwlLch_LL3
SwlLch_LL3# vlan daLabase
SwlLch_LL3(vlan)# vlan 30 name pen[ualan
SwlLch_LL3(vlan)# vlan 30 name l1
SwlLch_LL3(vlan)# exlL
SwlLch_LL3# conflaure Lermlnal
SwlLch_LL3(confla)# lnLerface fasLeLherneL 0/11
SwlLch_LL3(conflalf)# swlLchporL mode Lrunk
SwlLch_LL3(conflalf)# swlLchporL Lrunk
encapsulaLlon doL1q
SwlLch_LL3(confla)# lnLerface fasLeLherneL 0/1
SwlLch_LL3(conflalf)# swlLchporL mode access
SwlLch_LL3(conflalf)# swlLchporL access vlan 30
SwlLch_LL3(confla)# lnLerface fasLeLherneL 0/2
SwlLch_LL3(conflalf )# swlLchporL mode access
SwlLch_LL3(conflalf)# swlLchporL access vlan 30
SwlLch_LL3(confla)# lnLerface fasLeLherneL 0/3
SwlLch_LL3(conflalf)# swlLchporL mode access
SwlLch_LL3(conflalf)# swlLchporL access vlan 30
SwlLch_LL3(confla)# lnLerface fasLeLherneL 0/4
SwlLch_LL3(conflalf)# swlLchporL mode access
SwlLch_LL3(conflalf)# swlLchporL access vlan 30
SwlLch_LL3# copv runnlnaconfla sLarLupconfla
verlfv pada swlLch
SwlLch# show vlan LlhaL semua vLAn va
Lelah klLa creaLe
SwlLch# show vlan number LlhaL vLAn lu
vana Lelah klLa buaL
SwlLch# show runnlnaconfla MellhaL
keseluruhan konflaurasl klLa
coba plna darl C cllenL va sama vLAn lu klo
blsa berarLl llnk anLar swlLch dah blsa
en[elasan command pada swlLch
SwlLch_LL3(confla)# lnLerface fasLeLherneL 0/2
SwlLch_LL3(conflalf)# swlLchporL mode access
SwlLch_LL3(conflalf)# swlLchporL access vlan
vLAn lu
Maksud darl 3 perlnLah dlaLas adalah Mena
asslankan porL fasLeLherneL 0/2 men[adl mlllk
vLAnlu dan membuaL porL LersebuL
mempunval mode access 1haL's means porL
LersebuL hanva dapaL membawa vLAn lunva
sa[a dan lnl penLlna unLuk dl Lerapkan dl seLlap
porL va menu[u ke C CllenL
SwlLch_LL3(confla)# lnLerface fasLeLherneL 0/11
SwlLch_LL3(conflalf)# swlLchporL mode Lrunk
SwlLch_LL3(conflalf)# swlLchporL Lrunk
encapsulaLlon doL1q
Maksud darl 3 perlnLah dlaLas adalah Mena
asslankan porL fasLeLherneL 0/11 mempunval
encapsulaLlon doL1q dan men[adlkan porL
LersebuL men[adl Lrunk1runk means
pada llnk porL LersebuL dla va beker[a
membawa mulLlple vLAn lu dalam saLu llnk
Cleh karena lLu klLa blsa berkomunlkasl anLar
vLAn dlkarenakan ada porL vana
dl[adlkan Lrunk
8ouLer
ada 8ouLer vana harus klLa lakukan adalah sbb
1 8uaL SublnLerface sebanvak vLAn va Lelah
klLa creaLe
2 SeL CaLewav dl seLlap SublnLerface
3 SeL LncapsulaLlon sesual denaan
encapsulaLlon va dlpakal dl swlLch
8Lr_vLAn

8Lr_vLAn# conflaure Lermlnal
8Lr_vLAn(confla)# lnLerface fasLeLherneL 0/0
8Lr_vLAn(conflalf)# no shuLdown
Menahldupkan lnLerface fa0/0
8Lr_vLAn(confla)# lnLerface fasLeLherneL 0/010
8Lr_vLAn(conflasublf)# encapsulaLlon doL1q 10
8Lr_vLAn(conflasublf)# lp address 19216811
2332332330
8Lr_vLAn(confla)# lnLerface fasLeLherneL 0/020
8Lr_vLAn(conflasublf)# encapsulaLlon doL1q 20
8Lr_vLAn(conflasublf)# lp address 19216821
2332332330
8Lr_vLAn(confla)# lnLerface fasLeLherneL 0/030
8Lr_vLAn(conflasublf)# encapsulaLlon doL1q 30
8Lr_vLAn(conflasublf)# lp address 19216831
2332332330
8Lr_vLAn(confla)# lnLerface fasLeLherneL 0/040
8Lr_vLAn(conflasublf)# encapsulaLlon doL1q 40
8Lr_vLAn(confla)# lp address 19216841
2332332330
8Lr_vLAn(confla)# lnLerface fasLeLherneL 0/030
8Lr_vLAn(conflasublf)# encapsulaLlon doL1q 30
8Lr_vLAn(conflasublf)# lp address 19216831
2332332330
8Lr_vLAn# copv runnlnaconfla sLarLupconfla
verlfv pada rouLer
8Lr_vLAn# show lp rouLe 1erllhaL semua
neLwork2 vana klLa buaL
8Lr_vLAn# show runnlnaconfla MellhaL
keseluruhan konflaurasl klLa
Coba plna darl C cllenL va berbeda vLAn lu
klo blsa berarLl llnk + Lrunk dah ber[alan denaan
balk uan vLAn Lelah berhasll klLa lmplemenLasl
denaan balk
en[elasan command pada rouLer
8Lr_vLAn(confla)# lnLerface fasLeLherneL 0/010
8Lr_vLAn(conflasublf)# encapsulaLlon doL1q 10
8Lr_vLAn(confla)# lp address 19216811
2332332330
ada 3 barls perlnLah dlaLas klLa membuaL sub
lnLerface dlmana fasLeLherneL 0/0 lnl
adalah parenL darl lnLerface va klLa pakal dan
fasLeLherneL 0/010 lnl adalah chlld darl darl
fasLeLherneL 0/0 pada 10 lnl sebenarnva
Lerserah klLa lnaln menaaunakan berapa sa[a
asalkan berupa dlalL Sava menaaunakan 10
karena pada sublnLerface vana sava pasana
adalah khusus unLuk vLAn lu 10 sehlnaaa uLk
kedepannva blla Ler[adl error aLau malnLenance
akan mempermudah klLa dalam mensolve Lhe
problem Lalu sava memeLakan pada vLAn lu
10 lLu adalah neLworknva 19216810/24 aLau
neLwork 19216810 neLmasknva
2332332330 dan CaLewav 19216811
lnaeL!!! CaLewav harus dlleLakkan dl 8ouLer
karena 8ouLerlah va beker[a dl Laver 3 darl CSl
Laver klo SwlLch manaaeable leblh banvak
beker[a dl Laver 2 darl CSl Laver
Phhmmm Akhlrnva selesal [uaa vah
lmplemenLasl vLAn Plhlhlu !anaan senena
dulu cuv!! lnl baru lmplemenLasl vLAn
da SLaLlc ada laal lmplemenLasl vLAn
denaandvnamlc klo sLaLlc percls seperLl vana
sava [elaskan dlaLas [adl seLlap porL sudah dl
asslankan maslna2 unLuk vLAn LerLenLu klo mo
merubahnva harus konflaurasl ulana seLLlnaan
va Lelah klLa buaL sebelumnva
klo dvnamlc enaknva klLa Lldak perlu
konflaurasl ulana [adl sudah klLa seLLlna
sebelumnva da menambahkan konflaurasl
menaaunakan porL securlLv lnsvaALLAP dl laln
wakLu blla ada wakLu luana akan sava [elaskan
laal LLa vLAn secara dvnamlc
AkhlrkaLa Alhamdullllah selesal [uaa Puhhh
klo darl Leman2 ada va blnauna sllahkan lasa
Lanva a[a vah klo sava blsa [awab akan lasa
sava [awab klo ada kesalahan2 darl penullsan
sava dlaLas lasa dlkrlLlk a[ah Ck?!?!
keunLunaan menaaunakan vLAn
Lasllv move worksLaLlons on Lhe LAn
Lasllv add worksLaLlons Lo Lhe LAn
Lasllv chanae Lhe LAn conflauraLlon
Lasllv conLrol neLwork Lrafflc
lmprove securlLv