cisco vlan configuration with vlsm implementation

38
Cisco VLAN Configuration with VLSM Implementation Created By : Fery Junaedi Cukup banyak dokumentasi tentang VLAN yang bisa kita dapatkan di internet, dan ini hanyalah salah satu dokumentasi pelengkap yang ada. Skenario yang akan kita buat kali ini adalah membuat jaringan menggunakan perangkat cisco dengan mengimplementasikan Network Variable Length Subnet Mask. Bagi anda yang belum mempelajari mengenai VLSM bisa mengawali dengan materi mengenai Subnetting IP address dan untuk tingkat lanjut ke VLSM, ini adalah materi yang cukup vital yang mesti anda kuasai ketika anda terjun dalam dunia networking. Simulator Cisco menjadi alternatif terbaik untuk menguji Lab Cisco yang akan kita bangun mengingat mahalnya perangkat cisco. Baik, mari sama-sama kita bangun network VLSM pertama kita. Skenario ini menggunakan 2 buah router dan masing-masing Network dibelakang Router terdiri dari beberapa VLAN yang nantinya semua host bisa saling berkomunikasi antar VLAN dan antar router. Untuk lebih mudahnya berikut tabel alokasi IP address dari network yang kita bangun. Tabel Alokasi IP Address VLSM Router Jakarta Network = 10.10.10.0 / 24 NO VLAN NAME NETWORK NETMASK TOTAL IP USABLE IP 1 VLAN-1 MANAGEMENT 10.0.0.0 255.255.255.0 256 254 2 VLAN-2 TECHNOLOGY 10.10.10.32 255.255.255.240 16 14 3 VLAN-3 TECHNICAL SUPPORT 10.10.10.160 255.255.255.224 32 30 4 VLAN-4 OPERATION 10.10.10.48 255.255.255.240 16 14 Router Bandung Network = 20.10.10.0 / 24 NO VLAN NAME NETWORK NETMASK TOTAL IP USABLE IP 1 VLAN-1 MANAGEMENT 20.0.0.0 255.255.255.0 256 254 2 VLAN-2 TECHNOLOGY 20.10.10.32 255.255.255.240 16 14 3 VLAN-3 TECHNICAL SUPPORT 20.10.10.160 255.255.255.224 32 30 4 VLAN-4 OPERATION 20.10.10.48 255.255.255.240 16 14

Upload: yadi89jkt

Post on 03-Jun-2017

269 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Cisco Vlan Configuration With Vlsm Implementation

Cisco VLAN Configuration with VLSM Implementation Created By : Fery Junaedi

Cukup banyak dokumentasi tentang VLAN yang bisa kita dapatkan di internet, dan ini

hanyalah salah satu dokumentasi pelengkap yang ada. Skenario yang akan kita buat kali

ini adalah membuat jaringan menggunakan perangkat cisco dengan

mengimplementasikan Network Variable Length Subnet Mask. Bagi anda yang belum

mempelajari mengenai VLSM bisa mengawali dengan materi mengenai Subnetting IP

address dan untuk tingkat lanjut ke VLSM, ini adalah materi yang cukup vital yang mesti

anda kuasai ketika anda terjun dalam dunia networking. Simulator Cisco menjadi

alternatif terbaik untuk menguji Lab Cisco yang akan kita bangun mengingat mahalnya

perangkat cisco. Baik, mari sama-sama kita bangun network VLSM pertama kita.

Skenario ini menggunakan 2 buah router dan masing-masing Network dibelakang Router

terdiri dari beberapa VLAN yang nantinya semua host bisa saling berkomunikasi antar

VLAN dan antar router. Untuk lebih mudahnya berikut tabel alokasi IP address dari

network yang kita bangun.

Tabel Alokasi IP Address VLSM

Router Jakarta Network = 10.10.10.0 / 24 NO VLAN NAME NETWORK NETMASK TOTAL IP USABLE IP

