Administrasi Jaringan KONFIGURASI Inter-VLAN Routing

Nama               : Wahyu Nur Pradana

Kelas                : 13.4A.21

NIM                 : 13190209

Mata Kuliah    : Administrasi Jaringan 

 

 

Konfigurasi Router

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface g0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 172.17.10.1 255.255.0.0
Router(config-subif)#exit
Router(config)#interface g0/1.30
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 172.17.38.1 255.255.0.0
Router(config-subif)#exit
Router(config)#interface g0/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface GigabitEthernet0/0.10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.10, changed state to up
Router(config-if)#interface g0/1
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
%LINK-5-CHANGED: Interface GigabitEthernet0/1.38, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.38, changed state to up
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]

Konfigurasi Switch

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name biru
Switch(config-vlan)#vlan 30
Switch(config-vlan)#name kuning
Switch(config-vlan)#exit
Switch(config)#interface g0/1
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

Switch(config-if)#exit
Switch(config)#interface g0/2
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up

Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
Switch#

 

IP PC VLAN 10 

 


IP PC VLAN 30

 


Skema yang sudah jadi

 




Komentar

Postingan populer dari blog ini

JENIS-JENIS GERBANG LOGIKA (LOGIC GATES)

KOMPONEN ELEKTRONIKA (AKTIF DAN PASIF)

Konfigurasi Spanning Tree Protocol