datagram subnet is connection oriented network.
DiffServ
What are the pros and cons of intermediate reassembly of an internet fragmented datagram versus reassembly at the final destination
datagram is used in conectionless n/w e.g. UDP Whereas packets used in connection oriented n/w e.g. ATM X.25 tcp
A default subnet mask gives you classful addressing on octet boundaries. A non-default subnet mask implies that you are subnetting a larger network into several smaller ones.
IP datagram can be used to describe a portion of IP data. Each IP datagram has set of fields arranged in an order. The order is specific which helps to decode and read the stream easily. IP datagram has fields like Version, header length, Type of service, Total length, checksum, flag, protocol, Time to live, Identification, source and destination ip address, padding, options and payload. MTU:- Maximum Transmission Unit is the size of the largest packet that a communication protocol can pass. The size can be fixed by some standard or decided at the time of connection Fragmentation is a process of breaking the IP packets into smaller pieces. Fragmentation is needed when the datagram is larger than the MTU. Each fragment becomes a datagram in itself and transmitted independently from source. When received by destination they are reassembled.
Comparison of Datagram and Virtual Circuit SubnetIssue Datagram Virtual CircuitConnection SetupNoneRequiredAddressingPacket contains full source and destination addressPacket contains short virtual circuit number identifier.State informationNone other than router table containing destination networkEach virtual circuit number entered to table on setup, used for routing.RoutingPackets routed independentlyRoute established at setup, all packets follow same route.Effect of router failureOnly on packets lost during crashAll virtual circuits passing through failed router terminated.Congestion controlDifficult since all packets routed independently router resource requirements can vary.Simple by pre-allocating enough
A protocol is a set of rules for describing how to successfully exchange information between two systems.
Total number of bytes in the datagram, including the header.The length of an IP datagram itself is technically measured in bytes. The length field represents the size of both the header and the data portions of the datagram.
IP Datagram
The datagram length field in an IP header is 16 bits in length. Therefore, the maximum datagram size an IP datagram can support is 2^16 - 1 = 65,535 bytes
It uses something called a checksum to verify datagram integrity
When a client wishes to send a UDP datagram there is nothing that they are required to except to send it. The datagram will use a checksum to verify the integrity of the datagram and deliver it where it needs to go.
DiffServ
A Subnet calculator is used for determining the attributes of an IP subnet including the start of it. Results of the subnet calculation include the access control lists, the subnet range and the subnet bitmap.
No. 192.168.12.1 - 192.168.12.254 is one subnet (assuming 255.255.255.0 subnet mask)
In a Class A address, the default subnet mask is 255.0.0.0, allowing for a large number of hosts within a single network, but with 16 bits designated for the subnet ID, the subnet mask becomes 255.255.0.0. In contrast, a Class B address has a default subnet mask of 255.255.0.0, and with 8 bits for the subnet ID, the subnet mask would typically be 255.255.255.0. Thus, the key difference lies in the number of bits allocated for the subnet ID and the resulting subnet masks, affecting the number of available subnets and hosts per subnet.
To create a subnet ID, you start with the network's base IP address and subnet mask. The subnet mask determines how many bits are allocated for the network and how many for the hosts. By applying the subnet mask to the base IP address, you can identify the subnet ID, which represents the network portion of the address. For example, if your base IP is 192.168.1.0 with a subnet mask of 255.255.255.0, the subnet ID is 192.168.1.0.