adapun konfigurasi nya adalah sebagai berikut :
Konfigurasi PC0
IP ADDRESS : 192.168.10.1
NETMASK :255.255.255.0
GATEWAY :192.168.10.100
|
Konfigurasi PC1
IP ADDRESS : 192.168.10.2
NETMASK :255.255.255.0
GATEWAY :192.168.10.100
|
Konfigurasi PC2
IP ADDRESS : 192.168.20.1
NETMASK :255.255.255.0
GATEWAY :192.168.20.100
|
Konfigurasi PC3
IP ADDRESS : 192.168.20.2
NETMASK :255.255.255.0
GATEWAY :192.168.20.100
|
Konfigurasi PC4
IP ADDRESS : 192.168.30.1
NETMASK :255.255.255.0
GATEWAY :192.168.30.100
|
Konfigurasi PC5
IP ADDRESS : 192.168.30.2
NETMASK :255.255.255.0
GATEWAY :192.168.30.100
|
Pengaturan kecepatan
dan jenis transfer data pada switch
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fa0/1
Switch(config-if)#speed auto
Switch(config-if)#duplex auto
Switch(config-if)#interface fa0/2
Switch(config-if)#speed auto
Switch(config-if)#duplex auto
Switch(config-if)#interface fa0/3
Switch(config-if)#speed auto
Switch(config-if)#duplex auto
Switch(config-if)#interface fa0/4
Switch(config-if)#speed auto
Switch(config-if)#duplex auto
Switch(config-if)#interface fa0/5
Switch(config-if)#speed auto
Switch(config-if)#duplex auto
Switch(config-if)#exit
Switch(config)#exit
Penamaan vlan
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#name administrasi
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#name marketing
Switch(config-vlan)#exit
Switch(config)#vlan 4
Switch(config-vlan)#name pendidikan
Switch(config-vlan)#exit
Switch(config)#exit
Switch#show vlan brief
Pengaturan konfigurasi vlan
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
Switch(config)#interface fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
Switch(config)#interface fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#exit
Switch(config)#interface fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#exit
Switch(config)#interface fa0/5
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 4
Switch(config-if)#exit
Switch(config)#interface fa0/6
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 4
Switch(config-if)#exit
Switch(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Switch#show vlan brief
VLAN Name
Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16,
Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/1, Gig1/2
2 administrasi active Fa0/1, Fa0/2
3 marketing active Fa0/3,
Fa0/4
4 pendidikan active Fa0/5,
Fa0/6
1002 fddi-default
active
1003 token-ring-default
active
1004 fddinet-default
active
1005 trnet-default
active
Pengaturan jenis port trunk pada
switch
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fa0/7
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Konfigurasi router
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip address 192.168.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 fa0/0.2
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2,
changed state to upRouter(config-subif)#enca
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 192.168.10.100 255.255.255.0
Router(config-subif)#interface fa0/0.3
%LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 192.168.20.100 255.255.255.0
Router(config-subif)#interface fa0/0.4
%LINK-5-CHANGED: Interface FastEthernet0/0.4, changed state to up
Router(config-subif)#encapsulation dot1Q 4
Router(config-subif)#ip address 192.168.30.100 255.255.255.0
Router(config-subif)#exit
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
C 192.168.1.0/24 is directly
connected, FastEthernet0/0
C 192.168.10.0/24 is directly
connected, FastEthernet0/0.2
C 192.168.20.0/24 is directly
connected, FastEthernet0/0.3
C 192.168.30.0/24 is directly
connected, FastEthernet0/0.4
Router#
Indikator keberhasilan : Setiap komputer dalam VLAN dapat saling terhubung
(Riki Nuryadin)
No comments:
Post a Comment