1 VLAN-1 MANAGEMENT 10.0.0.0 255.255.255.0 256 254 2 VLAN-2 TECHNOLOGY 10.10.10.32 255.255.255.240 16 14 3 VLAN-3 TECHNICAL SUPPORT 10.10.10.160 255.255.255.224 32 30 4 VLAN-4 OPERATION 10.10.10.48 255.255.255.240 16 14

Router Bandung Network = 20.10.10.0 / 24 NO VLAN NAME NETWORK NETMASK TOTAL IP USABLE IP

1 VLAN-1 MANAGEMENT 20.0.0.0 255.255.255.0 256 254 2 VLAN-2 TECHNOLOGY 20.10.10.32 255.255.255.240 16 14 3 VLAN-3 TECHNICAL SUPPORT 20.10.10.160 255.255.255.224 32 30 4 VLAN-4 OPERATION 20.10.10.48 255.255.255.240 16 14

Page 2: Cisco Vlan Configuration With Vlsm Implementation

SWITCH NAME JKT_Main_SW PORT PORT NO HOST NAME IP ADDRESS NETMASK NUMBER MODE

1 JKT_Dst_SW-1 NO NO F0/4 Trunk 2 JKT_Dst_SW-2 NO NO F0/5 Trunk 3 JKT_Router NO NO F0/1 Trunk 4 VLAN-1 10.0.0.2 255.255.255.0 Vlan1

SWITCH NAME JKT_Dist_SW-1 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 JKT_Room-1 NO NO F0/4 Trunk 2 JKT_Room-2 NO NO F0/5 Trunk 3 JKT_Main_SW NO NO F0/12 Trunk 4 VLAN-1 10.0.0.3 255.255.255.0 Vlan1

SWITCH NAME JKT_Dist_SW-2 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 JKT_Room-3 NO NO F0/4 Trunk 2 JKT_Room-4 NO NO F0/5 Trunk 3 JKT_Main_SW NO NO F0/1 Trunk 4 VLAN-1 10.0.0.6 255.255.255.0 Vlan1

SWITCH NAME JKT_Room-1 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 VLAN-2 10.10.10.34 255.255.255.240 F0/4 Access 2 VLAN-3 10.10.10.162 255.255.255.224 F0/5 Access 3 JKT_Dist_SW-1 NO NO F0/12 Trunk 4 VLAN-1 10.0.0.4 255.255.255.0 Vlan1

SWITCH NAME JKT_Room-2 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 VLAN-2 10.10.10.35 255.255.255.240 F0/4 Access 2 VLAN-3 10.10.10.163 255.255.255.224 F0/5 Access 3 JKT_Dist_SW-1 NO NO F0/1 Trunk 4 VLAN-1 10.0.0.5 255.255.255.0 Vlan1 SWITCH NAME JKT_Room-3 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 VLAN-3 10.10.10.164 255.255.255.224 F0/4 Access 2 VLAN-4 10.10.10.50 255.255.255.240 F0/5 Access 3 JKT_Dist_SW-2 NO NO F0/12 Trunk 4 VLAN-1 10.0.0.7 255.255.255.0 Vlan1 SWITCH NAME JKT_Room-4 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 VLAN-3 10.10.10.165 255.255.255.224 F0/4 Access 2 VLAN-4 10.10.10.51 255.255.255.240 F0/5 Access 3 JKT_Dist_SW-2 NO NO F0/1 Trunk 4 VLAN-1 10.0.0.8 255.255.255.0 Vlan1

Page 3: Cisco Vlan Configuration With Vlsm Implementation

SWITCH NAME Bandung_Main_SW PORT PORT NO HOST NAME IP ADDRESS NETMASK NUMBER MODE

1 Bandung_Dst_SW-1 NO NO F0/4 Trunk 2 Bandung_Dst_SW-2 NO NO F0/5 Trunk 3 Bandung_Router NO NO F0/12 Trunk 4 VLAN-1 20.0.0.2 255.255.255.0 Vlan1

