SlideShare ist ein Scribd-Unternehmen logo
1 von 144
Topic
Network Layer
Introduction
And
Its procols:
Presentation by:
Zulfqar Ali Chishti
(Bssit.11.14)
Authors of
Presentation:
Network Layer Introduction:
Layer-3 in the OSI model is called Network layer.
Network layer manages options pertaining to host
and network addressing, managing sub-networks and
internetworking.
Network layer takes the responsibility for routing
packets from source to destination within or outside a
subnet. Two different subnet may have different
addressing schemes or non-compatible addressing
types. Same with protocols, two different subnet may
be operating on different protocols which are not
compatible with each other. Network layer has the
responsibility to how to route packets from source to
destination, mapping different addressing schemes
and protocols.
Network Layer functionalities:
Devices which works on Network Layer mainly focus
on routing. Routing may include variety of tasks
aimed to achieve a single goal. These can be:
• Addressing Devices and Networks.
• Populating Routing tables (or static routes).
• Queuing incoming and outgoing data and then
forwarding them according to Quality of Service
constraints set for those packets.
• Internetworking between two different subnets.
• Delivering packets to destination with best efforts.
• Provides connection oriented and connection less
mechanism.
Network Layer features:
With its standard functionalities, Layer 3 can provide
various features:
• QoS management.
• Load balancing and link management.
• Provides Security.
• Interrelates different protocols and subnets with
different schema.
• L3 can produce different logical network design
over the physical network design.
• L3 VPN and tunnels can be used to provided end to
end dedicated connectivity.
Network Layer Protocols (cont):
• CLNP Connectionless Networking Protocol
• EGP Exterior Gateway Protocol
• EIGRP Enhanced Interior Gateway Routing
Protocol
• ICMP Internet Control Message Protocol
• IGMP Internet Group Management
Protocol
• IGRP Interior Gateway Routing Protocol
• IPv4 Internet Protocol version 4
• IPv6 Internet Protocol version 6
• IPsec Internet Protocol Security
• IPX Internetwork Packet Exchange
Network Layer Protocols :
• MPLS Multiprotocol Label Switching
• SCCP Signaling Connection Control Part
• BGP Border Gateway Protocol
• RIP Routing Information Protocol
• Fiber Channel network protocols
• SMTP Simple Mail Transfer Protocol
• SFTP Secure File Transfer Protocol
• POP post office protocol
• PPP Point to Point Protocol
• NNTP Network News Transfer Protocol
CLNP :
• Def:
EGP :
• Def:
IGRP:
• Def:
EIGRP :
• “Enhanced” Interior Gateway Routing Protocol
• Based on IGRP and developed to allow easy transition
from IGRP to EIGRP. (“Like IGRP+”)
• Cisco proprietary, released in 1994
• EIGRP is an advanced distance-vector routing protocol
that relies on features commonly associated with link-
state protocols. (sometimes called a hybrid routing
protocol).
EIGRP :
Note: The Hybrid term sometimes misleads people
into thinking EIGRP has the topology benefits of a
link state routing protocol. It does not. EIGRP is a
distance vector routing protocol and suffers from
all of the same disadvantages of any other distance
vector routing protocol, i.e. routing loops.
Note: “Often described as a hybrid routing protocol
offering the best of distance-vector and link-state
algorithms.” - I would say “features of distance-
vector and link-state” not necessarily “the best.”
IGRP and EIGRP: A migration path
IGRP EIGRP
Classful Routing Protocol Classless Routing Protocol
• VLSM, CIDR
bandwidth = (10,000,000/bandwidth kbps)
delay = delay/10
24 bit metric for bandwidth and delay
bandwidth = (10,000,000/bandwidth kbps) * 256
delay = (delay/10) * 256
32 bit metric for bandwidth and delay
Maximum Hop Count = 255 Maximum Hop Count = 224
No differentiation between internal and
external routes.
Outside routes (redistributed) are tagged as
external routes.
Automatic redistribution between IGRP and EIGRP as long as “AS” numbers are the same.
Four key technologies set EIGRP apart from IGRP
EIGRP Technologies
Features of EIGRP
• Classless Routing Protocol (VLSM, CIDR)
• Faster convergence times and improved scalability
• Multiprotocol support: TCP/IP, IPX/SPX, Appletalk
– There is no IPX/SPX or Appletalk in CCNA or CCNP
• Rapid Convergence and Better handling of routing loops – (DUAL) (coming)
• Efficient Use of Bandwidth
– Partial, bounded updates: Incremental updates only to the routers that need them.
– Minimal bandwidth consumption: Uses Hello packets and EIGRP packets by default
use no more that 50% of link’s bandwidth EIGRP packets.
• PDM (Protocol Dependent Module)
– Keeps EIGRP is modular
– Different PDMs can be added to EIGRP as new routed protocols are enhanced or
developed: IPv4, IPv6, IPX, and AppleTalk
• Unequal-cost load balancing same as IGRP (unlike OSPF)
EIGRP Terminology
• Neighbor table – Each EIGRP router maintains a neighbor table that lists
adjacent routers. This table is comparable to the adjacency database used
by OSPF. There is a neighbor table for each protocol that EIGRP supports.
• Topology table – Every EIGRP router maintains a topology table for each
configured network protocol. This table includes route entries for all
destinations that the router has learned. All learned routes to a
destination are maintained in the topology table.
• Routing table – EIGRP chooses the best routes to a destination from the
topology table and places these routes in the routing table. Each EIGRP
router maintains a routing table for each network protocol.
• Successor – A successor is a route selected as the primary route to use to
reach a destination. Successors are the entries kept in the routing table.
Multiple successors for a destination can be retained in the routing table.
• Feasible successor – A feasible successor is a backup route. These routes
are selected at the same time the successors are identified, but are kept in
the topology table. Multiple feasible successors for a destination can be
retained in the topology table.
EIGRP
• Enhanced Interior Gateway Routing Protocol
(EIGRP) is an advanced distance-vector routing
protocol that is used on a computer network
to help automate routing decisions and
configuration. The protocol was designed by
Cisco Systems as a proprietary protocol,
available only on Cisco routers, but Cisco
converted it to an open standard in 2013.
EIGRP
• EIGRP allows a router to share information it
knows about the network with neighboring
routers within the same logical area known as an
autonomous system. Contrary to other well
known routing protocols, such as routing
information protocol, EIGRP only shares
information that a neighboring router would not
have, rather than sending all of its information.
EIGRP is optimized to help reduce the workload
of the router and the amount of data that needs
to be transmitted between routers.
Position of ICMP in the network layer :
MESSAGES
ICMP messages are divided into two broad categories:
error-reporting messages and query messages. The
error-reporting messages report problems that a router
or a host (destination) may encounter when it
processes an IP packet. The query messages, which
occur in pairs, help a host or a network manager get
specific information from a router or another host. Also,
hosts can discover and learn about routers on their
network and routers can help a node redirect its
messages.
MESSAGES
General format of ICMP messages :
ICMP always reports error messages to the
original source.
Note
ICMP always reports error messages to the
original source.
Note
Error reporting messages:
Contents of data field for the error message:
IGMP (cont):
• IGMP is used by IP hosts to register
their dynamic multicast group
membership. It is also used by
connected routers to discover these
group members.
Multicast streams
• Bandwidth reduction
• Only UDP
• Multicast ‘always-on’
IGMP:
IGMP (internet group management
protocol)
• Protocol for multicast stream in order
to reach their destination
• Class D address: 224.0.0.0-
239.255.255.255 (1110)
IGMP Message Types:
IGMP Message Format:
IGMP Operation:
IGMP basics Step 1
IGMP basics Step 2
IGMP basics Step 3
IGMP versions:
 IGMP v1
• Membership query
• Membership report
 IGMP v2
• Membership query
• V2 Membership report (Fast Leave)
• Leave group
• V1 Membership report
 IGMP v3
