You are on page 1of 38

IEEE COMMUNICATIONS SOCIETY

ComSoc UNI
CICLO DE CHARLAS DE TELECOMUNICACIONES Intro al Networking I 6 de Octubre de 2007

Eduardo Aliaga Caldern ealiaga@comsoc-uni.org 1

Eduardo Aliaga - Resum


ComSoc UNI Founder and Active Member
www.comsoc-uni.org

ComSoc Per Board Member


www.comsoc-peru.org Premio al Mejor ComSoc de Latinoamrica 2007 Postulando al Mejor ComSoc Mundial 2007 Premio al Mejor Captulo de Seccin Per 2006

IEEE Volunteer PMI (Project Management Institute) Volunteer

Eduardo Aliaga - Resum


Bach. of Telecommunications Engineering, Universidad Nacional de Ingeniera Systems Engineer at Softnet Logicalis Per www.la.logicalis.com www.cisco.com/go/partnerlocator

Eduardo Aliaga - Resum


CCSP (Cisco Certified Security Professional) CCNA (Cisco Certified Network Associate) CCDA (Cisco Certified Design Associate) CCNP in progress PMI CAPM (Certified Associate in Project Management)

Whats engineering?
Engineering:
Activity that uses imagination, judgement, integrity, and intellectual discipline in the application of science, technology, mathematics, and practical experience to design, produce, and operate useful objects or processes that meet the needs and desires of humanity Engineers create solutions to problems or improve upon existing solutions According to this, are you real engineers? o de mentiritas noms?

What is telecommunications?
Transmit and receive information, bringing down distance, place and time barriers, not only between humans but also between all kind of devices A world without telecommunications? Impossible ! They need us

Video: NTT DoCoMo Vision Old School Friends

Networking Fundamentals
Networking: Is the practice of linking computing devices together with hardware and software that supports communications across these devices
Cisco 851 Database Router ADSL

PBX

Cisco 7902G 512k 1:1

Cisco 2801 4 FXS Telfono IP para gerencia Database Cisco 2811 con Call Manager Express DMZ Correo y Web Server (Linux)
PBX

1Mb 1:1 1Mb 1:1 512k 1:1

4 FXS

Internet

Cisco 871 Cisco 7902G

Introduction to Networking Devices


IP Phone Hub Switch Internet VPN Firewall Concentrator Access Point Call Manager IPS Router

Wireless Bridge

Wireless Bridge

LAN (Local Area Network)


Computer network covering a small geographic area, like a home, office, or group of buildings. Protocols: Token Ring, FDDI, Ethernet

LAN Topologies

LAN Topologies

LAN Topologies

Original Ethernet Standards


10 BASE 2 (cable length =185m) 10 BASE 5 (cable length = 500m) Coaxial cables, No hubs, no switches, no wiring panel Electrical bus shared among all devices

Original Ethernet Standards


CSMA /CD (Carrier Sense Multiple Access with Collision Detection)

10 BASE T
Use telephone cabling Hubs Topology: physical star, logical bus All devices share a single 10 Mbps bus

10 BASE T
Half duplex Collision Domain

Hubs
Layer 1 Device Repeaters Shared Bandwidth HALF DUPLEX (either transmits or receives at a time) 1 Collision Domain

Layer 2
Trama Ethernet II
(64-1518 bytes)
80 00 20 7A 3F 3E 80 00 20 20 3A AE Direccin MAC Destino Direccin MAC Origen 80 00 EtherType IP, ARP, etc Payload 00 20 20 3A CRC Checksum

HEADER (14 bytes)

DATA (461500 bytes)

TRAILER (4 bytes)

Transparent Bridges

Bridging by software A collision domain per port Two ports

Transparent Switches
F0/1 F0/3 F0/2 F0/4

Switching by hardware (ASICs) A collision domain per port Multiple ports

Eliminating Collisions with Switches


A dedicated bus between each 2 ports No collisions (if only one PC is connected per port ) No need for CSMA/CD Every port is a collision domain Full duplex

Switches
Layer 2 Device Ethernet Frames and MAC Addresses One Collision Domain per port Switching Table FULL DUPLEX (can transmit and receive at a time)

Full Duplex / Half Duplex

LAN Segmentation

Collision Domains

Data Link Layer: Ethernet


IEEE 802.3 Ethernet
Arbitration : CSMA /CD Addressing : MAC addresses Error detection : FCS (CRCs) Identification of encapsulated data : Protocol Type

Trama Ethernet II
(64-1518 bytes)
80 00 20 7A 3F 3E 80 00 20 20 3A AE Direccin MAC Destino Direccin MAC Origen 80 00 EtherType IP, ARP, etc Payload 00 20 20 3A CRC Checksum

HEADER (14 bytes)

DATA (461500 bytes)

TRAILER (4 bytes)

Data Link Layer: Ethernet


Fast Ethernet IEEE 802.3u Gigabit Ethernet (Optical) IEEE 802.3z Gigabit Ethernet (Electrical) IEEE 802.3ab 10 Gigabit Ethernet (Optical) IEEE 802.3ae Wireless IEEE 802.11a/b/g/n

MAC Address Learning


Frame Source => 0000.0000.0001

Switch MAC Address Table


0000.0000.0001 => F0/1 0000.0000.0002 => F0/2 0000.0000.0003 => F0/3

Frame Source => 0000.0000.0002

compu1
IP: 192.168.1.101 MAC: 0000.0000.0001

F0/1 F0/3

F0/2

compu2
IP: 192.168.1.102 MAC: 0000.0000.0002

Frame

Source => 0000.0000.0003

compu3
IP: 192.168.1.103 MAC: 0000.0000.0003

Layer 2
MAC Spoofing

MAC Spoofing
Switch MAC Address Table
0000.0000.0001 => F0/1 0000.0000.0002 => F0/2 0000.0000.0003 => F0/3

compu1
IP: 192.168.1.101 MAC: 0000.0000.0001

F0/1 F0/3

F0/2

compu2
IP: 192.168.1.102 MAC: 0000.0000.0002

Frame

Source => 0000.0000.0002

compu3
IP: 192.168.1.103 MAC: 0000.0000.0003

MAC Spoofing
Switch MAC Address Table
0000.0000.0001 => F0/1 0000.0000.0002 => F0/3 0000.0000.0003 => F0/3

compu1
IP: 192.168.1.101 MAC: 0000.0000.0001

F0/1 F0/3

F0/2

compu2
IP: 192.168.1.102 MAC: 0000.0000.0002

compu3
IP: 192.168.1.103 MAC: 0000.0000.0003

MAC Flooding
Switch MAC Address Table
Full

compu1
IP: 192.168.1.101 MAC: 0000.0000.0001

F0/1 F0/3

F0/2

compu2
IP: 192.168.1.102 MAC: 0000.0000.0002

Frames Source => 0000.0000.0010 Source => 0000.0000.0011 Source => 0000.0000.0012 Source => 0000.0000.FFFF

compu3
IP: 192.168.1.103 MAC: 0000.0000.0003

Unknown Unicast
Frame Source => 0000.0000.0001 Destination => 0000.0000.0002

Switch MAC Address Table


Empty

compu1
IP: 192.168.1.101 MAC: 0000.0000.0001

F0/1 F0/3

F0/2

compu2
IP: 192.168.1.102 MAC: 0000.0000.0002

compu3
IP: 192.168.1.103 MAC: 0000.0000.0003

Broadcast
Frame Source => 0000.0000.0001 Destination => FFFF.FFFF.FFFF

Switch MAC Address Table


0000.0000.0001 => F0/1 0000.0000.0002 => F0/2 0000.0000.0003 => F0/3

compu1
IP: 192.168.1.101 MAC: 0000.0000.0001

F0/1 F0/3

F0/2

compu2
IP: 192.168.1.102 MAC: 0000.0000.0002

compu3
IP: 192.168.1.103 MAC: 0000.0000.0003

Broadcast Domains
Broadcast domain Broadcast

Broadcast

Broadcast domain

Broadcast domain

Questions ?

Thanks for your attention !

Eduardo Aliaga Caldern ealiaga@comsoc-uni.org