Konfigurasikan Legancy Inter-VLAN Routing
SKEMA JARINGAN
SETTING PC 0 :
IP : 172.17.13.21
SUBNET : 255.255.255.0
GATEWAY : 172.17.13.1
SETTING PC 1 :
IP : 172.17.30.23
SUBNET : 255.255.255.0GATEWAY : 172.17.30.1
Setting Switch
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 130
Switch(config-vlan)#name Seratustigapuluh
Switch(config-vlan)#vlan 150
Switch(config-vlan)#name Seratuslimapuluh
Switch(config-vlan)#exit
Switch(config)#interface fa0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#interface fa0/2
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#interface fa0/11
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 130
Switch(config-if)#exit
Switch(config)#interface fa0/6
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 150
Switch(config-if)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Setting Router
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0.130
Router(config-subif)#encapsulation dot1Q 130
Router(config-subif)#ip add 172.17.13.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/1.150
Router(config-subif)#ip add 172.17.30.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, changed state to up
exit
Router(config)#interface fa0/1
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet1/0.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.30, changed state to up
exit
Router(config)#