Professional Documents
Culture Documents
Course Introduction
1.Intro to Switch & VLAN
2.Switch Trunking
3.Inter VLAN Routing
4.Redundancy
5.Network Services
6.IP Addressing (Refresh)
7.Static Routing
8.EIGRP / OSPF
First Day
Second Day
Second Day ( If time permits)
2
Course Introduction
3
1. Intro to Switch & VLAN
LAN Hierarchical Network
4
How Switch Forward Packet
Broadcast Domain
What is VLAN?
Controlling Broadcast Domain with VLAN
Lab 1 Topology
9
Lab 1 - About
Switch intro
10
Lab 1 – Config Reference
Save Device Config: Generate key for SSH: contoh:
write | copy run start Crypto key generate rsa
interface fa0/1
Enable Logging:
service timestamps log datetime msec create VLAN: switchport access vlan 10
<Message> &
contoh:
line con 0
login local
line vty 0 4
exec-timeout 15 0
login local
12
2. Switch Trunking
Multiple VLAN on one connection
Virtual Trunking Protocol (VTP)
Lab 2 Topology
15
Lab 2 - About
Switch Trunk
Goal:
Steps:
Test Scenarion:
16
Lab 2 – Config Reference
contoh:
interface fa0/1
17
3. Inter-VLAN Routing
Router on a Stick
Switch-based inter-VLAN Routing
Lab 3 Topology
20
Lab 3 - About
Goal:
Steps:
1. Add 1 L3 Switch
Scenario Test:
contoh:
interface fa0/1
ip routing
interface Vlan<vlan-no>
contoh:
interface Vlan10
30
Lab 4 - About
Redundancy
1. PC with different VLAN can still communicate upon a gateway 1. From a PC, Ping -t another-PC
failure
2. terminate access switch uplink
31
Lab 4 – Config Reference
Show Spanning-tree condition: Set Etherchannel Trunk using LACP: Show etherchannel condition:
no <existing-config>
Set Spanning Tree to mode Rapid PVST: channel-group >group-no> mode active
Set access switchport to use portfast & switchport trunk encap dot1q
BPDU Guard:
switchport mode trunk
interface <interface-name>
spanning-tree portfast
spanning-tree bpduguard enable contoh:
contoh: no sw mode
interface port-channel 1
32
set HSRP for a gateway: contoh:
33
5. Network Services
DHCP Operation
DNS Operation
Lab 5 Topology
36
Lab 5 - About
Network Services
8. Deploy 3 Servers: Web, DNS, DHCP, and connect it to server
Goal: switch
1. Deploy Web Server to be accessible from internal user 9. Configure Web Server: IP Address, Gateway, HTML
2. Deploy network segment for guest with wireless & DHCP IP 10. Configure DNS Server: IP Address, Gateway, DNS entry for
Assignment www.ibm-jti.com, disable web
1. on Core Switch, create vlan 100 (svr), set interface vlan 100:
IP address and HSRP 12. On 1 access switch, create vlan 200 (guest), set fa0/24 to
access vlan 200
2. on Core Switch, create vlan 200 (guest), set interface vlan
200: IP address, HSRP, ip helper-address 13. Deploy Access Point, connect the uplink fo that access port
of access switch
interface <interface-name-where-broadcast-from-client-
received>
ip helper-address <dhcp-server-ip>
contoh:
interface vlan200
ip helper-address 192.168.100.103
38
6. IP Addressing
IP Address Class
IPv4 Calculation – IPv4 and Subnet Mask
Example: 192.168.1.0
n = number of 0 bits
num of hosts available= 2 n
usable host = available host – 2
Usable Host = 28 – 2 = 254 Host
IPv4 Calculation – Determine Network & Broadcast Address
• Network Address :
Convert both the IP address and subnet into binary, and use logical AND
• Broadcast Address :
Convert both the Network address and subnet into binary, use logical EQUALITY
Complex
way and
take long
time !
IPv4 Calculation – Determine Network & Broadcast Address – Quick Way
Class C
Prefix /24 /25 /26 /27 /28 /29 /30 /31 /32
4th Octet 0 128 192 224 240 248 252 254 255
Mask
Host 128 64 32 16 8 4 2 1
Differenc
e
Host 256 128 64 32 16 8 4 2 1
Network Address: (Look at Host, Find the closest Low multiplier from the IP Address)
192.168.22.32
Broadcast Address: (Look at Net Address, Add the Host, and minus 1 address)
192.168.2.2.63
IPv4 Calculation – Determine Network & Broadcast Address – Quick Way
Class A & B, still refer to this table! – assume +8 prefix for class B, and +16 prefix for class A
Prefix /24 /25 /26 /27 /28 /29 /30 /31 /32
4th Octet 0 128 192 224 240 248 252 254 255
Mask
Host 128 64 32 16 8 4 2 1
Differenc
e
Host 256 128 64 32 16 8 4 2 1
Broadcast Address: (Look at Net Address, Add the Host, and minus 1 address)
=118.97.80.0 - 1
=118.97.79.255
Variable Length Subnet Mask (VLSM)
7. Static Route
What is static routing?
49
Lab 7 - About
Static Route
50
Lab 7 – Config Reference
contoh:
interface fa0/3
no switchport
contoh:
contoh:
51
ip route 0.0.0.0 0.0.0.0 10.0.0.4
8. Dynamic Routing - EIGRP
Type of Dynamic Routing Protocols
How EIGRP Replicate Routing Tables
EIGRP Metric – used to determine the best route
Mostly based on bandwidth and delay
EIGRP Topology Table
To determine the best route and the backup route
Lab 8 Topology
56
Lab 8 - About
EIGRP
Test scenario,
Goal: 1. PC in service point can access www.ibm-jti.com
2. Admin-PC can ping PC at SP
1. PC in service point able to access www.ibm-jti.com through
WAN
Steps:
57
Lab 8 – Config Reference
no port-channel <port-channel no.> ip route <destination network> <subnet mask> <next hop | exit interface>
no sw
contoh:
no interface port-channel 1
no switchport
no switchport mode
no trunk encap
port-channel 1
no sw
58
ip address 192.168.254.1 255.255.255.252
show routing table:
Activate EIGRP:
show ip route
router eigrp <AS-no>
no auto-summary
show EIGRP topology:
network <network-address> [<wildcard>]
show ip eigrp topology
contoh:
router eigrp 1
no auto-summary
network 192.168.10.1
network 192.168.20.1
redistribute static
contoh:
router eigrp 1
redistribute static
59
9. Dynamic Routing - OSPF
How OSPF Replicate Routing Tables
OSPF Metric – used to determine the best route
OSPF Metric – used to determine the best route
Lab 9 Topology
63
Lab 9 - About
OSPF
Goal:
Steps:
Test scenario,
default-information originate
contoh:
router ospf 1
default-information originate
Activate OSPF:
contoh:
router ospf 1
65