SWITCH NAME Bandung_Dist_SW-1 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 Bandung_Room-1 NO NO F0/4 Trunk 2 Bandung_Room-2 NO NO F0/5 Trunk 3 Bandung_Main_SW NO NO F0/1 Trunk 4 VLAN-1 20.0.0.3 255.255.255.0 Vlan1

SWITCH NAME Bandung_Dist_SW-2 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 Bandung_Room-3 NO NO F0/4 Trunk 2 Bandung_Room-4 NO NO F0/5 Trunk 3 Bandung_Main_SW NO NO F0/12 Trunk 4 VLAN-1 20.0.0.6 255.255.255.0 Vlan1

SWITCH NAME Bandung_Room-1 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 VLAN-3 20.10.10.162 255.255.255.224 F0/4 Access 2 VLAN-4 20.10.10.50 255.255.255.240 F0/5 Access 3 Bandung_Dist_SW-1 NO NO F0/12 Trunk 4 VLAN-1 20.0.0.4 255.255.255.0 Vlan1

SWITCH NAME Bandung_Room-2 PORT PORT

NO HOST NAME IP ADDRESS NETMASK NUMBER MODE 1 VLAN-2 20.10.10.34 255.255.255.240 F0/4 Access 2 VLAN-4 20.10.10.51 255.255.255.240 F0/5 Access 3 Bandung_Dist_SW-1 NO NO F0/1 Trunk 4 VLAN-1 20.0.0.5 255.255.255.0 Vlan1

SWITCH NAME Bandung_Room-3 PORT PORT NO HOST NAME IP ADDRESS NETMASK NUMBER MODE

1 VLAN-2 20.10.10.35 255.255.255.240 F0/4 Access 2 VLAN-4 20.10.10.52 255.255.255.240 F0/5 Access 3 Bandung_Dist_SW-2 NO NO F0/12 Trunk 4 VLAN-1 20.0.0.7 255.255.255.0 Vlan1

SWITCH NAME Bandung_Room-4 PORT PORT NO HOST NAME IP ADDRESS NETMASK NUMBER MODE

1 VLAN-3 20.10.10.163 255.255.255.224 F0/4 Access 2 VLAN-4 20.10.10.53 255.255.255.240 F0/5 Access 3 Bandung_Dist_SW-2 NO NO F0/1 Trunk 4 VLAN-1 20.0.0.8 255.255.255.0 Vlan1

Page 4: Cisco Vlan Configuration With Vlsm Implementation

NETWORK TOPOLOGY

CONFIGURATION BEHIND ROUTER JAKARTA

Jakarta_Router Configuration Jakarta_Router Con0 is now available Press RETURN to get started! User Access Verification Password: Jakarta_Router>ena Password: Jakarta_Router#show run

Page 5: Cisco Vlan Configuration With Vlsm Implementation

Building configuration... Current configuration : 874 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Jakarta_Router ! boot-start-marker boot-end-marker ! ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! no aaa new-model ! ! ip cef ! ! ! ! ! ip subnet-zero ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 no ip address no ip directed-broadcast ! interface FastEthernet0/0.1 description Internal VLAN Gateway encapsulation dot1Q 1 ip address 10.0.0.1 255.255.255.0

Page 6: Cisco Vlan Configuration With Vlsm Implementation

! interface FastEthernet0/0.2 description Techology_Gateway_Jakarta encapsulation dot1Q 2 ip address 10.10.10.33 255.255.255.240 ! interface FastEthernet0/0.3 description Technical_Support_Gateway_Jakarta encapsulation dot1Q 3 ip address 10.10.10.161 255.255.255.224 ! interface FastEthernet0/0.4 description Operation_Gateway_Jakarta encapsulation dot1Q 4 ip address 10.10.10.49 255.255.255.240 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/0/0 description WAN Jakarta_Router to Bandung_Router ip address 10.10.10.101 255.255.255.252 no ip directed-broadcast clockrate 56000 ! interface Serial0/0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/1/1 no ip address no ip directed-broadcast shutdown ! ! ip classless no ip http server no ip http secure-server

