More on Ethernet Michael Tsai 2015/03/30.

Slides:



Advertisements
Similar presentations
Ethernet Switch Features Important to EtherNet/IP
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Introducing VLAN Operations.
Chapter 5 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the operation of the Ethernet sublayers.
ARP: Address Resolution Protocol
Switching Topic 4 Inter-VLAN routing. Agenda Routing process Routing VLANs – Traditional model – Router-on-a-stick – Multilayer switches EtherChannel.
VLANs (Virtual LANs) CS 158B Elaine Lim Allison Nham.
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Chapter 4: Managing LAN Traffic
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Implementing VLAN Security Routing And Switching.
Common Devices Used In Computer Networks
1/28/2010 Network Plus Network Device Review. Physical Layer Devices Repeater –Repeats all signals or bits from one port to the other –Can be used extend.
VLAN V irtual L ocal A rea N etwork VLAN Network performance is a key factor in the productivity of an organization. One of the technologies used to.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Hubs to VLANs Cisco Networking Academy Program © Cisco Systems, Inc From Hubs to VLANs.
Chapter 8: Virtual LAN (VLAN)
© 2002, Cisco Systems, Inc. All rights reserved..
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Media Access Control (MAC) addresses in the network access layer ▫ Associated w/ network interface card (NIC) ▫ 48 bits or 64 bits IP addresses for the.
Cisco S3C3 Virtual LANS. Why VLANs? You can define groupings of workstations even if separated by switches and on different LAN segments –They are one.
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
The University of Bolton School of Games Computing & Creative Technologies LCT2516 Network Architecture CCNA Exploration LAN Switching and Wireless Chapter.
Switching Topic 2 VLANs.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
Virtual Local Area Networks (VLANs) Part II
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Switches – Continued. Switches If a switch has N ports with multiple computers per port, then how many simultaneous transmissions can you have? Explain.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 VLANs.
Virtual Local Area Networks In Security By Mark Reed.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 VLANs.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Chapter 1: Fundamentals Review
CCNA Practice Exam Questions
Introduction to Networks v6.0
Exploiting Layer 2 By Balwant Rathore.
MAC Address Tables on Connected Switches
Virtual Local Area Networks or VLANs
Link Layer 5.1 Introduction and services
HELLO WORLD!!! Run Project 2: WELCOME Subject: Virtual LAN’s
Instructor Materials Chapter 5: Ethernet
Chapter 17 Connecting Devices And Virtual LANs 17.# 1
Semester 2 1 JEOPARDY CHAPTER 1 REVIEW S2C01 Jeopardy Review.
Network Load Balancing Topology
Chapter 4 Data Link Layer Switching
Configuring EtherChannels and Switch Troubleshooting
Virtual LANs.
IS3120 Network Communications Infrastructure
One Upon A Time Computer Networks
Ethernet : Framing and Addressing
Advanced Network Training
Routing and Switching Essentials v6.0
ARP: Address Resolution Protocol
Ethernet: A Multi-access Network
Protocol layering and data
Ch 17 - Binding Protocol Addresses
Protocol layering and data
Data-Link Layer The Internet is a combination of networks glued together by connecting devices (routers or switches) If a packet is to travel from a host.
Presentation transcript:

More on Ethernet Michael Tsai 2015/03/30

MAC address AB:CD:EF:01:23:45 or ab-cd-ef-01-23-45 —> 6 byte, each byte represented by HEX Usually hard-coded on the network interface card The first 3 bytes correspond to a specific vendor Example: a MAC address lookup tool: http://www.coffer.com/mac_find/

Address Resolution Protocol (ARP) hsinmu.csie.ntu.edu.tw mvnl-1.csie.ntu.edu.tw mvnl-1 wants to send a frame to hsinmu Get IP address from the domain name (DNS, Application Layer) Assume IP address is on the same subnet (more on this next time) Get dest. MAC address (卡號) from the IP (ARP, IP/Link Layer) Send the frame with “dest. address” in the header filled with the learned address

Address Resolution Protocol (ARP) hsinmu.csie.ntu.edu.tw mvnl-1.csie.ntu.edu.tw Is 140.112.31.x in my ARP table? If yes, send the frame to the MAC address associated with this IP. (put it in the header) If no, send a ARP request (who is 140.112.31.x?) this request is destined to FF:FF:FF:FF:FF:FF (broadcast address, received by all hosts on the network) (all switches along the way put mvnl-1’s IP and MAC address in the table) hsinmu responds with its MAC address and IP mvnl-1 heard the response and put it in the table (and the switches along the way also do the same)