• Membership query
• V3 Membership report (Explicit Host
Tracking)
• V2 Leave group
• V2 Membership report
• V2 Leave group
• V1 Membership report
IPv4 :
• An IPv4 address is a 32-bit
address that uniquely and
universally defines the
connection of a device (for
example, a computer or a
router) to the Internet.
• The address space of IPv4 is
232 or 4,294,967,296.
IPv4 :
• 192.168.1.1
In Above IP Address:
192 is
168 is
1 is
1 is
• IPv4 is Easy to remember by
using DNS. i.e
localhost 127.0.0.1
Apr 2005 IIT Kanpur 45
Internet Protocol
Transports a datagram from source host to destination,
possibly via several intermediate nodes (“routers”)
Service is:
• Unreliable: Losses, duplicates, out-of-order delivery
• Best effort: Packets not discarded capriciously, delivery
failure not necessarily reported
• Connectionless: Each packet is treated independently
Apr 2005 IIT Kanpur 46
IP Datagram Header
VERS HLEN TOS TOTAL LENGTH
IDENTIFICATION FLAG FRAGMENT OFFSET
TTL PROTOCOL CHECKSUM
SOURCE ADDRESS
DESTINATION ADDRESS
OPTIONS (if any) + PADDING
0 4 8 16 19 31
Apr 2005 IIT Kanpur 47
Problems with IPv4: Limited Address
Space
• IPv4 has 32 bit addresses.
• Flat addressing (only netid + hostid with
“fixed” boundaries)
• Results in inefficient use of address space.
• Class B addresses are almost over.
• Addresses will exhaust in the next 5 years.
• IPv4 is victim of its own success.
Apr 2005 IIT Kanpur 48
Problems with IPv4: Routing Table
Explosion
• IP does not permit route aggregation
(limited supernetting possible with new
routers)
• Mostly only class C addresses remain
• Number of networks is increasing very fast
(number of routes to be advertised goes up)
• Very high routing overhead
– lot more memory needed for routing table
– lot more bandwidth to pass routing information
– lot more processing needed to compute routes
Apr 2005 IIT Kanpur 49
Problems with IPv4: Header
Limitations
• Maximum header length is 60 octets.
(Restricts options)
• Maximum packet length is 64K octets.
(Do we need more than that ?)
• ID for fragments is 16 bits. Repeats every 65537th
packet.
(Will two packets in the network have same ID?)
• Variable size header.
(Slower processing at routers.)
• No ordering of options.
(All routers need to look at all options.)
Apr 2005 IIT Kanpur 50
Problems with IPv4: Other Limitations
• Lack of quality-of-service support.
– Only an 8-bit ToS field, which is hardly used.
– Problem for multimedia services.
• No support for security at IP layer.
• Mobility support is limited.
Apr 2005 IIT Kanpur 51
IP Address Extension
• Strict monitoring of IP address assignment
• Private IP addresses for intranets
– Only class C or a part of class C to an organization
– Encourage use of proxy services
• Application level proxies
• Network Address Translation (NAT)
• Remaining class A addresses may use CIDR
• Reserved addresses may be assigned
But these will only postpone address exhaustion.
They do not address problems like QoS, mobility,
security.
Apr 2005 IIT Kanpur 52
IPng Criteria
• At least 109 networks, 1012 end-systems
• Datagram service (best effort delivery)
• Independent of physical layer technologies
• Robust (routing) in presence of failures
• Flexible topology (e.g., dual-homed nets)
• Better routing structures (e.g., aggregation)
• High performance (fast switching)
• Support for multicasting
Apr 2005 IIT Kanpur 53
IPng Criteria
• Support for mobile nodes
• Support for quality-of-service
• Provide security at IP layer
• Extensible
• Auto-configuration (plug-and--play)
• Straight-forward transition plan from IPv4
• Minimal changes to upper layer protocols
Apr 2005 IIT Kanpur 54
IPv6: Distinctive Features
• Header format simplification
• Expanded routing and addressing capabilities
• Improved support for extensions and options
• Flow labeling (for QoS) capability
• Auto-configuration and Neighbour discovery
• Authentication and privacy capabilities
• Simple transition from IPv4
Apr 2005 IIT Kanpur 55
IPv6 Header Format
Traffic Class Flow LabelVers
Payload Length Next Header Hop Limit
Source Address
Destination Address
0 4 12 16 24 31
Apr 2005 IIT Kanpur 56
IPv6 Header Fields
• Version number (4-bit field)
The value is always 6.
• Flow label (20-bit field)
Used to label packets requesting special handling by routers.
• Traffic class (8-bit field)
Used to mark classes of traffic.
• Payload length (16-bit field)
Length of the packet following the IPv6 header, in octets.
• Next header (8-bit field)
The type of header immediately following the IPv6 header.
Apr 2005 IIT Kanpur 57
IPv6 Header Fields
• Hop limit (8-bit field)
Decremented by 1 by each node that forwards the packet.
Packet discarded if hop limit is decremented to zero.
• Source Address (128-bit field)
An address of the initial sender of the packet.
• Destination Address (128-bit field)
An address of the intended recipient of the packet. May not be
the ultimate recipient, if Routing Header is present.
Apr 2005 IIT Kanpur 58
Header Changes from IPv4
• Longer address - 32 bits  128 bits
• Fragmentation field moved to separate header
• Header checksum removed
• Header length removed (fixed length header)
• Length field excludes IPv6 header
• Time to live  Hop limit
• Protocol  Next header
• 64-bit field alignment
• TOS replaced by flow label, traffic class
Apr 2005 IIT Kanpur 59
Extension Headers
• Less used functions moved to extension headers.
• Only present when needed.
• Processed only by node identified in IPv6 destination field.
=> much lower overhead than IPv4 options
Exception: Hop-by-Hop option header
• Eliminated IPv4’s 40-byte limit on options
• Currently defined extension headers: Hop-by-hop, Routing,
Fragment, Authentication, Privacy, End-to-end.
• Order of extension headers in a packet is defined.
• Headers are aligned on 8-byte boundaries.
Apr 2005 IIT Kanpur 60
Address Types
Unicast Address for a single interface.
Multicast Identifier for a set of interfaces.
Packet is sent to all these
interfaces.
Anycast Identifier for a set of interfaces.
Packet is sent to the nearest one.
Apr 2005 IIT Kanpur 61
Text Representation of Addresses
• HEX in blocks of 16 bits
BC84 : 25C2 : 0000 : 0000 : 0000 : 55AB : 5521 : 0018
• leading zero suppression
BC84 : 25C2 : 0 : 0 :55AB : 5521 : 18
• Compressed format removes strings of 0s
BC84 : 25C2 :: 55AB : 5521 : 18
:: can appear only once in an address.
can also be used to compress leading or trailing 0s
• Mixed Notation (X:X:X:X:X:X:d.d.d.d)
e.g., ::144.16.162.21
Apr 2005 IIT Kanpur 62
IPv6 Addresses
• 128-bit addresses
• Multiple addresses can be assigned to an interface
• Provider-based hierarchy to be used in the
beginning
• Addresses should have 64-bit interface IDs in EUI-64
format
• Following special addresses are defined :
– IPv4-mapped
– IPv4-compatible
– link-local
– site-local
Apr 2005 IIT Kanpur 63
Unicast Addresses Examples
• Global Aggregate Address
• Link local address
• Site-local address
FP TLA NLA
3 13 32
SLA
64 bits
Interface ID
1111111010
10 bits
0
54 bits
Interface ID
64 bits
Public Topology Site
Topology
Interface Identifier
1111111011 0 Interface IDsubnet ID
10 bits 38 bits 16 bits 64 bits
16
Apr 2005 IIT Kanpur 64
Multicast Address
Flags 000T 3 bits reserved
T= 0 permanent
T= 1 transient
Scope 2 link-local
5 site-local
8 org-local
E global
Permanent groups are formed independent of scope.
11111111 flags scope Group ID
8 bits 4 4 112 bits
Apr 2005 IIT Kanpur 65
IPv6 Routing
• Hierarchical addresses are to be used.
• Initially only provider-based hierarchy will be used.
• Longest prefix match routing to be used.
(Same as IPv4 routing under CIDR.)
• OSPF, RIP, IDRP, ISIS, etc., will continue as is
(except 128-bit addresses).
• Easy renumbering should be possible.
• Provider selection possible with anycast groups.
Apr 2005 IIT Kanpur 66
QoS Capabilities
• Protocol aids QoS support, not provide it.
• Flow labels
– To identify packets needing same quality-of-service
– 20-bit label decided by source
– Flow classifier: Flow label + Source/Destination addresses
– Zero if no special requirement
– Uniformly distributed between 1 and FFFFFF
• Traffic class
– 8-bit value
– Routers allowed to modify this field
Apr 2005 IIT Kanpur 67
IPv6: Security Issues
• Provision for
– Authentication header
• Guarantees authenticity and integrity of data
– Encryption header
• Ensures confidentiality and privacy
• Encryption modes:
– Transport mode
– Tunnel mode
• Independent of key management
algorithm.
• Security implementation is mandatory
requirement in IPv6.
Apr 2005 IIT Kanpur 68
Mobility Support in IPv6
• Mobile computers are becoming commonplace.
• Mobile IPv6 allows a node to move from one link to
another without changing the address.
• Movement can be heterogeneous, i.e., node can move
from an Ethernet link to a cellular packet network.
• Mobility support in IPv6 is more efficient than mobility
support in IPv4.
• There are also proposals for supporting micro-mobility.
Apr 2005 IIT Kanpur 69
Additional Features
Anycast Addresses
• Multiple nodes on link may have this address
• All those nodes will respond to an NS message.
• Host will get multiple NA messages, but should accept
only one.
• The messages should be tagged as non-override.
Proxy advertisements
• Router may send NA on behalf of others.
• Useful for mobile nodes who have moved.
Apr 2005 IIT Kanpur 70
Address Auto-configuration
The problem
• System bootstrap (“plug and play”)
• Address renumbering
Addressing Possibilities
Manual Address configured by hand
Autonomous Host creates address with no external
interaction (e.g., link local)
Semi-autonomous Host creates address by combining a priori
information and some external information.
Stateless ServerHost queries a server, and gets an address.
Server does not maintain a state.
Stateful Server Host queries a server, and gets an address.
Server maintains a state.
Apr 2005 IIT Kanpur 71
Auto-configuration in IPv6
• Link-local prefix concatenated with 64-bit MAC
address. (Autonomous mode)
• Prefix advertised by router concatenated with 64-bit
MAC address. (Semi-autonomous mode.)
• DHCPng (for server modes)
– Can provide a permanent address (stateless mode)
– Provide an address from a group of addresses, and keep
track of this allocation (stateful mode)
– Can provide additional network specific information.
– Can register nodes in DNS.
Apr 2005 IIT Kanpur 72
Address Renumbering
• To migrate to a new address
– change of provider
– change in network architecture
• Methods
– router adds a new prefix in RA, and informs that the old
prefix is no longer valid.
– When DHCP lease runs out, assign a new address to
node.
– DHCPng can ask nodes to release their addresses.
• Requires DNS update. DHCPng can update DNS for clients.
• Existing conversations may continue if the old
address continues to be valid for some time.
Apr 2005 IIT Kanpur 73
Upper Layer Issues
• Minor changes in TCP
– Maximum segment size should be based on Path MTU.
– The packet size computation should take into account larger size of IP
header(s).
– Pseudo-header for checksum is different.
• UDP checksum computation is now mandatory.
• Most application protocol specifications are
independent of TCP/IP - hence no change.
• FTP protocol exchanges IPv4 addresses - hence
needs to be changed.
Apr 2005 IIT Kanpur 74
• The pseudo-header is changed in
checksum computation:
– Address are 128 bits.
– Payload length is 32 bits.
– Payload length is not copied from IPv6 header.
(Extension headers should not be counted.)
– Next header field of last extension header is used in place of
protocol.
• UDP packets must also have checksum.
(Since no IP checksum now.)
Apr 2005 IIT Kanpur 75
Changes in Other Protocols
• ICMPv6
– Rate limiting feature added
• Timer based
• Bandwidth based
– IGMP, ARP merged
– Larger part of offending packet is included
• DNS
– AAAA type for IPv6 addresses
– A6 type: recursive definition of IP address
– Queries that do additional section processing are
redefined to do processing for both ‘A’ and ‘AAAA’ type
records
IPv6:
• Def:
IPsec:
• Def:
IPX :
• Def:
MPLS :
• Def:
SCCP :
• Def:
What Is an EGP?
• Exterior Gateway Protocol
• Used to convey routing information between
ASes
• De-coupled from the IGP
• Current EGP is BGP4
Why Do We Need an EGP?
• Scaling to large network
– Hierarchy
– Limit scope of failure
• Define administrative boundary
• Policy
– Control reachability to prefixes
• Interior
– Automatic
discovery
– Generally trust
your IGP routers
– Routes go to all IGP
routers
• Exterior
Specifically configured
peers
Connecting with outside
networks
Set administrative
boundaries
Interior vs. Exterior
Routing Protocols
BGP Basics
• Terminology
• Protocol Basics
• Messages
• General Operation
• Peering relationships (EBGP/IBGP)
• Originating routes
Terminology
• Neighbor
– Configured BGP peer
• NLRI/Prefix
– NLRI - network layer reachability information
– Reachability information for a IP address &
mask
• Router-ID
– Highest IP address configured on the router
• Route/Path
– NLRI advertised by a neighbor
Protocol Basics
• Routing protocol used
between ASes
–if you aren’t connected to
multiple ASes, you don’t need
BGP :)
• Runs over TCP
• Path vector protocol
• Incremental update
AS 100 AS 101
AS 102
E
B D
A C
Peering
BGP Basics ...
• Each AS originates a set of NLRI
• NLRI is exchanged between BGP peers
• Can have multiple paths for a given prefix
• Picks the best path and installs in the IP
forwarding table
• Policies applied (through attributes)
influences BGP path selection
AS 100 AS 101
AS 102
A C
BGP speakers
are called peers
BGP Peers
eBGP TCP/IP
Peer Connection
Peers in different AS’s
are called External Peers
Note: eBGP Peers normally should be directly connected.
E
B D
220.220.8.0/24 220.220.16.0/24
220.220.32.0/24
AS 100 AS 101
A C
BGP speakers are
called peers
BGP Peers
iBGP TCP/IP
Peer Connection
Peers in the same AS
are called Internal Peers
AS 102
E
B D
Note: iBGP Peers don’t have to be directly connected.
220.220.8.0/24 220.220.16.0/24
220.220.32.0/24
AS 100 AS 101
A C
BGP Peers
AS 102
D
220.220.8.0/24 220.220.16.0/24
220.220.32.0/24
E
B
BGP Peers exchange
Update messages
containing Network Layer
Reachability Information
(NLRI)
BGP Update
Messages
Configuring BGP Peers
interface Serial 0
ip address 222.222.10.2 255.255.255.252
router bgp 100
network 220.220.8.0 mask 255.255.255.0
neighbor 222.222.10.1 remote-as 101
interface Serial 0
ip address 222.222.10.1 255.255.255.252
router bgp 101
network 220.220.16.0 mask 255.255.255.0
neighbor 222.222.10.2 remote-as 100
eBGP TCP Connection
• BGP Peering sessions are established using the BGP
“neighbor” configuration command
222.222.10.0/30
B C DA
AS 100 AS 101
.2220.220.8.0/24 220.220.16.0/24.2 .1 .2 .1.1
– External (eBGP) is configured when AS numbers are different
– Internal (iBGP) is configured when AS numbers are same
AS 100 AS 101
Configuring BGP Peers
222.222.10.0/30
.2
interface Serial 1
ip address 220.220.16.2 255.255.255.252
router bgp 101
network 220.220.16.0 mask 255.255.255.0
neighbor 220.220.16.1 remote-as 101
B
interface Serial 1
ip address 222.220.16.1 255.255.255.252
router bgp 101
network 220.220.16.0 mask 255.255.255.0
neighbor 220.220.16.2 remote-as 101
C
iBGP TCP Connection
• BGP Peering sessions are established using the BGP
“neighbor” configuration command
D220.220.8.0/24 220.220.16.0/24A .2 .1 .2 .1.1
– External (eBGP) is configured when AS numbers are different
Configuring BGP Peers
• Each iBGP speaker must peer with every other
iBGP speaker in the AS
iBGP TCP/IP
Peer Connection
AS 100
A
B
C
Configuring BGP Peers
• Loopback interface are normally used as
peer connection end-points
AS 100
215.10.7.1
215.10.7.2
215.10.7.3
A
B
C
iBGP TCP/IP
Peer Connection
iBGP TCP/IP
Peer Connection
Configuring BGP Peers
AS 100
A
215.10.7.1
215.10.7.2
215.10.7.3
C
B
interface loopback 0
ip address 215.10.7.1 255.255.255.255
router bgp 100
network 220.220.1.0
neighbor 215.10.7.2 remote-as 100
neighbor 215.10.7.2 update-source loopback0
neighbor 215.10.7.3 remote-as 100
neighbor 215.10.7.3 update-source loopback0
A
Configuring BGP Peers
AS 100
A
215.10.7.1
215.10.7.2
215.10.7.3
C
A
interface loopback 0
ip address 215.10.7.2 255.255.255.255
router bgp 100
network 220.220.5.0
neighbor 215.10.7.1 remote-as 100
neighbor 215.10.7.1 update-source loopback0
neighbor 215.10.7.3 remote-as 100
neighbor 215.10.7.3 update-source loopback0
B
iBGP TCP/IP
Peer Connection
Configuring BGP Peers
AS 100
A
215.10.7.1
215.10.7.2
215.10.7.3
A
B
interface loopback 0
ip address 215.10.7.3 255.255.255.255
router bgp 100
network 220.220.1.0
neighbor 215.10.7.1 remote-as 100
neighbor 215.10.7.1 update-source loopback0
neighbor 215.10.7.2 remote-as 100
neighbor 215.10.7.2 update-source loopback0
C
iBGP TCP/IP
Peer Connection
BGP Updates — NLRI
• Network Layer Reachability Information
• Used to advertise feasible routes
• Composed of:
– Network Prefix
– Mask Length
Types of BGP Messages
• OPEN
– To negotiate and establish peering
• UPDATE
– To exchange routing information
• KEEPALIVE
– To maintain peering session
• NOTIFICATION
– To report errors (results in session reset)
BGP :
• Def:
Interdomain routing is concerned with determining
paths between autonomous systems (Interdomain
routing)
Routing protocols for Interdomain routing are called
exterior gateway protocols (EGP)
AS 6
AS 7
AS 4
AS 2 AS 5
AS 1
AS 3
An autonomous system (AS) is a region of the Internet that is administered
by a single entity and that has a unified routing policy
Each autonomous system is assigned an Autonomous System
Number (ASN).
UofT’s campus network (AS239)
Rogers Cable Inc. (AS812)
Sprint (AS1239, AS1240, AS 6211, …)
Autonomous System
110
• Intradomain routing
– Routing is done based on metrics
– Routing domain is one autonomous system
• Interdomain routing
– Routing is done based on policies
– Routing domain is the entire Internet
EGP (e.g., BGP)
AS 2 AS 2
IGP (e.g., OSPF)
IGP (e.g., RIP)
Interdomain vs Intradomain
111
Interdomain Routing
• Interdomain routing is based on connectivity between autonomous systems
• Interdomain routing can ignore many details of router interconnection
AS 1 AS 2
AS 3
FCNP:
• Def.:
SMTP :
• Def.:
SFTP :
• Def.:
POP :
• Def:
PPP :
• Def:
Point to Point protocol (PPP)
• Point to point, wired data link easier to manage than broadcast link:
no Media Access Control
• Several Data Link Protocols: PPP, HDLC…
• PPP (Point to Point Protocol) is very popular: used in dial up
connection between residential Host and ISP; on SONET/SDH
connections, etc
• PPP is extremely simple (the simplest in the Data Link protocol family)
and very streamlined
PPP requirements
• Pkt framing: encapsulation of packets
• bit transparency: must carry any bit pattern in the data field
• error detection (no correction)
• multiple network layer protocols
• connection liveness
• Network Layer Address negotiation: Hosts/nodes across the link must
learn/configure each other’s network address
PPP non-requirements
• error correction/recovery
• flow control
• sequencing
• multipoint links (eg, polling)
PPP Data Frame
• Flag: delimiter (framing)
• Address: does nothing (only one option)
• Control: does nothing; in the future possible multiple control fields
• Protocol: upper layer to which frame must be delivered (eg, PPP-LCP, IP, IP-
CP, etc)
Byte Stuffing
• For “data transparency”, the data field must be allowed to include the
pattern <01111110> ; ie, this must not be interpreted as a flag
• to alert the receiver, the transmitter “stuffs” an extra < 01111101>
byte after each < 01111110> data byte
• the receiver discards each 01111101 after 01111110, and continues
data reception
PPP Link Control Protocol
• PPP-LCP establishes/releases the PPP connection; negotiates options
• Starts in DEAD state
• LCP Options: max frame length; authentication protocol
• Once PPP link established, IP-CP (Contr Prot) moves in (on top of PPP)
to configure IP network addresses etc.
NNTP :
• NNTP stands for Network News
Transfer Protocol
• It delivers news to anyone who
has access to the NNTP server
• NNTP give users the post their
reply to posted messages on the
server thus creating a thread
• News can be organized into
categories etc.
Installation of NNTP :
• Open Internet Information Services (IIS)
• Right click on server name / new / NNTP Virtual
Server
• Type the description of the server
• Assign the default port 119
• Point to the location of NNTP Server files
• Select storage medium to use for NNTP
• Select location of the messages to be stored
• NNTP Server is now installed
Starting New NNTP Virtual Server
Installation
Type the description of the server
Assign the default port 119
Point to the location of NNTP Server files
Select storage medium to use for NNTP
Select location of the messages to be
stored
Configuring the NNTP Server
• Open Internet Information Services (IIS)
• Click on server name / right click on desired
NNTP Server / click on properties
• Click on each appropriate tab to make the
necessary changes
• Click “OK” to close the properties box
Internet Information Services (IIS) Console
Selecting the Properties Sheet of the NNTP
Server
Properties Sheet of the NNTP Server
Access Tab
Settings Tab
Security Tab
Final Presentation on the Network layer
Final Presentation on the Network layer

