Download presentation
Presentation is loading. Please wait.
Published byHarold Sullivan Modified over 9 years ago
1
Routing, VLANs and Network Segmentation
2
Nick Rowlett Technology Director – Sparta Schools Cisco Certified Network Administrator Microsoft Certified System Administrator
3
Agenda Open Systems Interconnection Reference Model aka The OSI Model Layer 2 switching protocols; discussion & demonstration Layer 3 protocols; discussion & demonstration Layer 4 – what to know!
4
Why would I want to segment my Network?
5
HIGH SCHOOL ELEMENTARY SCHOOL MIDDLE SCHOOL ADMIN BLDG.
6
vlan 1 vlan 2 TRUNK
7
I: The OSI Reference Model 1: Physical 2: Data Link 3: Network 4: Transport 5: Session 6: Presentation 7: Application LLC / MAC - 00-14-22-AE-EB-B0 IP - 172.20.64.100 Transmission Medium 01001100 / IEEE802.x Application Transport TCP / UDP
8
I: The OSI Reference Model 7: Application 6: Presentation 5: Session 4: Transport 3: Network 2: Data Link 1: Physical Transmission Medium HUB SWITCH – L2 ROUTING - L3 7: Application 6: Presentation 5: Session 4: Transport 3: Network 2: Data Link 1: Physical
9
VLAN Segmentation VLAN: Virtual Local Area Network Collision: When two hosts try to communicate at the exact same time Unicast: Traffic from one host to one host Multicast: Traffic from one hosts to many hosts Broadcast: Traffic sent to all hosts Quality of Service (QoS): guaranteed performance, low latency/errors
10
HUB1 collision domain 1 broadcast domain LAYER 1
11
CSMA/CD
12
CSMA/CD in Real Life
13
SWITCH 1 broadcast domain LAYER 2 3 collision domains (1 per port)
14
LAYER 2 VLAN 1VLAN 2
15
Ethernet IEEE 802.3 Transmitted in frames Uses MAC addresses to communicate
16
MAC Addresses 000e.1eca.f834 00-0e-1e-ca-f8-34 Show mac-address-table MACVLANPORT 000e.1eca.f8349Fa0/1
17
Unicast / Broadcast FF:FF:FF:FF:FF:FFLayer 2:
18
Layer 2 protocols Spanning Tree – STP – RSTP – PVST – PVST+ – MSTP – R-PVST Link Aggregation – LACP – Proprietary
19
Spanning Tree Root bridge election Determine least cost path to root bridge Disable other paths Bridge Protocol Data Units (BPDU) BPDU
20
Spanning Tree Port states: – Blocking – Listening – Learning – Forwarding – Disabled Normal Operation
21
Broadcast!
22
Spanning Tree Topology Change Notification Root TCN ACK Broadcast!
23
Spanning Tree Portfast (or similar) – Configure on KNOWN endpoint ports – Eliminates convergence time to forwarding state
24
DHCP (Anthropomorphized) Can I get an IP address? Anyone? Yo I can give you 192.168.1.1 Sounds good, I’ll use it. OK!
25
ARP Address Resolution Protocol “between” layers 2/3 Windows: arp –a Internet Address Physical Address Type 10.202.60.1 00-24-b5-da-ac-83 dynamic 10.202.61.255 ff-ff-ff-ff-ff-ff static Switches: show arp
26
Layer 3 protocols IPv4 IPv6 IPSec Route sharing protocols – RIP, OSPF, EIGRP ICMP (ping)
27
IP Address (v4) 192.168.1.1 255.255.255.0 (/24) 192.168.1.255 255.255.255.255 Host: Subnet Mask: Broadcast: 192.168.1.0 Network: 192.168.1.254 Gateway:
28
IP Subnetting 192.168.1.1 11000000 1 2 4 816 32 64 128 11000000.10101000.00000001.00000001
29
IP Subnetting Host 11000000.10101000.00000001.00000001 Subnet Mask 11111111.11111111.11111111.00000000 (255)(255)(255)(0)
30
Routing Gateway of Last Resort: 0.0.0.0 via 172.20.0.254 Directly connected: 172.20.16.0/24 is directly connected, Vlan20 Static Route: 192.168.7.0/24 via 172.20.0.1
31
VLAN 1 192.168.1.2 192.168.1.310.10.10.2 10.10.10.3 VLAN 2 BROADCAST LAYER 3
32
LAYER 3 routing VLAN 1 192.168.1.2 192.168.1.310.10.10.2 10.10.10.3 VLAN 210.10.10.1192.168.1.1
33
‘Bad’ layer 3 VLAN 1 192.168.1.2 192.168.1.310.10.10.2 10.10.10.3 BROADCAST
34
INTERNET 10.10.10.2 VLAN 1: 10.10.10.1 VLAN 2: 10.10.20.2 QoS: Prefer VLAN 2 10.10.10.5 10.10.20.17 IP PBX VOICE CIRCUIT 10.10.20.2 TRUNK VLANs 1, 2
35
HIGH SCHOOL ELEMENTARY SCHOOL MIDDLE SCHOOL ADMIN BLDG.
36
ADMINISTRATION BUILDING: NETWORK: 192.168.1.0/24 VLAN 101 – ADMIN_VLAN VLAN 101 IP: 192.168.1.1
37
MIDDLE SCHOOL: NETWORK: 192.168.2.0/24 VLAN 201 – MS_VLAN VLAN 201 IP: 192.168.2.1 192.168.1.0/24
38
ELEMENTARY SCHOOL: NETWORK: 192.168.3.0/24 VLAN 301 – ES_VLAN VLAN 301 IP: 192.168.3.1 192.168.1.0/24 192.168.2.0/24
39
HIGH SCHOOL: NETWORK: 192.168.4.0/24 VLAN 401 – HS_VLAN VLAN 401 IP: 192.168.4.1 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24
40
192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 192.168.4.0/24 10.1.1.2/30 10.1.1.1/30
41
192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 192.168.4.0/24 10.1.2.2/30 10.1.2.1/30
42
192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 192.168.4.0/24 10.1.3.2/30 10.1.3.1/30
43
192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 192.168.4.0/24 LAYER 2 TRUNK LAYER 3 ROUTED
44
10.10.10.2 10.10.10.3 VLAN 110.10.10.1VLAN 2192.168.1.1 INTERNET 10.10.10.4 192.168.1.2 192.168.1.3 TRUNK VLAN1 VLAN2 172.16.0.1 VLAN 3 (guest) VLAN3
45
I: The OSI Reference Model 7: Application 6: Presentation 5: Session 4: Transport 3: Network 2: Data Link 1: Physical Transmission Medium HUB SWITCH – L2 ROUTING - L3 7: Application 6: Presentation 5: Session 4: Transport 3: Network 2: Data Link 1: Physical
46
Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.