Professional Documents
Culture Documents
Basing Networking
Basing Networking
TCP/IP Suite
Data Encapsulation
OSI-
History
Layers
Layer Function
OSI & TCP/IP
Example protocols
OSI Terminologies
• Error recovery
• Segmentation of large application data blocks
into smaller ones for tranmsission
• Reassembly of those blocks of data on the
receiving computer
Layer 3 end to end delivery of packets
• Nework layer defines logical addressing so that any
endpoint can be iddentified.
• It also defines how routing works and how routes are
learned so that the packets can be delivered
IP running in a router is responsible for
a)examinining the destination IP address of a packet
b)Comparing that address to the IP routing table
c)Fragmenting the packet if the outgoing interface requires
smaller packets
d)And queuing the packets to be sent out to the interface
Layer 2 defines specification of particular link or medium to deliver data across it
• Connectors,pins,use of pins,electrical
currents,encoding and light modulation are all
part of different physical layer specification
•
How Routers Use a WAN Data Link
• Today, most leased lines connect to routers, and
routers focus on delivering packets to a
destination host. However, routers physically
connect to both LANs and WANs, with those LANs
and WANs requiring that data be sent inside data
link frames. So, now we know a little about HDLC,
it helps to think about how routers use the HDLC
protocol when sending data.
• First, the TCP/IP network layer focuses on
forwarding IP packets from the sending host to
the destination host. The underlying LANs and
WANs just act as a way to move the packets to the
next router or end-user device.
Network layer perspective.
IP Routing Logic over LANs and WANs
• 1. PC1’s network layer (IP) logic tells it to
send the packet to a nearby router (R1).
• 2. Router R1’s network layer logic tells it to
forward (route) the packet out the leased line
to router R2 next.
• 3. Router R2’s network layer logic tells it to
forward (route) the packet out the LAN link
to PC2 next.
General Concept of Routers Deencapsulating and Re encapsulating IP
packets
Following the steps in the figure, again for a packet sent by PC1 to PC2’s IP
address:
1. To send the IP packet to router R1 next, PC1 encapsulates the IP packet
in an Ethernet frame that has the destination MAC address of R1.
2. Router R1 deencapsulates (removes) the IP packet from the Ethernet
frame, encapsulates the packet into an HDLC frame using an HDLC header
and trailer, and forwards the HDLC frame to router R2 next.
3. Router R2 deencapsulates (removes) the IP packet from the HDLC
frame, encapsulates the packet into an Ethernet frame that has the
destination MAC address of PC2, and forwards the Ethernet frame to PC2.
In summary, a leased line with HDLC creates a WAN link between two
routers so that they can forward packets for the devices on the attached
LANs. The leased line itself provides the physical means to transmit the
bits, in both directions. The HDLC frames provide the means to
encapsulate the network layer packet correctly so that it crosses the link
between routers
Ethernet as a WAN Technology
Many WAN service providers (SP) offer WAN
services that take advantage of Ethernet. SPs
offer a wide variety of these Ethernet WAN
services, with many different names
• Ethernet emulation
• Ethernet over MPLS (EoMPLS)
Ethernet emulation is a general term, meaning
that the service acts like oneEthernet link
• EoMPLS refers to Multiprotocol Label Switching (MPLS), which
is one technology that can be used inside the SP’s cloud.
• The type of EoMPLS service gives the customer an Ethernet
link between two sites. In other words, the EoMPLS service
provides A point-to-point connection between two customer
devices.Behavior as if a fiber Ethernet link existed between
the two devices.
• So, if we can imagine two routers, with a single
Ethernet link between the two routers
• In this case, the two routers, R1 and R2, connect
with an EoMPLS service instead of a serial link.
• The routers use Ethernet interfaces, and they
can send data in both directions at the same
time. Physically, each router actually connects to
some SP PoP, but logically, the two routers can
send Ethernet frames to each other over the link
Ethernet Emulation
EoMPLS
Learning network
Windows command prompt
Wireshark
Advance IP scanner
Network Simulator
Observation
Certification
Animation video