SlideShare a Scribd company logo
1 of 33
Download to read offline
1
Chapter-1:
Networking and Network
Routing: an introduction
2
What’s routing
• Simply stated, how to go from point-A to
point-B
– There might be multiple ways to go: Which
one to choose?
•Take the perspective from the user (reach there as
fast as possible)
•From the perspective of the network (not letting
some suffer by giving benefit to others)
– Addressing
•How addressing might be useful in routing
3
Postal System
• Address has essentially three parts:
– Name (‚User‛)
– Street Address (‚House address‛)
– City/Zip code (‚City‛)
• If we consider routing to a person, the origination point
doesn’t really need all three pieces of information, just
the destination zip code is sufficient
• Re-arranging, we look at address as follows:
– City | House Address | User
– Least specific part at the beginning, and more specific at the end
• Note: for postal address, the postman doesn’t need to
know the Name at all: her job is to drop at the House
address, and let the residents of the house ‚route‛ to the
actual person
4
Network-based System
• Addressing is important as it can be useful
in routing, and routing efficiently
– Routers do not need to store detailed address
information (means: less memory)
• Two ways to look at address:
– Hierarchical
– Flat
(also, a mixed mode is possible)
5
Hierarchical addressing
• Postal code (in most countries)
US zip code: five digit number
The first two digits represent a geographical area,
such as ‚64‛ in ‚64110‛ which signifies the Kansas
City area
Secondly, there’s a bit of structure to it, going from
East cost to the west coast as the first two digits
change from ‚01‛ to ‚94‛
• Telephone number in most countries:
– Geographic code (area/city code) followed by a local
number
6
Flat addressing
• Doesn’t say anything about address
proximity
– IP address prefix (‚net-id‛)
•134.193.0.0 identifies the address block assigned to
the University of Missouri-Kansas City
•134.192.0.0 identifies the University of Maryland at
Baltimore
•<address doesn’t show any geographic proximity>
7
Why structure of addressing
matter?
• In network routing, structure of the
addressing can influence what can be
accomplished (and what might be hard to
do)
8
IP addressing: overview
• 32-bit addressing originally defined
(known as IPv4 address)
– Originally classful: based on bit boundary
(class A: 27, Class-B: 214, Class-C: 221)
9
IP address
• It is used for identifying devices
– Common terminology: ‚host‛
– Computers, routers <
10
IPv6 addressing
• 128-bit address scheme
– Divided by provider and country
11
Subnetting/Mask in IPv4
• The idea is identify if an IP address below
to a ‚network‛ (subnet)
– Classful: easy, because of bit boundary: for
example 10.0.0.0 belongs to class-A and so on
– Classless: not implicitly defined by a class
boundary
•Known as CIDR (classless inter-domain routing)
notation
12
CIDR notation: illustration
• Bit-wise AND operation of an address with its subnet
mask 255.255.255.0, also written as /24 since (first 24-bits
of the mask are all 1’s)
• Bit-wise AND operation with mask /21:
• While the outcome looks the same, clear they represent
different subnets, one with /24 and the other with /21.
– Explicitly mention the mask
• 192.168.40.0/24, 192.168.40.0/21
– Note the difference with implicit mask as with classful address
13
Why CIDR
• Routing in IP is based on flat addressing,
i.e., need an entry for each netid at the
core of the Internet
• Classful address for Class C creates a large
number of addresses (2^21): CIDE allows
aggregation
• CIDR is used for routing purpose in the
Internet (started with BGP version 4)
• (More as we discuss routing later)
14
On Architectures
• Used in many different ways:
– Service Architecture
– Protocol Stack Architecture
– Router Architecture
– Network Topology Architecture
– Network Management Architecture
15
Service Architecture
• A service model gives the basic framework for
the type of services a network offers
– IP networks
• Best-Effort Services
• Integrated Services
• Differentiated Serivces
• Note: a service architecture can be supplemented
by proper traffic engineering to provide a high
quality of service
16
Protocol Stack Architecture
• OSI Reference Model
• TCP/IP Protocol Stack Model
17
Where do routing protocols fit in?
• It’s a mixed bag: OSPF: directly over IP;
BGP & RIP: transport layer
18
• Important to note:
– To do network layer function, upper layer
mechanisms are needed to communicate
routing information
– Important to distinguish between routing
information and the function of a network
layer
19
Router Architecture
• Routers provider
several important
functions
– Packet Forwarding
– Routing protocol
message processing
– Specialized services
(for example, for
monitoring and
management)
20
Network Topology Architecture
• Encompasses how a network is to be
architected in an operational environment
– Topology of the network
– Bandwidth for carrying traffic volume
– Operational considerations
• Sometimes, simply referred to as
‘Network Architecture’
21
Network Management Architecture
• Functional architecture for being able to monitor
and manage the network
• Different planes:
– Management plane
• Routing configuration, collection of various statistics
– Control plane
• Control information between routers for management of
various functions, such as setup a virtual link
– Data plane
• User application traffic
• Note that at IP layer, no distinction between
packets due to these three planes
22
NM Architecture: Pictorial View
23
Public Switched Telephone
Network
• In short, PSTN; also known as GSTN (Global Switched
Telephone Network)
• Architecturally and technologically different than IP
networks
– Unit of information: a call
– Uses circuit switching to set up a call on demand
– End device (‚phone‛) is dumb, intelligence starts from the end
office switch
– Control information carried on a separate signaling network
(known as SS7)
– Its own addressing mechanism, known as E.164
(More details in later chapter)
24
Communication Technologies
• Different technologies, link speeds are used for communicating
information
25
Standards: a few words
• Standards are important
– Allows a common way to do something
– Different vendors can build product which
can ‚talk‛ in the language specified through
standards
– Market competition, drives to cost down
26
IETF
• Internet Engineering Task Force
(http://www.ietf.org)
– Standardizes anything related to Internet
• Published as Request for Comments (RFC)
– Not all RFCs are standards document
– They aren’t ‘request’ any more; name is historical, stuck on
– Traditionally, didn’t do much below layer-3
– In recent years, Layer-2.5 and below functions such as
Multi-protocol label switching (MPLS)
– Note: anything related to web is standarded by
WWW consortium (http://www.w3.org/)
• Assignment: study how IETF works
27
ITU-T
• International Telecommunications Union-
Telecommunication Standardization
Sector (http://www.itu.int)
– A United Nations specialized agency
– Develops standards referred to as
Recommendations
28
Summary
• An overview of addressing and routing
– Comparison to other ‚routing‛ systems such
as the postal system, the road transportation
network
• Overview of TCP/IP protocol architecture
• A walk through the notion of architecture
• Standards
29
Extras
• Packet formats for IPv4, IPv6, TCP, and
UDP enclosed
30
IPv4 packet format
31
IPv6 packet format
32
TCP packet format
33
UDP packet format

More Related Content

What's hot

Net essentials6e ch12
Net essentials6e ch12Net essentials6e ch12
Net essentials6e ch12
APSU
 
Information system for you Chapter 15
Information system for you Chapter 15Information system for you Chapter 15
Information system for you Chapter 15
Chakamru Pak
 
02 protocol architecture
02 protocol architecture02 protocol architecture
02 protocol architecture
Orbay Yeşil
 

What's hot (20)

Net essentials6e ch12
Net essentials6e ch12Net essentials6e ch12
Net essentials6e ch12
 
E-Management, Archival and Retrieval of documents/Office Networking System
E-Management, Archival and Retrieval of documents/Office Networking SystemE-Management, Archival and Retrieval of documents/Office Networking System
E-Management, Archival and Retrieval of documents/Office Networking System
 
Information system for you Chapter 15
Information system for you Chapter 15Information system for you Chapter 15
Information system for you Chapter 15
 
02 protocol architecture
02 protocol architecture02 protocol architecture
02 protocol architecture
 
MVA slides lesson 5
MVA slides lesson 5MVA slides lesson 5
MVA slides lesson 5
 
MVA slides lesson 2
MVA slides lesson 2MVA slides lesson 2
MVA slides lesson 2
 
98 366 mva slides lesson 7
98 366 mva slides lesson 798 366 mva slides lesson 7
98 366 mva slides lesson 7
 
Topic 1.1 basic concepts of computer network
Topic 1.1 basic concepts of computer networkTopic 1.1 basic concepts of computer network
Topic 1.1 basic concepts of computer network
 
Sonali Bank Network Design Project Report
Sonali Bank Network Design Project ReportSonali Bank Network Design Project Report
Sonali Bank Network Design Project Report
 
Topic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipTopic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpip
 
Net+, 6th Ed. CH. 1
Net+, 6th Ed. CH. 1Net+, 6th Ed. CH. 1
Net+, 6th Ed. CH. 1
 
MVA slides lesson 4
MVA slides lesson 4MVA slides lesson 4
MVA slides lesson 4
 
98 366 mva slides lesson 5
98 366 mva slides lesson 598 366 mva slides lesson 5
98 366 mva slides lesson 5
 
MVA slides lesson 8
MVA slides lesson 8MVA slides lesson 8
MVA slides lesson 8
 
MVA slides lesson 7
MVA slides lesson 7MVA slides lesson 7
MVA slides lesson 7
 
Topic 2.4 network services
Topic 2.4 network servicesTopic 2.4 network services
Topic 2.4 network services
 
Cs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocolsCs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocols
 
Chapter13
Chapter13Chapter13
Chapter13
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
Network Protocol
Network ProtocolNetwork Protocol
Network Protocol
 

Viewers also liked (8)

Routers and planes
Routers and planesRouters and planes
Routers and planes
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Chap 09 icmp
Chap 09 icmpChap 09 icmp
Chap 09 icmp
 
Tcp ip tutorial
Tcp ip tutorialTcp ip tutorial
Tcp ip tutorial
 
Rip ospf and bgp
Rip ospf and bgpRip ospf and bgp
Rip ospf and bgp
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
Protocol Ppt[1]
Protocol Ppt[1]Protocol Ppt[1]
Protocol Ppt[1]
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 

Similar to Routers and planes (1)

Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressingUccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressing
Shu Shin
 
Internet architecture protocol
Internet architecture protocolInternet architecture protocol
Internet architecture protocol
GLIM Digital
 
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.pptchsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
ssuserde23af
 

Similar to Routers and planes (1) (20)

Introduction to Network Devices & Addressing Schemes
Introduction to Network Devices &  Addressing SchemesIntroduction to Network Devices &  Addressing Schemes
Introduction to Network Devices & Addressing Schemes
 
Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
Chapter 4 internetworking [compatibility mode]
Chapter 4   internetworking [compatibility mode]Chapter 4   internetworking [compatibility mode]
Chapter 4 internetworking [compatibility mode]
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressingUccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressing
 
Chapter 6 - Networking
Chapter 6 - NetworkingChapter 6 - Networking
Chapter 6 - Networking
 
Internet architecture protocol
Internet architecture protocolInternet architecture protocol
Internet architecture protocol
 
Network_Layer_and_Internet_Protocols_IPv.pptx
Network_Layer_and_Internet_Protocols_IPv.pptxNetwork_Layer_and_Internet_Protocols_IPv.pptx
Network_Layer_and_Internet_Protocols_IPv.pptx
 
4. Communication and Network Security
4. Communication and Network Security4. Communication and Network Security
4. Communication and Network Security
 
Tcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxTcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptx
 
Networking essentials lect1
Networking essentials lect1Networking essentials lect1
Networking essentials lect1
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
ENC_254_PPT_ch04.pdf
ENC_254_PPT_ch04.pdfENC_254_PPT_ch04.pdf
ENC_254_PPT_ch04.pdf
 
Unit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptxUnit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptx
 
CN Unit-1 PPT.pptx
CN Unit-1 PPT.pptxCN Unit-1 PPT.pptx
CN Unit-1 PPT.pptx
 
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.pptchsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
 
CCN CEP.pptx
CCN CEP.pptxCCN CEP.pptx
CCN CEP.pptx
 
Network - Lecture B
Network - Lecture BNetwork - Lecture B
Network - Lecture B
 

More from Abhishek Kesharwani

More from Abhishek Kesharwani (20)

uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
Unit 1 web technology uptu slide
Unit 1 web technology uptu slideUnit 1 web technology uptu slide
Unit 1 web technology uptu slide
 
Unit1 Web Technology UPTU UNIT 1
Unit1 Web Technology UPTU UNIT 1 Unit1 Web Technology UPTU UNIT 1
Unit1 Web Technology UPTU UNIT 1
 
Unit1 2
Unit1 2 Unit1 2
Unit1 2
 
Web Technology UPTU UNIT 1
Web Technology UPTU UNIT 1 Web Technology UPTU UNIT 1
Web Technology UPTU UNIT 1
 
Mtech syllabus computer science uptu
Mtech syllabus computer science uptu Mtech syllabus computer science uptu
Mtech syllabus computer science uptu
 
Wi max tutorial
Wi max tutorialWi max tutorial
Wi max tutorial
 
Virtual lan
Virtual lanVirtual lan
Virtual lan
 
Virtual lan
Virtual lanVirtual lan
Virtual lan
 
Tcp traffic control and red ecn
Tcp traffic control and red ecnTcp traffic control and red ecn
Tcp traffic control and red ecn
 
Schedulling
SchedullingSchedulling
Schedulling
 
Scheduling
SchedulingScheduling
Scheduling
 

Routers and planes (1)

  • 2. 2 What’s routing • Simply stated, how to go from point-A to point-B – There might be multiple ways to go: Which one to choose? •Take the perspective from the user (reach there as fast as possible) •From the perspective of the network (not letting some suffer by giving benefit to others) – Addressing •How addressing might be useful in routing
  • 3. 3 Postal System • Address has essentially three parts: – Name (‚User‛) – Street Address (‚House address‛) – City/Zip code (‚City‛) • If we consider routing to a person, the origination point doesn’t really need all three pieces of information, just the destination zip code is sufficient • Re-arranging, we look at address as follows: – City | House Address | User – Least specific part at the beginning, and more specific at the end • Note: for postal address, the postman doesn’t need to know the Name at all: her job is to drop at the House address, and let the residents of the house ‚route‛ to the actual person
  • 4. 4 Network-based System • Addressing is important as it can be useful in routing, and routing efficiently – Routers do not need to store detailed address information (means: less memory) • Two ways to look at address: – Hierarchical – Flat (also, a mixed mode is possible)
  • 5. 5 Hierarchical addressing • Postal code (in most countries) US zip code: five digit number The first two digits represent a geographical area, such as ‚64‛ in ‚64110‛ which signifies the Kansas City area Secondly, there’s a bit of structure to it, going from East cost to the west coast as the first two digits change from ‚01‛ to ‚94‛ • Telephone number in most countries: – Geographic code (area/city code) followed by a local number
  • 6. 6 Flat addressing • Doesn’t say anything about address proximity – IP address prefix (‚net-id‛) •134.193.0.0 identifies the address block assigned to the University of Missouri-Kansas City •134.192.0.0 identifies the University of Maryland at Baltimore •<address doesn’t show any geographic proximity>
  • 7. 7 Why structure of addressing matter? • In network routing, structure of the addressing can influence what can be accomplished (and what might be hard to do)
  • 8. 8 IP addressing: overview • 32-bit addressing originally defined (known as IPv4 address) – Originally classful: based on bit boundary (class A: 27, Class-B: 214, Class-C: 221)
  • 9. 9 IP address • It is used for identifying devices – Common terminology: ‚host‛ – Computers, routers <
  • 10. 10 IPv6 addressing • 128-bit address scheme – Divided by provider and country
  • 11. 11 Subnetting/Mask in IPv4 • The idea is identify if an IP address below to a ‚network‛ (subnet) – Classful: easy, because of bit boundary: for example 10.0.0.0 belongs to class-A and so on – Classless: not implicitly defined by a class boundary •Known as CIDR (classless inter-domain routing) notation
  • 12. 12 CIDR notation: illustration • Bit-wise AND operation of an address with its subnet mask 255.255.255.0, also written as /24 since (first 24-bits of the mask are all 1’s) • Bit-wise AND operation with mask /21: • While the outcome looks the same, clear they represent different subnets, one with /24 and the other with /21. – Explicitly mention the mask • 192.168.40.0/24, 192.168.40.0/21 – Note the difference with implicit mask as with classful address
  • 13. 13 Why CIDR • Routing in IP is based on flat addressing, i.e., need an entry for each netid at the core of the Internet • Classful address for Class C creates a large number of addresses (2^21): CIDE allows aggregation • CIDR is used for routing purpose in the Internet (started with BGP version 4) • (More as we discuss routing later)
  • 14. 14 On Architectures • Used in many different ways: – Service Architecture – Protocol Stack Architecture – Router Architecture – Network Topology Architecture – Network Management Architecture
  • 15. 15 Service Architecture • A service model gives the basic framework for the type of services a network offers – IP networks • Best-Effort Services • Integrated Services • Differentiated Serivces • Note: a service architecture can be supplemented by proper traffic engineering to provide a high quality of service
  • 16. 16 Protocol Stack Architecture • OSI Reference Model • TCP/IP Protocol Stack Model
  • 17. 17 Where do routing protocols fit in? • It’s a mixed bag: OSPF: directly over IP; BGP & RIP: transport layer
  • 18. 18 • Important to note: – To do network layer function, upper layer mechanisms are needed to communicate routing information – Important to distinguish between routing information and the function of a network layer
  • 19. 19 Router Architecture • Routers provider several important functions – Packet Forwarding – Routing protocol message processing – Specialized services (for example, for monitoring and management)
  • 20. 20 Network Topology Architecture • Encompasses how a network is to be architected in an operational environment – Topology of the network – Bandwidth for carrying traffic volume – Operational considerations • Sometimes, simply referred to as ‘Network Architecture’
  • 21. 21 Network Management Architecture • Functional architecture for being able to monitor and manage the network • Different planes: – Management plane • Routing configuration, collection of various statistics – Control plane • Control information between routers for management of various functions, such as setup a virtual link – Data plane • User application traffic • Note that at IP layer, no distinction between packets due to these three planes
  • 23. 23 Public Switched Telephone Network • In short, PSTN; also known as GSTN (Global Switched Telephone Network) • Architecturally and technologically different than IP networks – Unit of information: a call – Uses circuit switching to set up a call on demand – End device (‚phone‛) is dumb, intelligence starts from the end office switch – Control information carried on a separate signaling network (known as SS7) – Its own addressing mechanism, known as E.164 (More details in later chapter)
  • 24. 24 Communication Technologies • Different technologies, link speeds are used for communicating information
  • 25. 25 Standards: a few words • Standards are important – Allows a common way to do something – Different vendors can build product which can ‚talk‛ in the language specified through standards – Market competition, drives to cost down
  • 26. 26 IETF • Internet Engineering Task Force (http://www.ietf.org) – Standardizes anything related to Internet • Published as Request for Comments (RFC) – Not all RFCs are standards document – They aren’t ‘request’ any more; name is historical, stuck on – Traditionally, didn’t do much below layer-3 – In recent years, Layer-2.5 and below functions such as Multi-protocol label switching (MPLS) – Note: anything related to web is standarded by WWW consortium (http://www.w3.org/) • Assignment: study how IETF works
  • 27. 27 ITU-T • International Telecommunications Union- Telecommunication Standardization Sector (http://www.itu.int) – A United Nations specialized agency – Develops standards referred to as Recommendations
  • 28. 28 Summary • An overview of addressing and routing – Comparison to other ‚routing‛ systems such as the postal system, the road transportation network • Overview of TCP/IP protocol architecture • A walk through the notion of architecture • Standards
  • 29. 29 Extras • Packet formats for IPv4, IPv6, TCP, and UDP enclosed