Question

Question 1 (a) Describe the five IP addressing classes. Provide an example for each of classes...

Question 1

(a) Describe the five IP addressing classes. Provide an example for each of classes in binary and dotted-decimal representation.

(b) Show the conversion of each of the addresses.

(c) Describe the function of the subnet address for each of the classes and how does it work. [20 Marks]

Question 2

(a) Define message switching, circuit switching and packet switching. Draw a diagram for each method to show the difference between them.

(b) Identify the samples of network environment that use each of this switching method.

(c) What are the advantages and disadvantages?

Question 3

(a) Write a simple program to create three processes using fork() commands. Use any THREE (3) of the six system calls to show how each child process executes new subprograms using exec’s minions.

(b) Show the output of each of the child process with different data samples. [20 Marks]

Question 4

(a) Compare the bus topology and the star topology. Draw a complete diagram for any given environment for each of the LAN topology.

(b) Using your own assumptions and scenario for each topology to illustrate the concept. Provide the details requirements including the hardware and infrastructure to set-up the proposed solution. [20 Marks]

Question 5

(a) Write a simple program in your Linux environment using C++ to identify PID, PPID and GID for the processes created in Question 3 and display the real and effective user ID. [12 Marks] (b) Modify the program you wrote for Question 3 and include the alarm system call to kill one of the processes that you had created in 30 second.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Question 1 (a) 5. IP_Addressing classes are as follows: 1 Class A © Class B © Class ② Class D 6 Class E Lo class Ali In_Class@ Class B : In Class B IP adolmessg the first 2 bits is 10 & fist first byte is between 128 - 1941 10 2 32 bits i ell? 2 bitUle Loo 0 0+0-19.2 ooee I +1 -19 3. IP addresses Range + 192.0.0.0 to 223:255.255.255 1+ 32 -> 224 This Class_is_used for e aClasse: The class IP address begins with 11 and List byte is between 240 - 255 11110000 - 200 -241 IP address Range 240.0.0.0c) Bubnell If an Ouganization was guanted lange block un class_À_ou B, it could divide the addresses into severcu_canliguaus.

Question 2):

Switched communication networks are those in which the data transmitted between various intermediate nodes is routed from source to destination. Switching is the technique by which nodes monitor or transfer data between different points on a network to transmit it. There are three switching methods:

1) message Switching :

End-users communicate in message switching by sending and receiving messages which included all the data to be exchanged.Messages are the tiniest single unit. Not directly linking the sender and the receiver. There are multiple intermediate data transfer nodes to ensure the message reaches its destination. Data networks converted to messages are thus called hop-by - hop systems.

message switching has two important characteristics: 1) store and forword: A store-and-forward switch can forward a message only when there are ample resources available and data is acknowledged by the next hop. 2) message delivery: This bundles all of the information in a single message and moves it to the destination node from source. Message must have a header containing the information about routing the message, including the source and destination.

Advantages:

As message switching can store message for which communication channel is not accessible, it helps to minimize network traffic congestion. In message switching, the network devices share the data channels. This makes traffic control effective by prioritising the messages.

Disadvantages:

In message switching, message needs to be stored which requires a large storage capacity for any intermediate device in the network. Message switching can not be used for applications in real time, since storing messages causes delay.

2) circuit Switching:

circuit switching is connection oriented i.e. a physical path between the sender and receiver of the message before a message is delivered. and initially it is designed for voice communication. Inflexible, since all parts of a transmission follow the same path once a direction is set. Once the message is sent to the receiver, the source tells the network about the transmission completion and all the switches issued. The link and other connecting devices are then used to set up a different connection. Circuit switching is always implemented at the Physical Layer.

Circuit Switching can be implemented using two technologies :

1) Space Division Switching

2) Time Division Switching.

advantages:

The main benefit of circuit switching is the establishment between the computers of a committed transmission channel which gives a guaranteed data rate. There is no delay in data flow in circuit switching because of the dedicated transmission path.

Disadvantage:

Establishing relations takes a long time. When setting Minimal delay in transmission.p dedicated channels more bandwidth is needed. It can not be used to transmit any other data, even if the channel is free as the circuit switching link is dedicated.

3) packet Switching:

PAcket Switching is connectionless, because no physical link is formed before the transmission begins. This is divided into some manageable bits, called packets, in packet switching before the message is transmitted. Those packets are routed from source to destination one by one. Packet Swapping uses the technique of Store and Forward when swapping the packets; every hop first stores the packet and then forwardes it.

advantages:

Less effective in terms of bandwidth, because the reservation circuit idea isn't there. Minimal delay in transmission. More tolerant of fault because packets that follow different paths, unlike Circuit Switching, if any connection is down.

disadvantages:

Packet Switching don’t give packets in order, whereas Circuit Switching provides ordered delivery of packets because all the packets follow the same path.
Since the packets are unordered, we need to provide sequence numbers to each packet.
Complexity is more at each node because of the facility to follow multiple path.
Transmission delay is more because of rerouting.