Unicast, Broadcast, and Multicast Unicast = send to one destination (send to the address of the destination host) Broadcast = send to all hosts on the network (send to broadcast address) Multicast = send to a group of hosts (send to multicast address) Broadcast = at a switch, an incoming broadcast packet is copied and sent through all other ports.

Switching Loop Broadcast frame Switching loop = a cycle in the “graph” created by the switches and the links (can involve multiple switches) What can happen? Broadcast storm: broadcast frames repeatedly copied and sent to all ports, until all bandwidth is consumed. ARP table is no longer reliable (MAC flipping or seeing MAC on more than one port) —> unicast frames sent to wrong port (frame loss)

RD & Special Project Division Want Separate Networks Special Project Switch RD Switch But this is too expensive! 1. Each subnet has limited # of hosts 2. More subnets in the future RD Server 1 Special Project 1 RD Server 2 Special Project 2 RD Server 3

VLAN Ethernet Frame Format 802.1Q tag = subnet number RD Server 1 Preamble Start of frame delimiter MAC destination MAC source Length (IEEE 802.3) 802.1Q tag (optional) Payload Frame check sequence(32‑bit CRC) 7 octets 1 octet 6 octets 2 octets (4 octets) 42–1500 octets 4 octets 802.1Q tag = subnet number RD Server 1 Special Project 1 VLAN 100 Switch with no VLAN support RD Server 2 VLAN 200 VLAN 100 Host network interface (driver) would drop packets with other VLAN number (tag). Special Project 2 RD Server 3 VLAN 100 “But RD geeks can still see our packets!” VLAN 200

VLAN RD Server 1 Special Project 1 RD Server 2 Special Project 2 Switch with VLAN support RD Server 2 Port 1: VLAN 100 Port 2: VLAN 100 Port 3: VLAN 100 Port 4: VLAN 200 Port 5: VLAN 200 Special Project 2 RD Server 3 Switch would automatically create multiple logical subnets (VLANs). Packets from different VLANs would be separately forwarded. No 802.11Q in packets! (supported by ordinary hosts too!) Network Administrator “But NA wants to see all traffic!”

Trunk RD Server 1 Special Project 1 RD Server 2 Special Project 2 Switch with VLAN support RD Server 2 Port 1: VLAN 100 Port 2: VLAN 100 Port 3: VLAN 100 Port 4: VLAN 200 Port 5: VLAN 200 Special Project 2 RD Server 3 Trunk Port 6: VLAN 100, VLAN 200 One physical network interface receives packets from multiple VLANs with multiple logical network interfaces. (tagged traffic) Network Administrator VLAN 200 VLAN 100

Trunk Trunk Port 8: VLAN 100, 400 <——> Port 5: VLAN 100, 400 Switch with VLAN support Switch with VLAN support Trunk Port 1: VLAN 100 Port 2: VLAN 100 Port 3: VLAN 100 Port 4: VLAN 200 Port 5: VLAN 200 Port 7: VLAN 400 Port 1: VLAN 400 Port 2: VLAN 400 Port 3: VLAN 300 Port 4: VLAN 100 1 physical cable per VLAN? No. Trunk to the rescue! Only one physical cable/port is needed! Port 8: VLAN 100, 400 <——> Port 5: VLAN 100, 400

Link Aggregation Addresses two problems: Bandwidth limitation (when both links work) Lack of resilience (when one of the links fails) Both open standards (LACP in 802.1AX and 802.1aq) and proprietary protocols (e.g., Cisco) Useful for switches and hosts Limitations: ports on same switch & with same link speed

VLAN & Trunk & LA Why are these important? Keep the cost low / the physical infrastructure simple, while providing better security better performance LA allows us to add additional cabling to increase backbone bandwidth

Misc Information Power over Ethernet (802.3af): Power + Ethernet on the same physical cable Important: power budget & availability of PoE switch Jumbo frames (Gigabit ethernet): header is always an overhead Idea: 1518 byte frames —> 9018 bytes frame (or even larger) Measured gain from the experience: 10% gain (Limitation: all equipment on the subnet must support it) Autonegotiation: determine the speed of the other side Must-use for all interfaces capable of 1Gb/s or above < 100 Mb/s, auto or manual on both sides