- First
approach: The sender must transmit an IP datagram of size as same as that
of the first hop’s MTU.
- Second
approach: Running the path MTU discovery algorithm.
Thursday, September 19, 2013
What is fragmentation?
Posted by
Sunflower
at
9/19/2013 03:41:00 PM
0
comments
Labels: Data, Datagrams, Destination, Fragmentation, Fragments, Host, Hosts, IP, Layers, Messages, Packets, Paths, Protocols, Receiver, Router, Sender, Source, Techniques, transmission, Transport
|
| Subscribe by Email |
|
Wednesday, September 18, 2013
What are the advantages and disadvantages of datagram approach?
- Datagrams
can contain the full destination address rather than using some number.
- There
is no set up phase required for the datagram circuits. This means that no
resources are consumed.
- If
it happens during a transmission that one router goes down, the datagrams
that will suffer will include only those routers which would have been
queued up in that specific router. The other datagrams will not suffer.
- If
any fault or loss occurs on a communication line, the datagrams circuits are
capable of compensating for it.
- Datagrams
play an important role in the balancing of the traffic in the subnet. This
is so because halfway the router can be changed.
- Since
the datagrams consist of the full destination address, they generate more
overhead and thus lead to wastage of the bandwidth. This in turn makes
using datagram approach quite costly.
- A
complicated procedure has to be followed for datagram circuits for
determining the destination of the packet.
- In
a subnet using the datagram approach, it is very difficult to keep
congestion problems at bay.
- The
any-to-any communication is one of the key disadvantages of the
datagram subnets. This means that if a system can communicate with any
device, any of the devices can communicate with this system. This can lead
to various security issues.
- Datagram
subnets are prone to losing or re - sequencing the data packets during the
transition. This puts a great burden on the end systems for monitoring,
recovering, and reordering the packets as they were originally.
- Datagram
subnets have less capability of dealing with congestion control as well as
flow control. This happens because the direction of the incoming traffic
is not specified. In the virtual circuit subnets, the flow of the packets
is directed only along the virtual circuits thus making it comparatively
easy for controlling it.
- The
unpredictable nature of the flow of the traffic makes it difficult to
design the datagram networks.
Posted by
Sunflower
at
9/18/2013 05:51:00 PM
0
comments
Labels: Address, Advantages, Connection, Datagrams, Destination, Disadvantages, Information, Layers, Models, Networking, Networks, OSI, Packets, Paths, Route, Router, Routing, Source, Switching, transmission
|
| Subscribe by Email |
|
Saturday, March 27, 2010
CLNP (Connectionless Network Protocol)
CLNP is a datagram network protocol. It provides fundamentally the same underlying service to a transport layer as IP. CLNP provides essentially the same maximum datagram size, and for those circumstances where datagrams may need to traverse a network whose maximum packet size is smaller than the size of the datagram, CLNP provides mechanisms for fragmentation (data unit identification, fragment/total length and offset). Like IP, a checksum computed on the CLNP header provides a verification that the information used in processing the CLNP datagram has been transmitted correctly, and a lifetime control mechanism ("Time to Live") imposes a limit on the amount of time a datagram is allowed to remain in the internet system.
CLNP (Connectionless Network Protocol) may be used between network-entities in end systems or in Network Layer relay systems (or both). CLNP is intended for use in the Subnetwork Independent Convergence Protocol (SNICP) role, which operates to construct the OSI Network Service over a defined set of underlying services, performing functions necessary to support the uniform appearance of the OSI Connectionless-mode Network Service over a homogeneous or heterogeneous set of interconnected subnetworks.
CLNP Protocol Structure
- NLP ID - Network Layer Protocol Identifier : The value of this field is set to binary 1000 0001 to identify this Network Layer protocol as ISO 8473. The value of this field is set to binary 0000 0000 to identify the Inactive Network Layer protocol subset.
- Length ID : Length Indicator is the length in octets of the header.
- Version : Version/Protocol Id Extension identifies the standard Version of ISO 8473.
- Lifetime : PDU Lifetime representing the remaining lifetime of the PDU, in units of 500 milliseconds.
- Flags : There are three flags : segmentation permitted, more segments, error report.
- Type : The Type code field identifies the type of the protocol data unit, which could be data PDU or Error Report PDU.
- Segment Length : The Segment Length field specifies the entire length, in octets, of the Derived PDU, including both header and data (if present).
- Checksum : The checksum is computed on the entire PDU header.
Posted by
Sunflower
at
3/27/2010 04:43:00 PM
0
comments
Labels: CLNP, Connectionless Network Protocol, Datagrams, Format, Header, Network, Operating Systems, Packets, Protocol header, Protocols
|
| Subscribe by Email |
|
Friday, March 26, 2010
Routing Information Protocol (RIP) Cont...
RIP Message Format
RIP updates are placed as UDP payload inside an IP datagram. The format is as follows:
- Command : It indicates whether the packet is a request or a response. The request asks that a router send all or part of its routing table. The response can be an unsolicited regular routing update or a reply to a request. Responses contain routing table entries. Multiple RIP packets are used to convey information from large routing tables.
- Version number : It specifies the RIP version used. This field can signal different potentially incompatible versions.
- Zero : This field is not actually used by RFC 1058 RIP; it was added solely to provide backward compatibility with prestandard varieties of RIP. Its name comes from its defaulted value: zero.
- Address family identifier (AFI) : It specifies the address family used. RIP is designed to carry routing information for several different protocols. Each entry has an address-family identifier to indicate the type of address being specified. The AFI for IP is 2.
- Address : It specifies the IP address for the entry.
- Metric : It indicates how many internetwork hops (routers) have been traversed in the trip to the destination. This value is between 1 and 15 for a valid route, or 16 for an unreachable route.
RIPv2 header explanation
- Command : Indicates whether the packet is a request or a response.
- Version : Version of RIP.
- Unused : It has a value set to zero.
- Address family identifier (AFI) : It specifies the address family used.
- Route tag : It provides a method for distinguishing between internal routes (learned by RIP) and external routes (learned from other protocols).
- IP address : It specifies the IP address for the entry.
- Subnet mask : It contains the subnet mask for the entry. If this field is zero, no subnet mask has been specified for the entry.
- Next hop : It indicates the IP address of the next hop to which packets for the entry should be forwarded.
- Metric : It indicates how many internetwork hops (routers) have been traversed in the trip to the destination. This value is between 1 and 15 for a valid route, or 16 for an unreachable route.
Posted by
Sunflower
at
3/26/2010 04:11:00 PM
0
comments
Labels: Datagrams, Format, Header, Message, Protocols, RIP, RIPv2, Routing Information Protocol
|
| Subscribe by Email |
|
Saturday, March 20, 2010
UDP - User Datagram Protocol
The User Datagram Protocol (UDP) is a transport layer protocol defined for use with the IP network layer protocol.UDP is often used in videoconferencing applications or computer games specially tuned for real-time performance.
- UDP network traffic is organized in the form of data grams.A data-gram comprises one message unit. The first eight bytes of a data-gram contain header information and the remaining bytes contain message data.
- UDP can be used in networks where TCP is traditionally implemented.
- It does not guarantee reliability or the correct sequencing of data.
- UDP makes use of a simple communication model without implicit transmission checks for guaranteeing reliability, sequencing, or data-gram integrity.
- UDP considers that error checks and corrections should be carried out in the communicating application, and not at the network layer.
- UDP makes the protocol that much faster and more efficient because it does not have the overhead of checking whether the data has reached the destination every time it is sent.
- UDP is a stateless protocol. UDP is used for packet broadcast or multi-casting whereby the data is sent to all the clients in the network.
The UDP header consists of four fields each of 2 bytes in length :
- Source Port : Source port recognizes the sending port and should be understood to be the port to respond to if required. If not used, then its value should be zero.
- Destination Port : UDP packets from a client use this as a service access point (SAP) to indicate the service required from the remote server.
- UDP length : The number of bytes comprising the combined UDP header information and payload data.
- UDP Checksum : A checksum to verify that the end to end data has not been corrupted by routers or bridges in the network or by the processing in an end system.
Posted by
Sunflower
at
3/20/2010 07:32:00 PM
0
comments
Labels: Datagrams, Header, Network, Ports, Protocols, Transport layer, UDP, User Datagram Protocol
|
| Subscribe by Email |
|
Friday, July 31, 2009
Quick Tech Tip: Overview Of The Network Layer
The network layer provides services to the transport layer through virtual circuits or datagrams. In both cases, its main job is routing packets from the source to the destination. In virtual circuit subnets, a routing decision is made when the virtual circuit is set up. In datagram subnets, it is made on every packet.
Many routing algorithms are used in computer networks. Static algorithms include shortest path routing, flooding, and flow-based routing. Dynamic algorithms include distance vector routing and link state routing. Most actual networks use one of these. Other important routing techniques are hierarchical routing, routing for mobile hosts, broadcast routing, and multicast routing.
Subnets can become congested, increasing the delay and lowering the throughput for packets. Techniques include traffic shaping, flow specifications, and bandwidth reservation. If congestion does occur, it must be dealt with. Choke packets can be sent back, load can be shed, and other methods applied.
Networks differ in various ways, so when multiple networks are connected together problems can occur. Sometimes problems can be finessed by tunneling a packet through a hostile network, but if the source and the destination networks are different, this approach fails. Fragmentation may be called for if different networks are having different maximum sizes.
The Internet has a rich variety of protocols related to the network layer. These include the data protocol, IP, but also the control protocols ICMP, ARP, and RARP, and the routing protocols OSPF and BGP. The Internet is rapidly running out of IP addresses, so a new version of IP, IPv6, has been developed.
Unlike the datagram-based Internet, ATM networks use virtual circuits inside. There must be a set up before data can be transferred and torn down after transmission is completed. Quality of service and congestion control are major issues with ATM networks.
Posted by
Sunflower
at
7/31/2009 10:43:00 AM
0
comments
Labels: Concatenated Virtual Circuits, Congestion, Datagrams, Network layer, Networks, Packets, Technical Tip
|
| Subscribe by Email |
|
Sunday, July 19, 2009
Quick Tech Tip - Connectionless Internetworking
Connectionless internetworking follows the datagram model. In this model, the network layer offers the transport layer the ability to inject datagrams into the subnet. There is no notion of a virtual circuit at all in the network layer. This model does not require all packets belonging to one connection to traverse the same sequence of gateways.
A routing decision is made separately for each packet, possibly depending on the traffic at the moment the packet is sent. This strategy can use multiple routes and thus achieve a higher bandwidth than the concatenated virtual circuit model.

