Answers to TCP/IP questions

 

I.IP protocol:

 

1.To deliver the message to the end node

2.Network

3.A

4.2**8 - 2

5.2**8 - 2

6.240

7.Source and Destination IP addresses

8.TCP or UDP header and the message

9.Running out of class B

10.CIDR, NAT, IP v6

11.False. NIC card can be connected to Novell node

12.True

 

II.TCP protocol

 

1.Transport

2.To deliver the message to the proper application within the node

3.Source and Destination Port Number

4.The message

5.False

6.Look into /etc/services file

7.Look into /etc/services file

 

III UDP protocol

 

1.Transport

2.Same as TCP

3.Same as TCP

4.Same as TCP

5.True

 

IV Sockets

 

1.To provide the interface between the application and the Transport Layer

2.Inside the application

3.The programmer

4.Unit of data delivered from TCP -> IP -> Datalink

5.Unit of data delivered from UDP -> IP -> Datalink

6.The appropriate layers of OSI

7.Packets indicate Connection - type delivery, Datagrams indicate Connection - less delivery and Frames are delivered by Datalink layer

 

V.DNS service

 

1.Assign Names <-> IP addresses

2.Uniquely identified IP address

3.Program performing DNS services

4.Use nslookup command

5.False

6.False. Nodes can have alias (nick) names

7.False

 

VI Socket programming

 

1.sock_init, bind, listen, accept, read/write

2.sock_init, connect, write/read

3.True

4.Concurrent Server can service many requests simultaneously

 

VII Security

 

1.Confirming the authenticity of Client or Server

2.See the book

3.By encoding the message with Private Key the owner of that key is identified

4.Secure communication based on Encryption and Certification

5.To issue certificates

6.Tunnel through the Internet

7.To limit connectivity to Internet

8.Packet Filtering, Application Gateways, Circuit Gateways

9.To provide Authentication services