R1 - CLI
R1>en
R1#conf t
R1(config)#int g0/1.10
R1(config-subif)#no encapsulation dot1Q
R1(config-subif)#end
R1#conf t
R1(config)#int g0/1.30
R1(config-subif)#encapsulation dot1Q 30
R1(config-subif)#end
R1#conf t
R1(config)#int g0/1.10
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 172.17.10.1 255.255.255.0
R1(config-subif)#end
----------------------------------------------------------------------------------------------------
PC3 - Desktop - IP Configuration
Ganti Default Gateway 172.17.10.1 Menjadi 172.17.30.1
----------------------------------------------------------------------------------------------------
S1 - CLI
S1>en
S1#conf t
S1(config)#int g1/1
S1(config-if)#switchport mode trunk
S1(config-if)#end
----------------------------------------------------------------------------------------------------
R1 - CLI
R1#conf t
R1(config)#int g0/1.10
R1(config-subif)#no shutdown
R1(config-subif)#end
R1>en
R1#conf t
R1(config)#int g0/1.10
R1(config-subif)#no encapsulation dot1Q
R1(config-subif)#end
R1#conf t
R1(config)#int g0/1.30
R1(config-subif)#encapsulation dot1Q 30
R1(config-subif)#end
R1#conf t
R1(config)#int g0/1.10
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 172.17.10.1 255.255.255.0
R1(config-subif)#end
----------------------------------------------------------------------------------------------------
PC3 - Desktop - IP Configuration
Ganti Default Gateway 172.17.10.1 Menjadi 172.17.30.1
----------------------------------------------------------------------------------------------------
S1 - CLI
S1>en
S1#conf t
S1(config)#int g1/1
S1(config-if)#switchport mode trunk
S1(config-if)#end
----------------------------------------------------------------------------------------------------
R1 - CLI
R1#conf t
R1(config)#int g0/1.10
R1(config-subif)#no shutdown
R1(config-subif)#end
1 comments:
vovo
Post a Comment