Page 7: Cisco Vlan Configuration With Vlsm Implementation

ip route 0.0.0.0 0.0.0.0 10.10.10.102 ! ! ! ! ! ! control-plane ! ! ! ! line con 0 password fery login line aux 0 line vty 0 4 login line vty 5 1180 login ! scheduler allocate 20000 1000 ! end Jakarta_Router#

JKT_Main_SW Configuration JKT_Main_SW Con0 is now available Press RETURN to get started! User Access Verification Password: JKT_Main_SW>ena Enter password: **** JKT_Main_SW#show run

Page 8: Cisco Vlan Configuration With Vlsm Implementation

Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname JKT_Main_SW ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 description "Trunk To Jakarta_Router" switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 description "Trunk Distribution_SW_JKT1" switchport mode trunk ! interface FastEthernet0/5 description "Trunk to Distribution_SW_JKT_2" switchport mode trunk ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 !

Page 9: Cisco Vlan Configuration With Vlsm Implementation

interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 10.0.0.2 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! interface Vlan4 no ip address no ip route-cache ! ip default-gateway 10.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end JKT_Main_SW#

Page 10: Cisco Vlan Configuration With Vlsm Implementation

JKT-Distribution_SW_1 Configuration JKT_Distribution_SW-1 Con0 is now available Press RETURN to get started! User Access Verification Password: JKT_Distribution_SW-1>ena Enter password: **** JKT_Distribution_SW-1#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname JKT_Distribution_SW-1 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport mode trunk ! interface FastEthernet0/5 switchport mode trunk !

Page 11: Cisco Vlan Configuration With Vlsm Implementation

interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 switchport mode trunk ! interface Vlan1 ip address 10.0.0.3 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! interface Vlan4 no ip address no ip route-cache ! ip default-gateway 10.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end JKT_Distribution_SW-1#

Page 12: Cisco Vlan Configuration With Vlsm Implementation

JKT-Distribution_SW_2 Configuration

JKT_Distribution_SW-2 Con0 is now available Press RETURN to get started! User Access Verification Password: JKT_Distribution_SW-2>ena Enter password: **** JKT_Distribution_SW-2#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname JKT_Distribution_SW-2 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 description "Trunk To JKT_Main_SW" switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3

Page 13: Cisco Vlan Configuration With Vlsm Implementation

! interface FastEthernet0/4 description "Trunk To JKT_Room-3" switchport mode trunk ! interface FastEthernet0/5 description "Trunk to JKT_Room-4" switchport mode trunk ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 10.0.0.6 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! ip default-gateway 10.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end JKT_Distribution_SW-2#

Page 14: Cisco Vlan Configuration With Vlsm Implementation

JKT-Room-1 Configuration

JKT_Room-1 Con0 is now available Press RETURN to get started! User Access Verification Password: JKT_Room-1>ena Enter password: **** JKT_Room-1#sh JKT_Room-1#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname JKT_Room-1 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport access vlan 2 ! interface FastEthernet0/5

Page 15: Cisco Vlan Configuration With Vlsm Implementation

switchport access vlan 3 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 10.0.0.4 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! ip default-gateway 10.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end JKT_Room-1#

Page 16: Cisco Vlan Configuration With Vlsm Implementation

JKT-Room-2 Configuration JKT_Room-2 Con0 is now available Press RETURN to get started! User Access Verification Password: Password: JKT_Room-2>ena Enter password: **** JKT_Room-2#sh JKT_Room-2#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname JKT_Room-2 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport access vlan 2 ! interface FastEthernet0/5

Page 17: Cisco Vlan Configuration With Vlsm Implementation

switchport access vlan 3 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 10.0.0.5 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! ip default-gateway 10.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end JKT_Room-2#