Datagrams are constructed and sent in the usual way. Routing decisions are made on a packet by packet basis so that we cannot even guarantee that all the packets in a message will be sent over the same set of networks. Since each of the networks can have different properties the processing that the packets receive will be different depending on the route they took.
Since each network will have its own network layer protocol we cannot simply transfer network layer packets across the routers. One possibility is to try and convert from one protocol to another but this is not very successful for much the same set of reasons that converting between the different frame types of the 802 Ethernets was difficult.
A major issue in transferring from one network to another is that of addressing. In general different networks use different addressing schemes. One possibility would be to assign every host an address for every sort of network but apart from being inefficient (lots of addresses would never be used) it would also require a huge translation table to be kept.
What IP (Internet Protocol) attempts to do is to define a universal packet which can be carried across all networks. Of course others have also had this idea so there are several ‘universal’ schemes and these have to be dealt with as well.
A major advantage of the datagram approach is that it can be used over subnets that do not use virtual circuits inside. Many LANs, mobile networks and even some WANs fall into this category. When an internet includes one of these, serious problem occurs if the networking strategy is based on virtual circuits.
Posted by
Sunflower
at
7/19/2009 12:31:00 AM
0
comments
Labels: Connectionless, Connectionless Internetworking, Datagram model, Datagrams, Internetworking, Multiprotocol routers, Network, Technical Tip
|
| Subscribe by Email |
|