Oke Langsung aja liat Topologinya ya
Langsung aja Kita konfigurasi gan
Router :
Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int gig0/0.10 Router(config-subif)#en do 10 Router(config-subif)#ip add 200.100.10.1 255.255.255.252 Router(config-subif)#int gig0/0.20 Router(config-subif)#en do 20 Router(config-subif)#ip add 200.100.20.1 255.255.255.252 Router(config-subif)# Router(config)#int gig0/0 Router(config-if)#no sh 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 %LINK-5-CHANGED: Interface GigabitEthernet0/0.20, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.20, changed state to up Router(config-if)#
Switch :
Switch>en Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 10 Switch(config-vlan)#name TKJ Switch(config-vlan)#vlan 20 Switch(config-vlan)#name MM Switch(config-vlan)# Switch(config-vlan)#int fa0/2 Switch(config-if)#sw mod ac Switch(config-if)#sw ac vl 10 Switch(config-if)#int fa0/3 Switch(config-if)#sw mod ac Switch(config-if)#sw ac vl 20 Switch(config-if)# Switch(config-if)#int fa0/1 Switch(config-if)#sw mod tr Switch(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Switch(config-if)#
PC0 :
IP : 200.100.10.2
Netmask : 255.255.255.252
Gateway : 200.100.10.1
PC1 :
IP : 200.100.20.2
Netmask : 255.255.255.252
Gateway : 200.100.20.1
Oke Sekian Terima Kasih