Jaringan Lanjut, konfigurasi vlan dan sub interface cisco paket tracer

Written By Abdul Wakhid on 1 Oktober 2011 | 04.58.00

image

1. Konfigurasi Router (Router_PUSKOM)
Membuat Password
Router(config)#enable password jarkomlanjut
Router(config)#line console 0
Router(config-line)#password jarkomlanjut
Router(config-line)#login
Router(config)#line vty 0 4
Router(config-line)#password jarkomlanjut
Router(config-line)#login


Membuat sub interface
Router(config)#interface fastEthernet 0/0.1
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1,
Router(config-subif)#encapsulation dot1Q 1
Router(config-subif)#ip address 10.10.10.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.2
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2,
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 10.10.2.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#exit


Menghubungkan vlan ke sub interface
Router(config)#interface fastEthernet 0/0.1
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1,
Router(config-subif)#encapsulation dot1Q 1
Router(config-subif)#ip address 10.10.2.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.2
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2,
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 10.10.10.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#exit


Mengganti hostname
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router_PUSKOM


Menyimpan konfigurasi
Router_PUSKOM#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]


2. Konfigurasi Switch_Utama ( Switch ke Router)
Membuat Password
Switch(config)#enable password jarkomlanjut
Switch(config)#line console 0
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login
Switch(config)#line vty 0 4
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login


Konfigurasi Trunk
Switch_utama(config)#interface FastEthernet0/5
Switch_utama(config-if)#switchport mode trunk


Konfigurasi vlan
Switch(config-vlan)#vlan 2
Switch(config-vlan)#name vlan2
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#name vlan3
Switch(config)#interface fastEthernet 0/6
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-vlan)#vlan 4
Switch(config-vlan)#name vlan4
Switch(config)#interface fastEthernet 0/7
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 4
Switch(config-vlan)#vlan 5
Switch(config-vlan)#name vlan5
Switch(config)#interface fastEthernet 0/8
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 5


Mengganti hostname
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Switch_utama


Menyimpan konfigurasi
Switch_utama#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]


3. Konfigurasi Switch_Lab
Membuat Password
Switch(config)#enable password jarkomlanjut
Switch(config)#line console 0
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login
Switch(config)#line vty 0 4
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login


Konfigurasi vlan
Switch(config-vlan)#vlan 2
Switch(config-vlan)#name vlan2
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#name vlan3
Switch(config)#interface fastEthernet 0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3


Mengganti hostname
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Switch_Lab


Menyimpan konfigurasi
Switch_Lab#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]


Konfigurasi IP Address pada tiap lap
- PC Lab. Jaringan : 192.168.4.1/24
- PC Lab. Pemrograman : 192.168.3.1/24
- PC Lab. Desain : 192.168.2.1/24


4. Konfigurasi Switch_BEM
Membuat Password

Switch(config)#enable password jarkomlanjut
Switch(config)#line console 0
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login
Switch(config)#line vty 0 4
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login

Konfigurasi vlan
Switch(config-vlan)#vlan 2
Switch(config-vlan)#name vlan2
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#name vlan3
Switch(config)#interface fastEthernet 0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-vlan)#vlan 4
Switch(config-vlan)#name vlan5
Switch(config)#interface fastEthernet 0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 4


Mengganti hostname
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Switch_BEM


Menyimpan konfigurasi
Switch_BEM#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]


Konfigurasi IP Address pada tiap Divisi
- PC Divisi.A : 192.168.2.1/24
- PC Divisi.B : 192.168.3.1/24
- PC Divisi.C : 192.168.4.1/24


5. Konfigurasi Switch_MAWA
Membuat Password

Switch(config)#enable password jarkomlanjut
Switch(config)#line console 0
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login
Switch(config)#line vty 0 4
Switch(config-line)#password jarkomlanjut
Switch(config-line)#login


Konfigurasi vlan
Switch(config-vlan)#vlan 2
Switch(config-vlan)#name vlan2
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#name vlan3
Switch(config)#interface fastEthernet 0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3


Mengganti hostname
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Switch_MAWA


Menyimpan konfigurasi
Switch_MAWA#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]


Konfigurasi IP Address tiap Divisi
- PC Divisi.1 : 192.168.2.1/24
- PC Divisi.2 : 192.168.3.1/24


6. Konfigurasi PC ke Sub Interface Router_PUSKOM
a) PC_D3
IP Address : 10.10.10.2/24 Gateway : 10.10.10.1


b) PC_S1
IP Address : 10.10.2.2/24 Gateway : 10.10.2.1

0 komentar:

Posting Komentar

Don't Spam Please !