Consider IPv4, each IP address + a port number gives a unique connection (referred to as Internet socket). If 1/4 of the bits in the port field (16 bits) of the TCP header is fixed for certain reason, how many unique connections can be formed?
Given port field has 16 bits and given 4 bits are fixed so total =16-4=12 bits
Total hosts =2^12 -1
=4096-1
=4095 hosts
Consider IPv4, each IP address + a port number gives a unique connection (referred to as...
Consider IPv4, each IP address + a port number gives a unique connection (referred to as Internet socket). If 1/4 of the bits in the port field (16 bits) of the TCP header is fixed for certain reason, how many unique connections can be formed?
12. The combination of the source and destination IP addresses and the source and destination port numbers is known as a socket. What is a socket used for? 13. Label the following port number ranges. _0 to 1023 1024 to 49151 49152 to 65535 14. What DOS command can be used to see which active TCP connections are open and wing on a networked host? 15. Why is dividing application data into segments necessary 16. Labelcach of the following delivery...
The IPv6 addresses are followed by a % sign and a number; for example, %5 follows the first IP address. This number is called the zone ID or scope ID and is used to identify the interface in a list of interfaces for this computer. IPv6 addressing is designed so that a computer can self-configure its own link-local IP address, which is similar to how IPv4 uses an Automatic Private IP Address (APIPA). Here's what happens when a computer using...
10. In a network an IP address and prefix is given as 192.168.130.34/17. What is the subnet mask? (A) 0.0.127.255 (B) 255.255.0.0 (C) 255.255.128.0 (D) 0.0.2.34 11. In a network an IP address and prefix are given as 192.168.130.34/17. How many host addresses are there? (A) 34 (B) 32766 (C) 131072 (D) 2 12. One result of subnetting is that the size of the routing table in the routers is reduced (A) True (8) False 13. The port number is...
Q1 Error detection/correction Can these schemes correct bit errors: Internet checksums, two-dimendional parity, cyclic redundancy check (CRC) A. Yes, No, No B. No, Yes, Yes c. No, Yes, No D. No, No, Yes E. Ho, hum, ha Q2 CRC vs Internet checksums Which of these is not true? A. CRC's are commonly used at the link layer B. CRC's can detect any bit error of up to r bits with an r-bit EDC. c. CRC's are more resilient to bursty...
. Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number 37 and destination port number 61. What are the source and destination port numbers for the segments traveling from Host B to Host A? . Suppose a process in Host C has a UDP socket with port number 6789. Sup- pose both Host A and Host B each send a UDP segment to...
a. How many possible IP addresses are there in IPv4? (Ignore any reserved or special addresses and give the total possible number.) Does IPv6 give more, less, or the same number of addresses? Briefly explain. b. Consider the network of LANs in the diagram below. Dark squares are routers, and light squares are hosts. Give the IP routing tables at both routers, including netmasks and gateways. c. Give, and explain, the path through the network for a packet originating at...
An IP address is a 32-bit number that uniquely identifies a host (computer or other device, such as a printer or router) on a TCP/IP network. IP addresses are normally expressed in dotted-decimal format, with four numbers separated by periods, such as 192.168.123.132. To understand how subnet masks are used to distinguish be- tween hosts, networks, and subnetworks, examine an IP address in binary notation. For example, the dotted-decimal IP address 192.168.123.132 is (in binary notation) the 32 bit num-...
COMPUTER NETWORKS: 1. An organization with a Class B IP address of 128.25.0.0/16 wants eight subnets in its network. There are some legacy routers. Hence, they do not want to use zero and all-ones subnets. a. How many bits are used in each of the following three fields? netID: ______________ subnetID: __________ hostID: _________________ b. Determine the subnet mask that needs to be set in the hosts in dotted decimal notation. Subnet Mask in dotted decimal notation: ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬_______________________________________ c. ...
Your answer should be short and not exceed more than 10 lines in each section. 1. TCP/IP: Unlike IP fragmentation (which can be done by intermediate devices), IP reassembly can be done only at the final destination. What could be the major problem if IP reassembly is done in intermediate devices like routers? Can you think of one major problem? 2. ARP: Describe or propose way to detect ARP spoofing attack. 3. Remote Access: Suppose you have a computer with Internet...