Unit 3 CN
Unit 3 CN
23DC2008
- MODULE 3
Network Layer - Module: 3 -7 Hours
• 5) Security
Router - Overview
•Routing or Redirection of Data units is done by this H/W
networking device within the channel to the desired
direction
ROUTER ARCHITECTURE
Input ports, Switching Fabric
• I/P Port:
• Physical Layer element doing key functions to interoperate with Link
Layer, at the side of Input link.
• This port takes the Control Packets to Routing Processor
• The number of ports can support hundreds to 10 Gpbs.
• Switching Fabric
• Input ports are connected to output ports through Switch Fabrics
• Interlinking of Routers are an example of such a Fabric.
Output ports, Routing Processor
•Output Port:
• The packet traffic is collected from Switch Fabric by O/P port.
• This port will take the packets to the output link.
• Links can be bidirectional, so the porting will be paired with I/P port
too.
•Routing Processor
•This is for executing the routing protocols, maintaining
routing information, forwarding tables and N/W
management functions.
Processing of Input Port
Switching & I/P ports
- Memory-based (e.g. Cisco - 8500 series)
-Bus-based Switch
- (e.g. Cisco 5600 switch – 32 Gbps )
- Crossbar-based Switch
- e.g. Cisco 5600
Processing by output Port
Input Queuing
Packet & HOL Blocking
- Head-of-Line
Output Queueing
Packet Scheduling
• Queued packets are transmitted over outgoing link in a specified
order
• Waiting customers are served in a schedule:
• 1) FCFS
• 2) Round-Robin
• 3) Priority-based
First-in-First-Out (FIFO) –Link scheduling discipline
- also does Buffer management in Queue
Priority Queuing
HIGH-PRIORITY QUEUE
WEIGHTED FAIR QUEUING(WFQ)
- Arriving packets classified, queued fairly
IPv4 Addressing
• IP addresses are Architecture-Independent, globally
network-oriented
IPv4 Datagram Format –Syntax & Semantics
1) Message Complexity
2) Speed of Convergence
3) Robustness
OSPF:Intra-AS Routing in the Internet
-AS – Autonomous Systems
• Dynamic IP protocol for Routing tasks for finding most efficient paths in
Large-scale N/W
• OSPF – Open Shortest Path First to calculate the best path
• OSPF operates under the control of same administration
• OSPF is link-state protocol containing link-state information
• Path has various Factors/Metrics for OSPF calculation like link’s :
• 1) Bandwidth
• 2) Cost
• 3) Delay
OSPF-HOW IT WORKS?
• All other Routers (except that broadcasting Router) avails link-state
information receives
• This link-state information and message transfer are implemented as
functionalities by OSPF protocol
• BENEFITS:
• 1) SECURITY
• 2) MULTIPLE SAME-COST PATHS
• 3) INTEGRATED SUPPORT FOR UNICAST AND MULTICAST ROUTING
• 4) SUPPORT FOR HIERARCHY WITHIN A SINGLE AUTONOMOUS SYSTEMS
BORDER GATEWAY PROTOCOL (BGP)
• This protocol can connect any multiple autonomous system (AS)
which has atleast one Router in it using an arbitrary topology.
• 2) Network Congestion
• - least one
• 3) Geographical Location
• - well connected in sites
Routing Among the ISPs
• Packets are CIDR-ized prefixed , NOT just forwarded to outbound link
• A Router in BGP-N/W offers information like:
• 1) Neighboring Autonomous S/M will obtain prefix
reachability data
• 2) Among the routes to the prefix, find the best route.
• This Router informs Prefix information to BGP connected NODES and
this includes prefix with BGP attributes.
• ROUTE is the term representing PREFIX along attributes
BGP N/W connectivity – 3 AS having subnets
Internet Control Message Protocol – ICMP
- considered a part of IP
- ICMP messages are inside IP datagram
•Runs in N/W Layer for information layer communication
used (e.g. Error Reporting ) by Hosts and Routers.
•ICMP issues messages like “Host Not Reachable” in HTTP
session.
•The Payload field of IP structure contains ICMP message
•Example of an ICMP message is ping type 8 code 0
•Various types of ICMP messages are available for
Connectivity
ICMP message in Traceroute program (RFC 4443)
• Example:
• HOST,
• ROUTER,
• BRIDGE,
• HUB,
• PRINTER,
• MODEM.
C) Management Information Base (MIB)
• Managed Information has pieces of information collected into MIB
• Example : Details on
• Activity, Budget, Productivity and the like.
D) Agent for N/W managing
• Network Management Agent (NMA):
• -They reside in each N/W device