Skip to content Skip to sidebar Skip to footer

Konfigurasi Inter vlan




PC 1: 

 IP Address : 172.17.0.21

 Subnet Mask : 255.255.255.0

 Default Gateway : 172.17.0.1



PC 2: 

 IP Address : 172.17.30.23

 Subnet Mask : 255.255.255.0

 Default Gateway : 172.17.30.1



Router: 

 Router>enable

 Router#conf t

 Enter configuration commands, one per line. End with CNTL/Z.

 Router(config)#int fa0/0

 Router(config-if)#ip address 172.17.0.1 255.255.255.0

 Router(config-if)#no sh



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



Router(config-if)#exit

 Router(config)#int fa0/1

 Router(config-if)#ip address 172.17.30.23 255.255.255.0

 Router(config-if)#no sh



Router(config-if)#

 %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up



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



Router(config-if)#exit



Switch: 

 Switch> ena

 Switch# conf t

 Switch(config)#vlan 10

 Switch(config)#vlan 30

 Switch(config)# int range fa0/1, fa0/3

 Switch(config-if-range)# switchport access vlan 10

 Switch(config)# int range fa0/2, fa0/4

 Switch(config-if-range)# switchport access vlan 30

 Switch(config-if-range)# exit

 Switch(config)# exit

 Switch#



 Switch: 

 Switch#show vlan

 Fa0/23, Fa0/24

 Gig0/1, Gig0/2

 10 VLAN0010 active Fa0/1, Fa0/3

 30 VLAN0030 active Fa0/2, Fa0/4

Download File


Post a Comment for "Konfigurasi Inter vlan"