Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. 1. Via what protocol does IP communicate errors? 2. In the IP header, what is

ID: 3761887 • Letter: 1

Question

1.

1. Via what protocol does IP communicate errors?

2. In the IP header, what is the Identification field used for?

3. A number of bits within the IP header are designated reserved or optional; why would these be important in network security?

4. At a workstation, open some web pages and then at a command prompt type – Using Netstat-a

Identify the ports your machine is listening on and the state of the various connections it is holding.

5. What are the five calls the TCP/user interface provides for?

Explanation / Answer

1Ans)IP Communicate errors:
1.via ICMP (Internet Control Message Protocol)A host of the network is unreachable. Because of A TCP or an UDP packet directed at the port number with no receiver attached
2.An ICMP integrated with IP,this message delivered in th form of packets, it is used for out of band messages related to the network.

2 Ans)Identification field used for IP header:
1.Protocol version (4 bits)
2.Header Length (4 bits)
3.Type of service (8 bits)
4.Total length (16 bits)
5.Identification (16 bits)
6.Flags (3 bits)
7.Fragment offset(13 bits)
8.Time to live(8 bits)
9.Protocol(8 bits)
10.Header Checksum(16 bits)
11.Source and destination IP(32 bits each)
12.Options(Variable length)
13.Padding

3 Ans:)
It can provide mix of the optional security.
This implementation can be host to host ,host to gateway and gateway to gateway.
insert IP header and encapsulate the header using encryption / decryption to open environment
such as internet.

4Ans:)
By using Netstat command
NETSTAT [-a]
it displays all connections and listening ports
NETSTAT [-n]
it displays address and port number in the numerical form.
examples:
netstat -an | findstr:70
show the all connections on port number 70.

5 Ans:)
TCP/user interface provides for calls it is made by user on TCP to OPEN or CLOSE a connection and to SEND or
RECEIVE data to obtain status of the connection.
calls have parameters are
1.Passing address
2.Type of Service
3.Precedence
4.security
5.any other control information