Page 18: Cisco Vlan Configuration With Vlsm Implementation

JKT-Room-3 Configuration JKT_Room-3 Con0 is now available Press RETURN to get started! User Access Verification Password: JKT_Room-3>ena Enter password: **** JKT_Room-3#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname JKT_Room-3 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport access vlan 3 ! interface FastEthernet0/5 switchport access vlan 4 ! interface FastEthernet0/6

Page 19: Cisco Vlan Configuration With Vlsm Implementation

! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 description "Trunk To JKT_Distribution_SW-2" switchport mode trunk ! interface Vlan1 ip address 10.0.0.7 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! interface Vlan4 no ip address no ip route-cache ! ip default-gateway 10.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end JKT_Room-3#

Page 20: Cisco Vlan Configuration With Vlsm Implementation

JKT-Room-4 Configuration

JKT_Room-4 Con0 is now available Press RETURN to get started! User Access Verification Password: JKT_Room-4>ena Enter password: **** JKT_Room-4#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname JKT_Room-4 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 description "Trunk To JKT_Distribution_SW-2" switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport access vlan 3 ! interface FastEthernet0/5

Page 21: Cisco Vlan Configuration With Vlsm Implementation

switchport access vlan 4 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 10.0.0.8 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! ip default-gateway 10.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end JKT_Room-4#

Page 22: Cisco Vlan Configuration With Vlsm Implementation

CONFIGURATION BEHIND ROUTER BANDUNG

Bandung_Router Configuration Bandung_Router Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Router>ena Password: Bandung_Router#show run Building configuration... Current configuration : 874 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Bandung_Router ! boot-start-marker boot-end-marker ! ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! no aaa new-model ! ! ip cef ! ! ! ! ! ip subnet-zero ! ! !

Page 23: Cisco Vlan Configuration With Vlsm Implementation

! ! ! ! ! ! ! interface FastEthernet0/0 no ip address no ip directed-broadcast ! interface FastEthernet0/0.1 description Gateway VLAN Management encapsulation dot1Q 1 ip address 20.0.0.1 255.255.255.0 ! interface FastEthernet0/0.2 description Technology_Gateway_Bandung encapsulation dot1Q 2 ip address 20.10.10.33 255.255.255.240 ! interface FastEthernet0/0.3 description Technical_Support_Gateway_Bandung encapsulation dot1Q 3 ip address 20.10.10.161 255.255.255.224 ! interface FastEthernet0/0.4 description Operation_Gateway_Bandung encapsulation dot1Q 4 ip address 20.10.10.49 255.255.255.240 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0/1 no ip address no ip directed-broadcast shutdown !

Page 24: Cisco Vlan Configuration With Vlsm Implementation

interface Serial0/1/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/1/1 description WAN Bandung_Router to Jakarta_Router ip address 10.10.10.102 255.255.255.252 no ip directed-broadcast ! ! ip classless no ip http server no ip http secure-server ip route 0.0.0.0 0.0.0.0 10.10.10.101 ! ! ! ! ! ! control-plane ! ! ! ! line con 0 password fery login line aux 0 line vty 0 4 login line vty 5 1180 login ! scheduler allocate 20000 1000 ! end Bandung_Router#

Page 25: Cisco Vlan Configuration With Vlsm Implementation

Bandung_Main_SW Configuration Bandung_Main_SW Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Main_SW>ena Enter password: **** Bandung_Main_SW#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Bandung_Main_SW ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 description "Trunk To Bandung_Distribution_SW-1" switchport mode trunk ! interface FastEthernet0/5 description "Trunk To Bandung_Distribution_SW-2"

Page 26: Cisco Vlan Configuration With Vlsm Implementation

switchport mode trunk ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 description "Trunk To Bandung_Router" switchport mode trunk ! interface Vlan1 ip address 20.0.0.2 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! ! ip default-gateway 20.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end Bandung_Main_SW#

Page 27: Cisco Vlan Configuration With Vlsm Implementation

Bandung_Distribution_SW_1 Configuration

Bandung_Distribution_SW_1 Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Distribution_SW_1>ena Enter password: **** Bandung_Distribution_SW_1#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Bandung_Distribution_SW_1 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 description "Trunk To Bandung_Room-1" switchport mode trunk ! interface FastEthernet0/5 description "Trunk To Bandung_Room-2"

Page 28: Cisco Vlan Configuration With Vlsm Implementation

switchport mode trunk ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 description "Trunk To Bandung_Main_SW" switchport mode trunk ! interface Vlan1 ip address 20.0.0.3 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! ip default-gateway 20.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end Bandung_Distribution_SW_1#

Page 29: Cisco Vlan Configuration With Vlsm Implementation

Bandung_Distribution_SW_2 Configuration Bandung_Distribution_SW_2 Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Distribution_SW_2>ena Enter password: **** Bandung_Distribution_SW_2#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Bandung_Distribution_SW_2 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 description "Trunk To Bandung_Main_SW" switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 description "Trunk To Bandung_Room-3" switchport mode trunk ! interface FastEthernet0/5

Page 30: Cisco Vlan Configuration With Vlsm Implementation

description "Trunk To Bandung_Room-4" switchport mode trunk ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 20.0.0.6 255.255.255.0 no ip route-cache ! ip default-gateway 20.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end Bandung_Distribution_SW_2#

Page 31: Cisco Vlan Configuration With Vlsm Implementation

Bandung_Room-1 Configuration Bandung_Room-1 Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Room-1>ena Enter password: **** Bandung_Room-1#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Bandung_Room-1 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport access vlan 3 ! interface FastEthernet0/5 switchport access vlan 4 ! interface FastEthernet0/6

Page 32: Cisco Vlan Configuration With Vlsm Implementation

! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 20.0.0.4 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! interface Vlan4 no ip address no ip route-cache ! ip default-gateway 20.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 login ! end Bandung_Room-1#

Page 33: Cisco Vlan Configuration With Vlsm Implementation

Bandung_Room-2 Configuration Bandung_Room-2 Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Room-2>ena Enter password: **** Bandung_Room-2#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Bandung_Room-2 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport access vlan 2 ! interface FastEthernet0/5 switchport access vlan 4 !

Page 34: Cisco Vlan Configuration With Vlsm Implementation

interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 20.0.0.5 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! interface Vlan4 no ip address no ip route-cache ! ip default-gateway 20.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end Bandung_Room-2#

Page 35: Cisco Vlan Configuration With Vlsm Implementation

Bandung_Room-3 Configuration

Bandung_Room-3 Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Room-3>ena Enter password: **** Bandung_Room-3#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Bandung_Room-3 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 switchport access vlan 2 ! interface FastEthernet0/5 switchport access vlan 4 !

Page 36: Cisco Vlan Configuration With Vlsm Implementation

interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 description "Trunk to Bandung_Distribution_SW_2" switchport mode trunk ! interface Vlan1 ip address 20.0.0.7 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! ip default-gateway 20.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end Bandung_Room-3#

Page 37: Cisco Vlan Configuration With Vlsm Implementation

Bandung_Room-4 Configuration Bandung_Room-4 Con0 is now available Press RETURN to get started! User Access Verification Password: Bandung_Room-4>ena Enter password: **** Bandung_Room-4#show run Building configuration... Current configuration : 866 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Bandung_Room-4 ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! ip subnet-zero ! ! spanning-tree extend system-id ! ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4

Page 38: Cisco Vlan Configuration With Vlsm Implementation

switchport access vlan 3 ! interface FastEthernet0/5 switchport access vlan 4 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface Vlan1 ip address 20.0.0.8 255.255.255.0 no ip route-cache ! ip default-gateway 20.0.0.1 ip http server ! ! line con 0 password fery login line vty 0 15 password fery login ! end Bandung_Room-4#