Weitere ähnliche Inhalte

Was ist angesagt?

BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)NetProtocol Xpert
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteAtharaw Deshmukh
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)NetProtocol Xpert
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionShubham Khedekar
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)Kruti Niranjan
 
Osi reference model in Networking
Osi reference model in NetworkingOsi reference model in Networking
Osi reference model in NetworkingSatya P. Joshi
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)Respa Peter
 

Was ist angesagt? (20)

Network Layer
Network LayerNetwork Layer
Network Layer
 
Network layer
Network layerNetwork layer
Network layer
 
BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
 
TCP/IP model
TCP/IP modelTCP/IP model
TCP/IP model
 
Routing
RoutingRouting
Routing
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer Description
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Routing information protocol
Routing information protocolRouting information protocol
Routing information protocol
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
 
Transport layer
Transport layer Transport layer
Transport layer
 
OsI reference model
OsI reference modelOsI reference model
OsI reference model
 
Osi reference model in Networking
Osi reference model in NetworkingOsi reference model in Networking
Osi reference model in Networking
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 

Andere mochten auch

Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issuesقصي نسور
 
Lecture 6 -_presentation_layer
Lecture 6 -_presentation_layerLecture 6 -_presentation_layer
Lecture 6 -_presentation_layerSerious_SamSoul
 
Gaussian Elimination
Gaussian EliminationGaussian Elimination
Gaussian EliminationZunAib Ali
 
Physical layer
Physical layerPhysical layer
Physical layerDeky S
 
Wk 7 Assignment Mac Layer Presentation
Wk 7 Assignment   Mac Layer PresentationWk 7 Assignment   Mac Layer Presentation
Wk 7 Assignment Mac Layer PresentationOcy Onyemachi
 
Id. 02 network &amp; data link &amp; physical layer
Id. 02 network &amp; data link &amp; physical layerId. 02 network &amp; data link &amp; physical layer
Id. 02 network &amp; data link &amp; physical layerRawa KirKuKi
 
Jaimin chp-5 - network layer- 2011 batch
Jaimin   chp-5 - network layer- 2011 batchJaimin   chp-5 - network layer- 2011 batch
Jaimin chp-5 - network layer- 2011 batchJaimin Jani
 
Ch:2 The Physical Layer
Ch:2 The Physical LayerCh:2 The Physical Layer
Ch:2 The Physical LayerMubashir Yasin
 
CCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network LayerCCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network LayerVuz Dở Hơi
 
Physical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesPhysical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesShahid Khan
 
Physical Layer Security in Wireless Communication Systems
Physical Layer Security in Wireless Communication SystemsPhysical Layer Security in Wireless Communication Systems
Physical Layer Security in Wireless Communication SystemsAli Rahmanpour
 
Types of Networks,Network Design Issues,Design Tools
Types of Networks,Network Design Issues,Design ToolsTypes of Networks,Network Design Issues,Design Tools
Types of Networks,Network Design Issues,Design ToolsSurabhi Gosavi
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedSlideShare
 

Andere mochten auch (20)

Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
Lecture 6 -_presentation_layer
Lecture 6 -_presentation_layerLecture 6 -_presentation_layer
Lecture 6 -_presentation_layer
 
Osi model
Osi modelOsi model
Osi model
 
Electrick circuit
Electrick circuitElectrick circuit
Electrick circuit
 
Gaussian Elimination
Gaussian EliminationGaussian Elimination
Gaussian Elimination
 
Physical layer
Physical layerPhysical layer
Physical layer
 
Data Center Physical Layer
Data Center Physical LayerData Center Physical Layer
Data Center Physical Layer
 
Wk 7 Assignment Mac Layer Presentation
Wk 7 Assignment   Mac Layer PresentationWk 7 Assignment   Mac Layer Presentation
Wk 7 Assignment Mac Layer Presentation
 
Id. 02 network &amp; data link &amp; physical layer
Id. 02 network &amp; data link &amp; physical layerId. 02 network &amp; data link &amp; physical layer
Id. 02 network &amp; data link &amp; physical layer
 
L13 Presentation Layer Design
L13 Presentation Layer DesignL13 Presentation Layer Design
L13 Presentation Layer Design
 
Magento Presentation Layer
Magento Presentation LayerMagento Presentation Layer
Magento Presentation Layer
 
Jaimin chp-5 - network layer- 2011 batch
Jaimin   chp-5 - network layer- 2011 batchJaimin   chp-5 - network layer- 2011 batch
Jaimin chp-5 - network layer- 2011 batch
 
Ch:2 The Physical Layer
Ch:2 The Physical LayerCh:2 The Physical Layer
Ch:2 The Physical Layer
 
CCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network LayerCCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network Layer
 
Physical Layer
Physical LayerPhysical Layer
Physical Layer
 
Physical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesPhysical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and Devices
 
Physical Layer Security in Wireless Communication Systems
Physical Layer Security in Wireless Communication SystemsPhysical Layer Security in Wireless Communication Systems
Physical Layer Security in Wireless Communication Systems
 
Chapter4 l4
Chapter4 l4Chapter4 l4
Chapter4 l4
 
Types of Networks,Network Design Issues,Design Tools
Types of Networks,Network Design Issues,Design ToolsTypes of Networks,Network Design Issues,Design Tools
Types of Networks,Network Design Issues,Design Tools
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 

Ähnlich wie Final Presentation on the Network layer

NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet MulticastingNP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicastinghamsa nandhini
 
Chapter 4 internetworking [compatibility mode]
Chapter 4   internetworking [compatibility mode]Chapter 4   internetworking [compatibility mode]
Chapter 4 internetworking [compatibility mode]Sĩ Anh Nguyễn
 
Analyzing and optimizing mpls technology at Reliance Jio
Analyzing and optimizing mpls technology at Reliance JioAnalyzing and optimizing mpls technology at Reliance Jio
Analyzing and optimizing mpls technology at Reliance JioTusharSaxena53
 
Presentation on network_protocols
Presentation on network_protocolsPresentation on network_protocols
Presentation on network_protocolsIUBAT
 
Dynamic Routing All Algorithms, Working And Basics
Dynamic Routing All Algorithms, Working And BasicsDynamic Routing All Algorithms, Working And Basics
Dynamic Routing All Algorithms, Working And BasicsHarsh Mehta
 
Routing Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPRouting Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPAbdelkhalik Mosa
 
EIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS DifferencesEIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS DifferencesJohn Berry
 
Border Gateway Protocol & IPV6.pptx
Border Gateway Protocol & IPV6.pptxBorder Gateway Protocol & IPV6.pptx
Border Gateway Protocol & IPV6.pptxssuser3aa461
 
Routing Protocol in detail
Routing Protocol in detailRouting Protocol in detail
Routing Protocol in detailDil_E_Dastan
 

Ähnlich wie Final Presentation on the Network layer (20)

1Routing Basics.pdf
1Routing Basics.pdf1Routing Basics.pdf
1Routing Basics.pdf
 
EIGRP, DHCP, OSPF, NAT
EIGRP, DHCP, OSPF, NATEIGRP, DHCP, OSPF, NAT
EIGRP, DHCP, OSPF, NAT
 
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet MulticastingNP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport Layer
 
Chapter 4 internetworking [compatibility mode]
Chapter 4   internetworking [compatibility mode]Chapter 4   internetworking [compatibility mode]
Chapter 4 internetworking [compatibility mode]
 
CCNP Route
CCNP Route CCNP Route
CCNP Route
 
Analyzing and optimizing mpls technology at Reliance Jio
Analyzing and optimizing mpls technology at Reliance JioAnalyzing and optimizing mpls technology at Reliance Jio
Analyzing and optimizing mpls technology at Reliance Jio
 
Presentation on network_protocols
Presentation on network_protocolsPresentation on network_protocols
Presentation on network_protocols
 
Routing Protocols
Routing Protocols Routing Protocols
Routing Protocols
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
 
Dynamic Routing All Algorithms, Working And Basics
Dynamic Routing All Algorithms, Working And BasicsDynamic Routing All Algorithms, Working And Basics
Dynamic Routing All Algorithms, Working And Basics
 
Routing Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPRouting Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRP
 
EIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS DifferencesEIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS Differences
 
Border Gateway Protocol & IPV6.pptx
Border Gateway Protocol & IPV6.pptxBorder Gateway Protocol & IPV6.pptx
Border Gateway Protocol & IPV6.pptx
 
Ccna routing
Ccna routingCcna routing
Ccna routing
 
Routing Protocol in detail
Routing Protocol in detailRouting Protocol in detail
Routing Protocol in detail
 

Kürzlich hochgeladen

Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...motiram463
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...tanu pandey
 
HLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussHLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussDrMSajidNoor
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...MOHANI PANDEY
 
Introduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptxIntroduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptxJaiLegal
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...amitlee9823
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证wpkuukw
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证ehyxf
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 
SM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdfSM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdfStefanoBiamonte1
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja Nehwal
 
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...Pooja Nehwal
 

Kürzlich hochgeladen (20)

CHEAP Call Girls in Hauz Quazi (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Hauz Quazi  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Hauz Quazi  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Hauz Quazi (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
 
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...
 
HLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussHLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discuss
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
 
Introduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptxIntroduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptx
 
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
SM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdfSM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdf
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
 
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
 

Final Presentation on the Network layer

  • 2. Presentation by: Zulfqar Ali Chishti (Bssit.11.14) Authors of Presentation:
  • 3.
  • 4. Network Layer Introduction: Layer-3 in the OSI model is called Network layer. Network layer manages options pertaining to host and network addressing, managing sub-networks and internetworking. Network layer takes the responsibility for routing packets from source to destination within or outside a subnet. Two different subnet may have different addressing schemes or non-compatible addressing types. Same with protocols, two different subnet may be operating on different protocols which are not compatible with each other. Network layer has the responsibility to how to route packets from source to destination, mapping different addressing schemes and protocols.
  • 5. Network Layer functionalities: Devices which works on Network Layer mainly focus on routing. Routing may include variety of tasks aimed to achieve a single goal. These can be: • Addressing Devices and Networks. • Populating Routing tables (or static routes). • Queuing incoming and outgoing data and then forwarding them according to Quality of Service constraints set for those packets. • Internetworking between two different subnets. • Delivering packets to destination with best efforts. • Provides connection oriented and connection less mechanism.
  • 6. Network Layer features: With its standard functionalities, Layer 3 can provide various features: • QoS management. • Load balancing and link management. • Provides Security. • Interrelates different protocols and subnets with different schema. • L3 can produce different logical network design over the physical network design. • L3 VPN and tunnels can be used to provided end to end dedicated connectivity.
  • 7. Network Layer Protocols (cont): • CLNP Connectionless Networking Protocol • EGP Exterior Gateway Protocol • EIGRP Enhanced Interior Gateway Routing Protocol • ICMP Internet Control Message Protocol • IGMP Internet Group Management Protocol • IGRP Interior Gateway Routing Protocol • IPv4 Internet Protocol version 4 • IPv6 Internet Protocol version 6 • IPsec Internet Protocol Security • IPX Internetwork Packet Exchange
  • 8. Network Layer Protocols : • MPLS Multiprotocol Label Switching • SCCP Signaling Connection Control Part • BGP Border Gateway Protocol • RIP Routing Information Protocol • Fiber Channel network protocols • SMTP Simple Mail Transfer Protocol • SFTP Secure File Transfer Protocol • POP post office protocol • PPP Point to Point Protocol • NNTP Network News Transfer Protocol
  • 9.
  • 11.
  • 13.
  • 15.
  • 16. EIGRP : • “Enhanced” Interior Gateway Routing Protocol • Based on IGRP and developed to allow easy transition from IGRP to EIGRP. (“Like IGRP+”) • Cisco proprietary, released in 1994 • EIGRP is an advanced distance-vector routing protocol that relies on features commonly associated with link- state protocols. (sometimes called a hybrid routing protocol).
  • 17. EIGRP : Note: The Hybrid term sometimes misleads people into thinking EIGRP has the topology benefits of a link state routing protocol. It does not. EIGRP is a distance vector routing protocol and suffers from all of the same disadvantages of any other distance vector routing protocol, i.e. routing loops. Note: “Often described as a hybrid routing protocol offering the best of distance-vector and link-state algorithms.” - I would say “features of distance- vector and link-state” not necessarily “the best.”
  • 18. IGRP and EIGRP: A migration path IGRP EIGRP Classful Routing Protocol Classless Routing Protocol • VLSM, CIDR bandwidth = (10,000,000/bandwidth kbps) delay = delay/10 24 bit metric for bandwidth and delay bandwidth = (10,000,000/bandwidth kbps) * 256 delay = (delay/10) * 256 32 bit metric for bandwidth and delay Maximum Hop Count = 255 Maximum Hop Count = 224 No differentiation between internal and external routes. Outside routes (redistributed) are tagged as external routes. Automatic redistribution between IGRP and EIGRP as long as “AS” numbers are the same.
  • 19. Four key technologies set EIGRP apart from IGRP EIGRP Technologies
  • 20. Features of EIGRP • Classless Routing Protocol (VLSM, CIDR) • Faster convergence times and improved scalability • Multiprotocol support: TCP/IP, IPX/SPX, Appletalk – There is no IPX/SPX or Appletalk in CCNA or CCNP • Rapid Convergence and Better handling of routing loops – (DUAL) (coming) • Efficient Use of Bandwidth – Partial, bounded updates: Incremental updates only to the routers that need them. – Minimal bandwidth consumption: Uses Hello packets and EIGRP packets by default use no more that 50% of link’s bandwidth EIGRP packets. • PDM (Protocol Dependent Module) – Keeps EIGRP is modular – Different PDMs can be added to EIGRP as new routed protocols are enhanced or developed: IPv4, IPv6, IPX, and AppleTalk • Unequal-cost load balancing same as IGRP (unlike OSPF)
  • 21. EIGRP Terminology • Neighbor table – Each EIGRP router maintains a neighbor table that lists adjacent routers. This table is comparable to the adjacency database used by OSPF. There is a neighbor table for each protocol that EIGRP supports. • Topology table – Every EIGRP router maintains a topology table for each configured network protocol. This table includes route entries for all destinations that the router has learned. All learned routes to a destination are maintained in the topology table. • Routing table – EIGRP chooses the best routes to a destination from the topology table and places these routes in the routing table. Each EIGRP router maintains a routing table for each network protocol. • Successor – A successor is a route selected as the primary route to use to reach a destination. Successors are the entries kept in the routing table. Multiple successors for a destination can be retained in the routing table. • Feasible successor – A feasible successor is a backup route. These routes are selected at the same time the successors are identified, but are kept in the topology table. Multiple feasible successors for a destination can be retained in the topology table.
  • 22. EIGRP • Enhanced Interior Gateway Routing Protocol (EIGRP) is an advanced distance-vector routing protocol that is used on a computer network to help automate routing decisions and configuration. The protocol was designed by Cisco Systems as a proprietary protocol, available only on Cisco routers, but Cisco converted it to an open standard in 2013.
  • 23. EIGRP • EIGRP allows a router to share information it knows about the network with neighboring routers within the same logical area known as an autonomous system. Contrary to other well known routing protocols, such as routing information protocol, EIGRP only shares information that a neighboring router would not have, rather than sending all of its information. EIGRP is optimized to help reduce the workload of the router and the amount of data that needs to be transmitted between routers.
  • 24.
  • 25. Position of ICMP in the network layer :
  • 26. MESSAGES ICMP messages are divided into two broad categories: error-reporting messages and query messages. The error-reporting messages report problems that a router or a host (destination) may encounter when it processes an IP packet. The query messages, which occur in pairs, help a host or a network manager get specific information from a router or another host. Also, hosts can discover and learn about routers on their network and routers can help a node redirect its messages.
  • 28. General format of ICMP messages : ICMP always reports error messages to the original source. Note
  • 29. ICMP always reports error messages to the original source. Note
  • 31. Contents of data field for the error message:
  • 32.
  • 33. IGMP (cont): • IGMP is used by IP hosts to register their dynamic multicast group membership. It is also used by connected routers to discover these group members. Multicast streams • Bandwidth reduction • Only UDP • Multicast ‘always-on’
  • 34. IGMP: IGMP (internet group management protocol) • Protocol for multicast stream in order to reach their destination • Class D address: 224.0.0.0- 239.255.255.255 (1110)
  • 41. IGMP versions:  IGMP v1 • Membership query • Membership report  IGMP v2 • Membership query • V2 Membership report (Fast Leave) • Leave group • V1 Membership report  IGMP v3 • Membership query • V3 Membership report (Explicit Host Tracking) • V2 Leave group • V2 Membership report • V2 Leave group • V1 Membership report
  • 42.
  • 43. IPv4 : • An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet. • The address space of IPv4 is 232 or 4,294,967,296.
  • 44. IPv4 : • 192.168.1.1 In Above IP Address: 192 is 168 is 1 is 1 is • IPv4 is Easy to remember by using DNS. i.e localhost 127.0.0.1
  • 45. Apr 2005 IIT Kanpur 45 Internet Protocol Transports a datagram from source host to destination, possibly via several intermediate nodes (“routers”) Service is: • Unreliable: Losses, duplicates, out-of-order delivery • Best effort: Packets not discarded capriciously, delivery failure not necessarily reported • Connectionless: Each packet is treated independently
  • 46. Apr 2005 IIT Kanpur 46 IP Datagram Header VERS HLEN TOS TOTAL LENGTH IDENTIFICATION FLAG FRAGMENT OFFSET TTL PROTOCOL CHECKSUM SOURCE ADDRESS DESTINATION ADDRESS OPTIONS (if any) + PADDING 0 4 8 16 19 31
  • 47. Apr 2005 IIT Kanpur 47 Problems with IPv4: Limited Address Space • IPv4 has 32 bit addresses. • Flat addressing (only netid + hostid with “fixed” boundaries) • Results in inefficient use of address space. • Class B addresses are almost over. • Addresses will exhaust in the next 5 years. • IPv4 is victim of its own success.
  • 48. Apr 2005 IIT Kanpur 48 Problems with IPv4: Routing Table Explosion • IP does not permit route aggregation (limited supernetting possible with new routers) • Mostly only class C addresses remain • Number of networks is increasing very fast (number of routes to be advertised goes up) • Very high routing overhead – lot more memory needed for routing table – lot more bandwidth to pass routing information – lot more processing needed to compute routes
  • 49. Apr 2005 IIT Kanpur 49 Problems with IPv4: Header Limitations • Maximum header length is 60 octets. (Restricts options) • Maximum packet length is 64K octets. (Do we need more than that ?) • ID for fragments is 16 bits. Repeats every 65537th packet. (Will two packets in the network have same ID?) • Variable size header. (Slower processing at routers.) • No ordering of options. (All routers need to look at all options.)
  • 50. Apr 2005 IIT Kanpur 50 Problems with IPv4: Other Limitations • Lack of quality-of-service support. – Only an 8-bit ToS field, which is hardly used. – Problem for multimedia services. • No support for security at IP layer. • Mobility support is limited.
  • 51. Apr 2005 IIT Kanpur 51 IP Address Extension • Strict monitoring of IP address assignment • Private IP addresses for intranets – Only class C or a part of class C to an organization – Encourage use of proxy services • Application level proxies • Network Address Translation (NAT) • Remaining class A addresses may use CIDR • Reserved addresses may be assigned But these will only postpone address exhaustion. They do not address problems like QoS, mobility, security.
  • 52. Apr 2005 IIT Kanpur 52 IPng Criteria • At least 109 networks, 1012 end-systems • Datagram service (best effort delivery) • Independent of physical layer technologies • Robust (routing) in presence of failures • Flexible topology (e.g., dual-homed nets) • Better routing structures (e.g., aggregation) • High performance (fast switching) • Support for multicasting
  • 53. Apr 2005 IIT Kanpur 53 IPng Criteria • Support for mobile nodes • Support for quality-of-service • Provide security at IP layer • Extensible • Auto-configuration (plug-and--play) • Straight-forward transition plan from IPv4 • Minimal changes to upper layer protocols
  • 54. Apr 2005 IIT Kanpur 54 IPv6: Distinctive Features • Header format simplification • Expanded routing and addressing capabilities • Improved support for extensions and options • Flow labeling (for QoS) capability • Auto-configuration and Neighbour discovery • Authentication and privacy capabilities • Simple transition from IPv4
  • 55. Apr 2005 IIT Kanpur 55 IPv6 Header Format Traffic Class Flow LabelVers Payload Length Next Header Hop Limit Source Address Destination Address 0 4 12 16 24 31
  • 56. Apr 2005 IIT Kanpur 56 IPv6 Header Fields • Version number (4-bit field) The value is always 6. • Flow label (20-bit field) Used to label packets requesting special handling by routers. • Traffic class (8-bit field) Used to mark classes of traffic. • Payload length (16-bit field) Length of the packet following the IPv6 header, in octets. • Next header (8-bit field) The type of header immediately following the IPv6 header.
  • 57. Apr 2005 IIT Kanpur 57 IPv6 Header Fields • Hop limit (8-bit field) Decremented by 1 by each node that forwards the packet. Packet discarded if hop limit is decremented to zero. • Source Address (128-bit field) An address of the initial sender of the packet. • Destination Address (128-bit field) An address of the intended recipient of the packet. May not be the ultimate recipient, if Routing Header is present.
  • 58. Apr 2005 IIT Kanpur 58 Header Changes from IPv4 • Longer address - 32 bits  128 bits • Fragmentation field moved to separate header • Header checksum removed • Header length removed (fixed length header) • Length field excludes IPv6 header • Time to live  Hop limit • Protocol  Next header • 64-bit field alignment • TOS replaced by flow label, traffic class
  • 59. Apr 2005 IIT Kanpur 59 Extension Headers • Less used functions moved to extension headers. • Only present when needed. • Processed only by node identified in IPv6 destination field. => much lower overhead than IPv4 options Exception: Hop-by-Hop option header • Eliminated IPv4’s 40-byte limit on options • Currently defined extension headers: Hop-by-hop, Routing, Fragment, Authentication, Privacy, End-to-end. • Order of extension headers in a packet is defined. • Headers are aligned on 8-byte boundaries.
  • 60. Apr 2005 IIT Kanpur 60 Address Types Unicast Address for a single interface. Multicast Identifier for a set of interfaces. Packet is sent to all these interfaces. Anycast Identifier for a set of interfaces. Packet is sent to the nearest one.
  • 61. Apr 2005 IIT Kanpur 61 Text Representation of Addresses • HEX in blocks of 16 bits BC84 : 25C2 : 0000 : 0000 : 0000 : 55AB : 5521 : 0018 • leading zero suppression BC84 : 25C2 : 0 : 0 :55AB : 5521 : 18 • Compressed format removes strings of 0s BC84 : 25C2 :: 55AB : 5521 : 18 :: can appear only once in an address. can also be used to compress leading or trailing 0s • Mixed Notation (X:X:X:X:X:X:d.d.d.d) e.g., ::144.16.162.21
  • 62. Apr 2005 IIT Kanpur 62 IPv6 Addresses • 128-bit addresses • Multiple addresses can be assigned to an interface • Provider-based hierarchy to be used in the beginning • Addresses should have 64-bit interface IDs in EUI-64 format • Following special addresses are defined : – IPv4-mapped – IPv4-compatible – link-local – site-local
  • 63. Apr 2005 IIT Kanpur 63 Unicast Addresses Examples • Global Aggregate Address • Link local address • Site-local address FP TLA NLA 3 13 32 SLA 64 bits Interface ID 1111111010 10 bits 0 54 bits Interface ID 64 bits Public Topology Site Topology Interface Identifier 1111111011 0 Interface IDsubnet ID 10 bits 38 bits 16 bits 64 bits 16
  • 64. Apr 2005 IIT Kanpur 64 Multicast Address Flags 000T 3 bits reserved T= 0 permanent T= 1 transient Scope 2 link-local 5 site-local 8 org-local E global Permanent groups are formed independent of scope. 11111111 flags scope Group ID 8 bits 4 4 112 bits
  • 65. Apr 2005 IIT Kanpur 65 IPv6 Routing • Hierarchical addresses are to be used. • Initially only provider-based hierarchy will be used. • Longest prefix match routing to be used. (Same as IPv4 routing under CIDR.) • OSPF, RIP, IDRP, ISIS, etc., will continue as is (except 128-bit addresses). • Easy renumbering should be possible. • Provider selection possible with anycast groups.
  • 66. Apr 2005 IIT Kanpur 66 QoS Capabilities • Protocol aids QoS support, not provide it. • Flow labels – To identify packets needing same quality-of-service – 20-bit label decided by source – Flow classifier: Flow label + Source/Destination addresses – Zero if no special requirement – Uniformly distributed between 1 and FFFFFF • Traffic class – 8-bit value – Routers allowed to modify this field
  • 67. Apr 2005 IIT Kanpur 67 IPv6: Security Issues • Provision for – Authentication header • Guarantees authenticity and integrity of data – Encryption header • Ensures confidentiality and privacy • Encryption modes: – Transport mode – Tunnel mode • Independent of key management algorithm. • Security implementation is mandatory requirement in IPv6.
  • 68. Apr 2005 IIT Kanpur 68 Mobility Support in IPv6 • Mobile computers are becoming commonplace. • Mobile IPv6 allows a node to move from one link to another without changing the address. • Movement can be heterogeneous, i.e., node can move from an Ethernet link to a cellular packet network. • Mobility support in IPv6 is more efficient than mobility support in IPv4. • There are also proposals for supporting micro-mobility.
  • 69. Apr 2005 IIT Kanpur 69 Additional Features Anycast Addresses • Multiple nodes on link may have this address • All those nodes will respond to an NS message. • Host will get multiple NA messages, but should accept only one. • The messages should be tagged as non-override. Proxy advertisements • Router may send NA on behalf of others. • Useful for mobile nodes who have moved.
  • 70. Apr 2005 IIT Kanpur 70 Address Auto-configuration The problem • System bootstrap (“plug and play”) • Address renumbering Addressing Possibilities Manual Address configured by hand Autonomous Host creates address with no external interaction (e.g., link local) Semi-autonomous Host creates address by combining a priori information and some external information. Stateless ServerHost queries a server, and gets an address. Server does not maintain a state. Stateful Server Host queries a server, and gets an address. Server maintains a state.
  • 71. Apr 2005 IIT Kanpur 71 Auto-configuration in IPv6 • Link-local prefix concatenated with 64-bit MAC address. (Autonomous mode) • Prefix advertised by router concatenated with 64-bit MAC address. (Semi-autonomous mode.) • DHCPng (for server modes) – Can provide a permanent address (stateless mode) – Provide an address from a group of addresses, and keep track of this allocation (stateful mode) – Can provide additional network specific information. – Can register nodes in DNS.
  • 72. Apr 2005 IIT Kanpur 72 Address Renumbering • To migrate to a new address – change of provider – change in network architecture • Methods – router adds a new prefix in RA, and informs that the old prefix is no longer valid. – When DHCP lease runs out, assign a new address to node. – DHCPng can ask nodes to release their addresses. • Requires DNS update. DHCPng can update DNS for clients. • Existing conversations may continue if the old address continues to be valid for some time.
  • 73. Apr 2005 IIT Kanpur 73 Upper Layer Issues • Minor changes in TCP – Maximum segment size should be based on Path MTU. – The packet size computation should take into account larger size of IP header(s). – Pseudo-header for checksum is different. • UDP checksum computation is now mandatory. • Most application protocol specifications are independent of TCP/IP - hence no change. • FTP protocol exchanges IPv4 addresses - hence needs to be changed.
  • 74. Apr 2005 IIT Kanpur 74 • The pseudo-header is changed in checksum computation: – Address are 128 bits. – Payload length is 32 bits. – Payload length is not copied from IPv6 header. (Extension headers should not be counted.) – Next header field of last extension header is used in place of protocol. • UDP packets must also have checksum. (Since no IP checksum now.)
  • 75. Apr 2005 IIT Kanpur 75 Changes in Other Protocols • ICMPv6 – Rate limiting feature added • Timer based • Bandwidth based – IGMP, ARP merged – Larger part of offending packet is included • DNS – AAAA type for IPv6 addresses – A6 type: recursive definition of IP address – Queries that do additional section processing are redefined to do processing for both ‘A’ and ‘AAAA’ type records
  • 76.
  • 78.
  • 80.
  • 82.
  • 84.
  • 86.
  • 87. What Is an EGP? • Exterior Gateway Protocol • Used to convey routing information between ASes • De-coupled from the IGP • Current EGP is BGP4
  • 88. Why Do We Need an EGP? • Scaling to large network – Hierarchy – Limit scope of failure • Define administrative boundary • Policy – Control reachability to prefixes
  • 89. • Interior – Automatic discovery – Generally trust your IGP routers – Routes go to all IGP routers • Exterior Specifically configured peers Connecting with outside networks Set administrative boundaries Interior vs. Exterior Routing Protocols
  • 90. BGP Basics • Terminology • Protocol Basics • Messages • General Operation • Peering relationships (EBGP/IBGP) • Originating routes
  • 91. Terminology • Neighbor – Configured BGP peer • NLRI/Prefix – NLRI - network layer reachability information – Reachability information for a IP address & mask • Router-ID – Highest IP address configured on the router • Route/Path – NLRI advertised by a neighbor
  • 92. Protocol Basics • Routing protocol used between ASes –if you aren’t connected to multiple ASes, you don’t need BGP :) • Runs over TCP • Path vector protocol • Incremental update AS 100 AS 101 AS 102 E B D A C Peering
  • 93. BGP Basics ... • Each AS originates a set of NLRI • NLRI is exchanged between BGP peers • Can have multiple paths for a given prefix • Picks the best path and installs in the IP forwarding table • Policies applied (through attributes) influences BGP path selection
  • 94. AS 100 AS 101 AS 102 A C BGP speakers are called peers BGP Peers eBGP TCP/IP Peer Connection Peers in different AS’s are called External Peers Note: eBGP Peers normally should be directly connected. E B D 220.220.8.0/24 220.220.16.0/24 220.220.32.0/24
  • 95. AS 100 AS 101 A C BGP speakers are called peers BGP Peers iBGP TCP/IP Peer Connection Peers in the same AS are called Internal Peers AS 102 E B D Note: iBGP Peers don’t have to be directly connected. 220.220.8.0/24 220.220.16.0/24 220.220.32.0/24
  • 96. AS 100 AS 101 A C BGP Peers AS 102 D 220.220.8.0/24 220.220.16.0/24 220.220.32.0/24 E B BGP Peers exchange Update messages containing Network Layer Reachability Information (NLRI) BGP Update Messages
  • 97. Configuring BGP Peers interface Serial 0 ip address 222.222.10.2 255.255.255.252 router bgp 100 network 220.220.8.0 mask 255.255.255.0 neighbor 222.222.10.1 remote-as 101 interface Serial 0 ip address 222.222.10.1 255.255.255.252 router bgp 101 network 220.220.16.0 mask 255.255.255.0 neighbor 222.222.10.2 remote-as 100 eBGP TCP Connection • BGP Peering sessions are established using the BGP “neighbor” configuration command 222.222.10.0/30 B C DA AS 100 AS 101 .2220.220.8.0/24 220.220.16.0/24.2 .1 .2 .1.1 – External (eBGP) is configured when AS numbers are different
  • 98. – Internal (iBGP) is configured when AS numbers are same AS 100 AS 101 Configuring BGP Peers 222.222.10.0/30 .2 interface Serial 1 ip address 220.220.16.2 255.255.255.252 router bgp 101 network 220.220.16.0 mask 255.255.255.0 neighbor 220.220.16.1 remote-as 101 B interface Serial 1 ip address 222.220.16.1 255.255.255.252 router bgp 101 network 220.220.16.0 mask 255.255.255.0 neighbor 220.220.16.2 remote-as 101 C iBGP TCP Connection • BGP Peering sessions are established using the BGP “neighbor” configuration command D220.220.8.0/24 220.220.16.0/24A .2 .1 .2 .1.1 – External (eBGP) is configured when AS numbers are different
  • 99. Configuring BGP Peers • Each iBGP speaker must peer with every other iBGP speaker in the AS iBGP TCP/IP Peer Connection AS 100 A B C
  • 100. Configuring BGP Peers • Loopback interface are normally used as peer connection end-points AS 100 215.10.7.1 215.10.7.2 215.10.7.3 A B C iBGP TCP/IP Peer Connection
  • 101. iBGP TCP/IP Peer Connection Configuring BGP Peers AS 100 A 215.10.7.1 215.10.7.2 215.10.7.3 C B interface loopback 0 ip address 215.10.7.1 255.255.255.255 router bgp 100 network 220.220.1.0 neighbor 215.10.7.2 remote-as 100 neighbor 215.10.7.2 update-source loopback0 neighbor 215.10.7.3 remote-as 100 neighbor 215.10.7.3 update-source loopback0 A
  • 102. Configuring BGP Peers AS 100 A 215.10.7.1 215.10.7.2 215.10.7.3 C A interface loopback 0 ip address 215.10.7.2 255.255.255.255 router bgp 100 network 220.220.5.0 neighbor 215.10.7.1 remote-as 100 neighbor 215.10.7.1 update-source loopback0 neighbor 215.10.7.3 remote-as 100 neighbor 215.10.7.3 update-source loopback0 B iBGP TCP/IP Peer Connection
  • 103. Configuring BGP Peers AS 100 A 215.10.7.1 215.10.7.2 215.10.7.3 A B interface loopback 0 ip address 215.10.7.3 255.255.255.255 router bgp 100 network 220.220.1.0 neighbor 215.10.7.1 remote-as 100 neighbor 215.10.7.1 update-source loopback0 neighbor 215.10.7.2 remote-as 100 neighbor 215.10.7.2 update-source loopback0 C iBGP TCP/IP Peer Connection
  • 104. BGP Updates — NLRI • Network Layer Reachability Information • Used to advertise feasible routes • Composed of: – Network Prefix – Mask Length
  • 105. Types of BGP Messages • OPEN – To negotiate and establish peering • UPDATE – To exchange routing information • KEEPALIVE – To maintain peering session • NOTIFICATION – To report errors (results in session reset)
  • 107.
  • 108. Interdomain routing is concerned with determining paths between autonomous systems (Interdomain routing) Routing protocols for Interdomain routing are called exterior gateway protocols (EGP) AS 6 AS 7 AS 4 AS 2 AS 5 AS 1 AS 3
  • 109. An autonomous system (AS) is a region of the Internet that is administered by a single entity and that has a unified routing policy Each autonomous system is assigned an Autonomous System Number (ASN). UofT’s campus network (AS239) Rogers Cable Inc. (AS812) Sprint (AS1239, AS1240, AS 6211, …) Autonomous System
  • 110. 110 • Intradomain routing – Routing is done based on metrics – Routing domain is one autonomous system • Interdomain routing – Routing is done based on policies – Routing domain is the entire Internet EGP (e.g., BGP) AS 2 AS 2 IGP (e.g., OSPF) IGP (e.g., RIP) Interdomain vs Intradomain
  • 111. 111 Interdomain Routing • Interdomain routing is based on connectivity between autonomous systems • Interdomain routing can ignore many details of router interconnection AS 1 AS 2 AS 3
  • 112.
  • 114.
  • 116.
  • 118.
  • 120.
  • 122. Point to Point protocol (PPP) • Point to point, wired data link easier to manage than broadcast link: no Media Access Control • Several Data Link Protocols: PPP, HDLC… • PPP (Point to Point Protocol) is very popular: used in dial up connection between residential Host and ISP; on SONET/SDH connections, etc • PPP is extremely simple (the simplest in the Data Link protocol family) and very streamlined
  • 123. PPP requirements • Pkt framing: encapsulation of packets • bit transparency: must carry any bit pattern in the data field • error detection (no correction) • multiple network layer protocols • connection liveness • Network Layer Address negotiation: Hosts/nodes across the link must learn/configure each other’s network address PPP non-requirements • error correction/recovery • flow control • sequencing • multipoint links (eg, polling)
  • 124. PPP Data Frame • Flag: delimiter (framing) • Address: does nothing (only one option) • Control: does nothing; in the future possible multiple control fields • Protocol: upper layer to which frame must be delivered (eg, PPP-LCP, IP, IP- CP, etc)
  • 125. Byte Stuffing • For “data transparency”, the data field must be allowed to include the pattern <01111110> ; ie, this must not be interpreted as a flag • to alert the receiver, the transmitter “stuffs” an extra < 01111101> byte after each < 01111110> data byte • the receiver discards each 01111101 after 01111110, and continues data reception
  • 126. PPP Link Control Protocol • PPP-LCP establishes/releases the PPP connection; negotiates options • Starts in DEAD state • LCP Options: max frame length; authentication protocol • Once PPP link established, IP-CP (Contr Prot) moves in (on top of PPP) to configure IP network addresses etc.
  • 127.
  • 128. NNTP : • NNTP stands for Network News Transfer Protocol • It delivers news to anyone who has access to the NNTP server • NNTP give users the post their reply to posted messages on the server thus creating a thread • News can be organized into categories etc.
  • 129. Installation of NNTP : • Open Internet Information Services (IIS) • Right click on server name / new / NNTP Virtual Server • Type the description of the server • Assign the default port 119 • Point to the location of NNTP Server files • Select storage medium to use for NNTP • Select location of the messages to be stored • NNTP Server is now installed
  • 130. Starting New NNTP Virtual Server Installation
  • 131. Type the description of the server
  • 132. Assign the default port 119
  • 133. Point to the location of NNTP Server files
  • 134. Select storage medium to use for NNTP
  • 135. Select location of the messages to be stored
  • 136. Configuring the NNTP Server • Open Internet Information Services (IIS) • Click on server name / right click on desired NNTP Server / click on properties • Click on each appropriate tab to make the necessary changes • Click “OK” to close the properties box
  • 138. Selecting the Properties Sheet of the NNTP Server
  • 139. Properties Sheet of the NNTP Server