ROUTING ON A STICK





ROUTING ON A STICK




Nama
Ip Address
Netmask
Gateway
Pc0
100.100.100.2
255.255.255.0
100.100.100.1
Pc1
100.100.100.3
255.255.255.0
100.100.100.1
Pc2
100.100.100.4
255.255.255.0
100.100.100.1
Pc3
111.111.111.2
255.255.255.0
111.111.111.1
Pc4
111.111.111.3
255.255.255.0
111.111.111.1
Pc5
111.111.111.4
255.255.255.0
111.111.111.1
Pc6
222.222.222.2
255.255.255.0
222.222.222.1
Pc7
222.222.222.3
255.255.255.0
222.222.222.1
Pc8
222.222.222.4
255.255.255.0
222.222.222.1

1.      Kita konfigurasi routernya terlebih dahulu seperti ini:



 
Konfigurasinya:
Router(config)#int fa0/0
Router(config-if)#no sh
Router(config-if)#ex
Router(config)#
Router(config)#int fa0/0.10
Router(config-subif)#encapsulation  dot1Q 10
Router(config-subif)#ip addresss 100.100.100.1 255.255.255.0
Router(config)#int fa0/0.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 111.111.111.1 255.255.255.0
Router(config)#int fa0/0.30
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 222.222.222.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#ex
Router(config)#end

Verifikasi Router:



 
Router(config)#do sh run
Building configuration...
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 100.100.100.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 111.111.111.1 255.255.255.0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 222.222.222.1 255.255.255.0

2.      Konfigurasi Switchnya:



 
Switch#en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.

a.       Buat nama vlan nya:

Switch(config)#vlan 10
Switch(config-vlan)#name TKJ
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name RPL
Switch(config-vlan)#vlan 30
Switch(config-vlan)#name MM
Switch(config-vlan)#ex

Verifikasi Nama VLAN :

Switch(config)#do sh vlan
VLAN Name                          Status              Ports
---- -------------------------------- --------- -------------------------------
1    default                               active               Fa0/11, 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   TKJ                                  active               Fa0/2, Fa0/3, Fa0/4
20   RPL                                  active               Fa0/5, Fa0/6, Fa0/7
30   MM                                  active               Fa0/8, Fa0/9, Fa0/10

b.      Mengarahkan port int fa0/2 - int fa0/10 ke vlan



 
Switch(config)#int fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#no sh
Switch(config-if)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#no sh
Switch(config-if)#int fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#no sh
Switch(config-if)#int fa0/5
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#no sh
Switch(config-if)#int fa0/6
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#no sh
Switch(config-if)#int fa0/7
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#no sh
Switch(config-if)#int fa0/8
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#no sh
Switch(config-if)#int fa0/9
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#no sh
Switch(config-if)#int fa0/10
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#no sh

c.       Lalu pada int fa0/1 kita beri mode trunk
Switch(config-if)#int fa0/1
Switch(config-if)#switchport mode trunk
Share:

Tidak ada komentar:

Posting Komentar

recent posts

banner image

Popular Posts

Recent Posts

Unordered List

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.
  • Vestibulum auctor dapibus neque.

Pages

Theme Support

Need our help to upload or customize this blogger template? Contact me with details about the theme customization you need.

NURDIANSYAH

IDENTITAS