m3109025_ellen

Upload: putri-pertiwi

Post on 04-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 M3109025_Ellen

    1/20

    PRAKTIKUM JARKOM LANJUT

    KONFIGURASI VLAN

    OLEH : ELLEN LAWRENCE

    D-3 TEKNIK INFORMATIKA A

    M3109025

    PROGRAM DIPLOMA III TEKNIK INFORMATIKA

    FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM

    UNIVERSITAS SEBELAS MARET

    SURAKARTA

    2011

  • 7/30/2019 M3109025_Ellen

    2/20

    KONFIGURASI VLAN

    A. TUJUAN:

    1 . Ma h a s is wa ma m p u me m a h a mi ko n s e p VLAN.

    2 . Mahasiswa m ampu m engkonfiguras i VLAN.

    3 . Mahasiswa mam pu mend esa in ja r ingan dengan VLAN.

    B. KASUS JARINGAN

    Jaringan yang saya buat merupakan jaringan sebuah kantor yang terdiri a tas 4

    lantai . Masing-masing lantai memiliki 1 switch dan tiap-tiap switch terhubung

    dengan 1 switch u tama. Switch u tama te rsebut langsung te rhubung ke rou te r

    sehingga bisa digunakan un tuk koneksi inter net m aupu n koneksi antar PC.

    SWITCH UTAMA

    Switch>enable

    Switch#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    Switch(config)#hostname switch_utama

    switch_utama#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    switch_utama(config)#enable secret switchutama

    switch_utama(config)#line console 0

    switch_utama(config-line)#password consoleswitch

    switch_utama(config-line)#login

    switch_utama(config-line)#exit

    switch_utama(config)#line vty 0 15

    switch_utama(config-line)#password telnetswitch

    switch_utama(config-line)#login

    switch_utama(config-line)#exit

    switch_utama(config)#service password-encryption

    switch_utama(config)#interface fast

    switch_utama(config)#interface fastEthernet 0/1

    switch_utama(config-if)#speed auto

    switch_utama(config-if)#duplex auto

  • 7/30/2019 M3109025_Ellen

    3/20

    switch_utama(config-if)#switchport mode trunk

    switch_utama(config-if)#exit

    switch_utama(config)#interface fastEthernet 0/2

    switch_utama(config-if)#speed auto

    switch_utama(config-if)#duplex auto

    switch_utama(config-if)#switchport mode trunk

    switch_utama(config-if)#exit

    switch_utama(config)#interface fastEthernet 0/3

    switch_utama(config-if)#speed auto

    switch_utama(config-if)#duplex auto

    switch_utama(config-if)#switchport mode trunk

    switch_utama(config-if)#exit

    switch_utama(config)#interface fastEthernet 0/4

    switch_utama(config-if)#speed auto

    switch_utama(config-if)#duplex auto

    switch_utama(config-if)#switchport mode trunk

    switch_utama(config-if)#exit

    switch_utama(config)#interface fastEthernet 0/5

    switch_utama(config-if)#speed auto

    switch_utama(config-if)#duplex auto

    switch_utama(config-if)#switchport mode trunk

    switch_utama(config-if)#exit

    switch_utama(config)#exit

    %SYS-5-CONFIG_I: Configured from console by console

    switch_utama#show running-config

    Building configuration...

    Current configuration : 1240 bytes

    !

    version 12.1

    no service timestamps log datetime msec

    no service timestamps debug datetime msec

    service password-encryption

    !

    hostname switch_utama

    !

  • 7/30/2019 M3109025_Ellen

    4/20

    enable secret 5 $1$mERr$SeUpvxS.aL15ZBLhB4F.P/

    !

    !

    !

    interface FastEthernet0/1

    switchport mode trunk

    !

    interface FastEthernet0/2

    switchport mode trunk

    !

    interface FastEthernet0/3

    switchport mode trunk

    !

    interface FastEthernet0/4

    switchport mode trunk

    !

    interface FastEthernet0/5

    switchport mode trunk

    !

    interface Vlan1

    no ip address

    shutdown

    !

    !

    line con 0

    password 7 082243401A160912011C05102923

    login

    !

    line vty 0 4

    password 7 08354942071C11040502180722

    login

    line vty 5 15

    password 7 08354942071C11040502180722

    login

    !

  • 7/30/2019 M3109025_Ellen

    5/20

    !

    end

    switch_utama#exit

    switch_utama con0 is now available

    Press RETURN to get started.

    User Access Verification

    Password:

    switch_utama>enable

    Password:

    switch_utama#copy running-config startup-config

    Destination filename [startup-config]?

    Building configuration...

    [OK]

    switch_utama#

    SWITCH LANTAI 1

    Switch>enable

    Switch#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    Switch(config)#hostname 1st_switch

    1st_switch(config)#enable secret switch1

    1st_switch(config)#line console 0

    1st_switch(config-line)#password console1

    1st_switch(config-line)#login

    1st_switch(config-line)#exit

    1st_switch(config)#line vty 0 15

    1st_switch(config-line)#password telnet1

    1st_switch(config-line)#login

    1st_switch(config-line)#exit

    1st_switch(config)#service password-encryption

    1st_switch(config)#interface fastEthernet 0/1

    1st_switch(config-if)#speed auto

    1st_switch(config-if)#duplex auto

    1st_switch(config-if)#switchport mode trunk

  • 7/30/2019 M3109025_Ellen

    6/20

    1st_switch(config-if)#exit

    1st_switch(config)#vlan 1

    1st_switch(config-vlan)#exit

    1st_switch(config)#vlan 2

    1st_switch(config-vlan)#name vlan2

    1st_switch(config-vlan)#exit

    1st_switch(config)#interface fastEthernet 0/2

    1st_switch(config-if)#switchport mode access

    1st_switch(config-if)#switchport access vlan 2

    1st_switch(config-if)#exit

    1st_switch(config)#vlan 3

    1st_switch(config-vlan)#name vlan3

    1st_switch(config-vlan)#exit

    1st_switch(config)#interface fastEthernet 0/3

    1st_switch(config-if)#switchport mode access

    1st_switch(config-if)#switchport access vlan 3

    1st_switch(config-if)#exit

    1st_switch(config)#vlan 4

    1st_switch(config-vlan)#interface fastEthernet 0/4

    1st_switch(config-if)#switchport mode access

    1st_switch(config-if)#switchport access vlan 4

    1st_switch(config-if)#exit

    1st_switch(config)#exit

    %SYS-5-CONFIG_I: Configured from console by console

    1st_switch#show running-config

    Building configuration...

    Current configuration : 1266 bytes

    !

    version 12.1

    no service timestamps log datetime msec

    no service timestamps debug datetime msec

    service password-encryption

    !

    hostname 1st_switch

    !

  • 7/30/2019 M3109025_Ellen

    7/20

    enable secret 5 $1$mERr$6O4B/c.wmaVxcZbGKXzb90

    !

    !

    !

    interface FastEthernet0/1

    switchport mode trunk

    !

    interface FastEthernet0/2

    switchport access vlan 2

    switchport mode access

    !

    interface FastEthernet0/3

    switchport access vlan 3

    switchport mode access

    !

    interface FastEthernet0/4

    switchport access vlan 4

    switchport mode access

    !

    interface Vlan1

    no ip address

    shutdown

    !

    !

    line con 0

    password 7 082243401A16091243

    login

    !

    line vty 0 4

    password 7 08354942071C1146

    login

    line vty 5 15

    password 7 08354942071C1146

    login

    !

  • 7/30/2019 M3109025_Ellen

    8/20

    !

    end

    1st_switch# exit

    1st_switch con0 is now available

    Press RETURN to get started.

    User Access Verification

    Password:

    1st_switch>enable

    Password:

    1st_switch#copy running-config startup-config

    Destination filename [startup-config]?

    Building configuration...

    [OK]

    1st_switch#

    SWITCH LANTAI 2

    Switch>enable

    Switch#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    Switch(config)#hostname 2nd_switch

    2nd_switch(config)#enable secret switch2

    2nd_switch(config)#line console 0

    2nd_switch(config-line)#password console2

    2nd_switch(config-line)#login

    2nd_switch(config-line)#exit

    2nd_switch(config)#line vty 0 15

    2nd_switch(config-line)#password telnet2

    2nd_switch(config-line)#login

    2nd_switch(config-line)#exit

    2nd_switch(config)#service password-encryption

    2nd_switch(config)#interface fastEthernet 0/1

    2nd_switch(config-if)#speed auto

    2nd_switch(config-if)#duplex auto

    2nd_switch(config-if)#switchport mode trunk

  • 7/30/2019 M3109025_Ellen

    9/20

    2nd_switch(config-if)#exit

    2nd_switch(config)#vlan 5

    2nd_switch(config-vlan)#name vlan5

    2nd_switch(config-vlan)#exit

    2nd_switch(config)#interface fas

    2nd_switch(config)#interface fastEthernet 0/2

    2nd_switch(config-if)#switchport mode access

    2nd_switch(config-if)#switchport access vlan 5

    2nd_switch(config-if)#exit

    2nd_switch(config)#vlan 6

    2nd_switch(config-vlan)#name vlan6

    2nd_switch(config-vlan)#exit

    2nd_switch(config)#interface fastEthernet 0/3

    2nd_switch(config-if)#switchport mode access

    2nd_switch(config-if)#switchport access vlan 6

    2nd_switch(config-if)#exit

    2nd_switch(config)#vlan 7

    2nd_switch(config-vlan)#name vlan7

    2nd_switch(config-if)#exit

    2nd_switch(config-vlan)#interface fastEthernet 0/4

    2nd_switch(config-if)#switchport mode access

    2nd_switch(config-if)#switchport access vlan 7

    2nd_switch(config-if)#exit

    2nd_switch(config)#exit

    %SYS-5-CONFIG_I: Configured from console by console

    2nd_switch#show running-config

    Building configuration...

    Current configuration : 1266 bytes

    !

    version 12.1

    no service timestamps log datetime msec

    no service timestamps debug datetime msec

    service password-encryption

    !

    hostname 2nd_switch

  • 7/30/2019 M3109025_Ellen

    10/20

    !

    enable secret 5 $1$mERr$W1UzIsSWd4clVt3yl5UoL1

    !

    !

    !

    interface FastEthernet0/1

    switchport mode trunk

    !

    interface FastEthernet0/2

    switchport access vlan 5

    switchport mode access

    !

    interface FastEthernet0/3

    switchport access vlan 6

    switchport mode access

    !

    interface FastEthernet0/4

    switchport access vlan 7

    switchport mode access

    !

    interface Vlan1

    no ip address

    shutdown

    !

    !

    line con 0

    password 7 082243401A16091240

    login

    !

    line vty 0 4

    password 7 08354942071C1145

    login

    line vty 5 15

    password 7 08354942071C1145

    login

  • 7/30/2019 M3109025_Ellen

    11/20

    !

    !

    end

    2nd_switch#exit

    2nd_switch con0 is now available

    Press RETURN to get started.

    User Access Verification

    Password:

    2nd_switch>enable

    Password:

    2nd_switch#copy running-config startup-config

    Destination filename [startup-config]?

    Building configuration...

    [OK]

    2nd_switch#

    SWITCH LANTAI 3

    Switch>enable

    Switch#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    Switch(config)#hostname 3rd_switch

    3rd_switch(config)#enable secret switch3

    3rd_switch(config)#line console 0

    3rd_switch(config-line)#password console3

    3rd_switch(config-line)#login

    3rd_switch(config-line)#exit

    3rd_switch(config)#line vty 0 15

    3rd_switch(config-line)#password telnet3

    3rd_switch(config-line)#login

    3rd_switch(config-line)#exit

    3rd_switch(config)#service password-encryption

    3rd_switch(config)#interface fastEthernet 0/1

    3rd_switch(config-if)#speed auto

    3rd_switch(config-if)#duplex auto

  • 7/30/2019 M3109025_Ellen

    12/20

  • 7/30/2019 M3109025_Ellen

    13/20

    !

    enable secret 5 $1$mERr$T0W8JE3P1lk6GYTN.bfJt1

    !

    !

    !

    interface FastEthernet0/1

    switchport mode trunk

    !

    interface FastEthernet0/2

    switchport access vlan 8

    switchport mode access

    !

    interface FastEthernet0/3

    switchport access vlan 9

    switchport mode access

    !

    interface FastEthernet0/4

    switchport access vlan 10

    switchport mode access

    !

    interface Vlan1

    no ip address

    shutdown

    !

    !

    line con 0

    password 7 082243401A16091241

    login

    !

    line vty 0 4

    password 7 08354942071C1144

    login

    line vty 5 15

    password 7 08354942071C1144

    login

  • 7/30/2019 M3109025_Ellen

    14/20

    !

    !

    end

    3rd_switch#exit

    3rd_switch con0 is now available

    Press RETURN to get started.

    User Access Verification

    Password:

    3rd_switch>enable

    Password:

    3rd_switch#copy running-config startup-config

    Destination filename [startup-config]?

    Building configuration...

    [OK]

    3rd_switch#

    SWITCH LANTAI 4

    Switch>enable

    Switch#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    Switch(config)#hostname 4th_switch

    4th_switch(config)#enable secret switch4

    4th_switch(config)#line console 0

    4th_switch(config-line)#password console4

    4th_switch(config-line)#login

    4th_switch(config-line)#exit

    4th_switch(config)#line vty 0 15

    4th_switch(config-line)#password telnet4

    4th_switch(config-line)#login

    4th_switch(config-line)#exit

    4th_switch(config)#service password-encryption

    4th_switch(config)#interface fastEthernet 0/1

    4th_switch(config-if)#speed auto

    4th_switch(config-if)#duplex auto

  • 7/30/2019 M3109025_Ellen

    15/20

    4th_switch(config-if)#switchport mode trunk

    4th_switch(config-if)#exit

    4th_switch(config)#vlan 11

    4th_switch(config-vlan)#name vlan11

    4th_switch(config-vlan)#exit

    4th_switch(config)#interface fastEthernet 0/2

    4th_switch(config-if)#switchport mode access

    4th_switch(config-if)#switchport access vlan 11

    4th_switch(config-if)#exit

    4th_switch(config)#vlan 12

    4th_switch(config-vlan)#name vlan12

    4th_switch(config-vlan)#exit

    4th_switch(config)#interface fastEthernet 0/3

    4th_switch(config-if)#switchport mode access

    4th_switch(config-if)#switchport access vlan 12

    4th_switch(config-if)#exit

    4th_switch(config)#exit

    %SYS-5-CONFIG_I: Configured from console by console

    4th_switch#show running-config

    Building configuration...

    Current configuration : 1218 bytes

    !

    version 12.1

    no service timestamps log datetime msec

    no service timestamps debug datetime msec

    service password-encryption

    !

    hostname 4th_switch

    !

    enable secret 5 $1$mERr$nYFNUEhMhlR9JEBklfR87/

    !

    !

    !

    interface FastEthernet0/1

    switchport mode trunk

  • 7/30/2019 M3109025_Ellen

    16/20

    !

    interface FastEthernet0/2

    switchport access vlan 11

    switchport mode access

    !

    interface FastEthernet0/3

    switchport access vlan 12

    switchport mode access

    !

    interface Vlan1

    no ip address

    shutdown

    !

    !

    line con 0

    password 7 082243401A16091246

    login

    !

    line vty 0 4

    password 7 08354942071C1143

    login

    line vty 5 15

    password 7 08354942071C1143

    login

    !

    !

    end

    4th_switch#exit

    4th_switch con0 is now available

    Press RETURN to get started.

    User Access Verification

    Password:

    4th_switch>enable

    Password:

    4th_switch#copy running-config startup-config

  • 7/30/2019 M3109025_Ellen

    17/20

    Destination filename [startup-config]?

    Building configuration...

    [OK]

    4th_switch#

    ROUTER UTAMA

    Current configuration : 2014 bytes

    !

    version 12.4

    no service timestamps log datetime msec

    no service timestamps debug datetime msec

    service password-encryption

    !

    hostname router_utama

    !

    !

    !

    enable secret 5 $1$mERr$ybp0cp8AlLPPe.WNzagEt/

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

  • 7/30/2019 M3109025_Ellen

    18/20

    interface FastEthernet0/0

    no ip address

    duplex auto

    speed auto

    !

    interface FastEthernet0/0.2

    description connect to vlan 2

    encapsulation dot1Q 2

    ip address 192.168.10.1 255.255.255.0

    !

    interface FastEthernet0/0.3

    description connect to vlan 3

    encapsulation dot1Q 3

    ip address 192.168.11.1 255.255.255.0

    !

    interface FastEthernet0/0.4

    description connect to vlan 4

    encapsulation dot1Q 4

    ip address 192.168.12.1 255.255.255.0

    !

    interface FastEthernet0/0.5

    description connect to vlan 5

    encapsulation dot1Q 5

    ip address 192.168.13.1 255.255.255.0

    !

    interface FastEthernet0/0.6

    description connect to vlan 6

    encapsulation dot1Q 6

    ip address 192.168.14.1 255.255.255.0

    !

    interface FastEthernet0/0.7

    description connect to vlan 7

    encapsulation dot1Q 7

    ip address 192.168.15.1 255.255.255.0

    !

  • 7/30/2019 M3109025_Ellen

    19/20

    interface FastEthernet0/0.8

    description connect to vlan 8

    encapsulation dot1Q 8

    ip address 192.168.16.1 255.255.255.0

    !

    interface FastEthernet0/0.9

    description connect to vlan 9

    encapsulation dot1Q 9

    ip address 192.168.17.1 255.255.255.0

    !

    interface FastEthernet0/0.10

    description connect to vlan 10

    encapsulation dot1Q 10

    ip address 192.168.18.1 255.255.255.0

    !

    interface FastEthernet0/0.11

    description connect to vlan 11

    encapsulation dot1Q 11

    ip address 192.168.19.1 255.255.255.0

    !

    interface FastEthernet0/0.12

    description connect to vlan 12

    encapsulation dot1Q 12

    ip address 192.168.20.1 255.255.255.0

    !

    interface FastEthernet0/1

    no ip address

    duplex auto

    speed auto

    shutdown

    !

    interface Vlan1

    no ip address

    shutdown

    !

  • 7/30/2019 M3109025_Ellen

    20/20

    ip classless

    !

    !

    !

    no cdp run

    !

    !

    !

    !

    !

    line con 0

    password 7 082243401A160912000419102F39

    login

    line vty 0 4

    password 7 08354942071C11051D1E180138

    login

    line vty 5 15

    password 7 08354942071C11051D1E180138

    login

    !

    !

    !

    end

    KETERANGAN

    Setelah selesai sett ing semua jaringan, ternyata masih ada kesalahan pada l ink router

    u tama dan sw itch u tam a, seh ingga be lum d apa t connec t dan be lum b isa melakukan

    ping.