test

Topologi Configuring Router-on-a-Stick Inter-VLAN Routing

4
3
Switch 1 (S1)
S1>enable
S1#config terminal
S1(config)#vlan 10
S1(config-vlan)#vlan 30
S1(config-vlan)#exit
S1(config)#int fa0/11
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 10
S1(config-if)#int fa0/6
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 30
S1(config-if)#exit
S1(config)#int g0/1
S1(config-if)#switchport mode trunk
S1(config)#exit


S1#show vlan brief
    
    VLAN Name Status Ports
    —- ——————————– ——— ——————————-
    1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
    Fa0/5, Fa0/7, Fa0/8, Fa0/9
    Fa0/10, Fa0/12, Fa0/13, Fa0/14
    Fa0/15, Fa0/16, Fa0/17, Fa0/18
    Fa0/19, Fa0/20, Fa0/21, Fa0/22
    Fa0/23, Fa0/24, Gig0/1, Gig0/2
    10 VLAN0010 active Fa0/11
    30 VLAN0030 active Fa0/6
    1002 fddi-default active
    1003 token-ring-default active
    1004 fddinet-default active
    1005 trnet-default active
Router 1 (R1)
R1>enable
R1#config terminal
R1(config)#int g0/0.10
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 172.17.10.1 255.255.255.0
R1(config-subif)#no shutdown
R1(config-subif)#int g0/0.30
R1(config-subif)#encapsulation dot1Q 30
R1(config-subif)#ip add 172.17.30.1 255.255.255.0
R1(config-subif)#no shutdown
R1(config)#int g0/0
R1(config-if)#no shutdown

Topologi Configuring Router-on-a-Stick Inter-VLAN Routing Topologi Configuring Router-on-a-Stick Inter-VLAN Routing Reviewed by DarkDigital on 2:32 PM Rating: 5
Powered by Blogger.