Add a comment
Know the answer?
Add Answer to:
Question 1 (a) Describe the five IP addressing classes. Provide an example for each of classes...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Questions: 1) Write a simple program to create three processes using fork() commands. Use any three...

    Questions: 1) Write a simple program to create three processes using fork() commands. Use any three of the six system calls to show how each child process executes new sub-programs using exec’s minions. Show the output of each of the child process with different data samples.   2) Write a simple program in your Linux environment using C++ to identify PID, PPID and GID for the processes created in Question 1 and display the real and effective user ID.   3) Modify...

  • I will provide, best rating. Please help me out understand how to solve part 2 of...

    I will provide, best rating. Please help me out understand how to solve part 2 of this problem. I'm not sure how to make this work using ONLY the exec-family. No system() function call. 1. Using either a UNIX or a Linux system, write a C program that forks a child process that ultimately becomes a zombie process. This zombie process must remain in the system for at least 10 seconds. Process states can be obtained from the command: ps...

  • 7. Write down the last network address for the network classes listed below: (do not use any reserved address) Class C Class B Class A Tabie 3 3 marksy 8. The following host IP addresses all belong t...

    7. Write down the last network address for the network classes listed below: (do not use any reserved address) Class C Class B Class A Tabie 3 3 marksy 8. The following host IP addresses all belong to IP4 subnetted networks. Using the information provided (IP address and network prefix length), fill in the table with the Subnetwork Address of the subnet to which the host belongs, the subnet mask and the number of host each subnetwork can accommodate. Host...

  • Question Number 1 (25 Marks) A mass of 0.5 kg of ammonia is contained in a...

    Question Number 1 (25 Marks) A mass of 0.5 kg of ammonia is contained in a piston-cylinder assembly, initially at T1 = -20°C and U1 = 391.11 kJ/kg. The ammonia is slowly heated to state 2, where T2 = 20°C and P2 = 0.6 MPa, and the pressure varies linearly with specific volume during this process. From state 2, the system isºcompressed at constant pressure until the ammonia becomes a fully saturated vapor. Assume that there are no significant change...

  • QUESTION 1 [TOTAL MARKS: 25] Q 1(a) [5 Marks] i. What is the State postulate? [2...

    QUESTION 1 [TOTAL MARKS: 25] Q 1(a) [5 Marks] i. What is the State postulate? [2 marks] ii. Using a sketch, briefly explain the difference(s) between a Closed System and an Isolated system. [3 Marks] Q 1(b) [20 Marks] Table 1 contains property information. The working fluid is water. Complete the table. You must show all calculations and/or explain how you determined your values, where applicable. [15] Plot the values on a P-v diagram. You should identify the phases for...

  • How to do this question ? B2-(13 MARKS) Consider a perfectly competitive industry in which each...

    How to do this question ? B2-(13 MARKS) Consider a perfectly competitive industry in which each firm i has a total cost function given by the equation: TC,- 128+ 4q+ 2q. Further, assume that the industry demand finction is given by the following: P = 84-20 a) Describe the long nun market equilibrium. That is, identify the equilibrium price and quantity output for each firm, the number of fims in the industry and the level of producer and consumer surplus....

  • a. Describe TWO (2) advantages and TWO (2) disadvantages of digital transmission. (CO1: PO1 - 4...

    a. Describe TWO (2) advantages and TWO (2) disadvantages of digital transmission. (CO1: PO1 - 4 marks) b. Sampling, quantization and coding are the three processes used to represent an analog signal in digital form. Considering an input signal into an 8-bit Pulse Code Modulation (PCM) system is a 20 Vp-p 50-Hz, answer the followings: i. Using appropriate diagram briefly describe TWO (2) basic methods to perform the sampling function. (CO2: PO2 - 2 marks) Determine the number of quantization...

  • Question 1- 20 marks The Internal Environment or Culture of an organization consists of seven (7)...

    Question 1- 20 marks The Internal Environment or Culture of an organization consists of seven (7) elements of which Human Resource Standards is one. Required: List and briefly describe ten (10) Human Resource policies/procedures (2 marks each) that are important to an organization that will help to guard against Internal Control weaknesses. (20 marks) Question 2- 12 marks The active involvement and support of senior management is necessary in every facet of Information Security. Required: List and briefly describe the...

  • QUESTION 3 (25 MARKS) Describe TWO (2) advantages and TWO (2) disadvantages of digital transmission (C01:...

    QUESTION 3 (25 MARKS) Describe TWO (2) advantages and TWO (2) disadvantages of digital transmission (C01: P01 - 4 marks) b Sampling, quantization and coding are the three processes used to represent an analog signal in digital form. Considering an input signal into an 8-bit Pulse Code Modulation (PCM) system is a 20 Vpp 50-Hz, answer the followings: i. Using appropriate diagram briefly describe TWO (2) basic methods to perform the sampling function. (CO2: PO2 - 2 marks) Determine the...

  • Question 11 The IP address for the above network is 192.168.151.0/24 (a) What is the total number of networks in the diagram above? (b) Each individual internal network (the networks behind the r...

    Question 11 The IP address for the above network is 192.168.151.0/24 (a) What is the total number of networks in the diagram above? (b) Each individual internal network (the networks behind the routers) must support a maximum of 13 User PCs. Can this be done without using VLSM? Why? Write briefly how VLSM can be used in this case to achieve the required conditions? (You do not need to write out the IP addresses for the individual subnets) (c) (3...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT