Cara fMenyatukan Dua Vlan yang berbeda di Packet Tracer |

  1. Pendahuluan
    1. Latar Belakang

    2. Pokok Bahasan

    3. Tujuan

    4. Alat

    5. Waktu

  2. Isi
    1. Pembahasan

    2. Kesimpulan

  3. Penutup

  4. Referensi





Router>
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add 192.168.100.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)#ex
Router(config)#int f0/0
Router(config-if)#int f0/0.10
Router(config-subif)#
%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

Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip add 192.168.10.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#int f0/0
Router(config-if)#int f0/0.20
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up

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

Router(config-subif)#ip add 192.168.20.1 255.255.255.0

% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.

Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip add 192.168.20.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#


Switch>
Switch>ena
Switch#configure t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#int vl 10
Switch(config-if)#ip add 192.168.10.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#ex
Switch(config)#int vl 20
Switch(config-if)#ip add 192.168.20.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#ex
Switch(config)#int f0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to up

Switch(config-if)#ex
Switch(config)#int f0/4
Switch(config-if)#sw mo access
Switch(config-if)#sw access vlan 20
% Access VLAN does not exist. Creating vlan 20
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up

Switch(config-if)#int f0/2
Switch(config-if)#int r f0/1-2
Switch(config-if-range)#sw mo t
Switch(config-if-range)#sw mo trunk

Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

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

Switch(config-if-range)#
Switch(config-if-range)#ex
Switch(config)#vtp do
Switch(config)#vtp domain 1
Changing VTP domain name from NULL to 1
Switch(config)#vt
Switch(config)#vtp m
Switch(config)#vtp mode s
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console

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

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

Switch#
Switch#conf
Switch#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip d
Switch(config)#de
Switch(config)#def
Switch(config)#defa
Switch(config)#defau
Switch(config)#defaul
Switch(config)#ip defaul
Switch(config)#ip default-gateway 192.168.100.1
Switch(config)#ex
Switch#

Share:

Tidak ada komentar:

Posting Komentar

Translate

Folowers

Popular Posts

Recent Posts

Pages