Question

In: Computer Science

Which FTP command allows you to retrieve a file from within an FTP session? 39. Company...

  1. Which FTP command allows you to retrieve a file from within an FTP session?

39. Company X requests an Internet address from the ICANN. Company X will require 129 nodes to be connected to the network across 14 locations (separate physical networks).

  1. What type of address will most likely be issued by the ICANN?
  1. How will this address be subnetted to allow for the 14 physical networks to exist?
  1. What is the total number of nodes that can be individually addressed at each location?
  1. What will the subnet and host portion of the addresses look like?

40. For the following subnets answer the following. How many subnets can there be and how many hosts can be attached to each subnet.

Class B address with 4 bits as subnet, 12 bits representing hosts.

Class B address with 5 bits as subnet, 11 bits representing hosts.

Class B address with 6 bits as subnet, 10 bits representing hosts.

Class B address with 7 bits as subnet, 9 bits representing hosts.

Class C address with 3 bits as subnet, 5 bits representing hosts.

Solutions

Expert Solution

39.

Company X requests an Internet address from the ICANN. Company X will require 129 nodes to be connected to the network across 14 locations (separate physical networks).

ans. A. Type of address depends on number of address required = 129 * 14 = 2^11(approx)

2^11 address requred, class B = 2^16 IP address/Newtwork. So 2^11 falls near Class B

B. Subnetting of address depend on the location by location. If all location require same number of host then arrangements will be made accordingly.

14 network, 14 close to 2^4, so 4 bits selected.

16 bit = Network Id (NID)

16 bit = Host Id (HID)

Divide host id to Sub net id(4 bit) and Host Id (12 bit)

16 networks each hosting 2^12 network addresses.

C. HID = 12 bits

= 2^12 network addresses at each location

= 4096 nodes

D. Subnet = NID=.0000 0000

.0000(Subnet id) 0000(HID)


40.


Starting from the last question to the first for simplicity.

The default class C subnet mask is 255.255.255.0 , To make subnets, bits from the host portion of the mask is borrowed. We got only 8 bits as class C mask uses only the last octet for host addressing,

1.Class C address with 4 bits as subnet, 4 bits as representing hosts:

Mask = 255.255.255.240 (last octet as 1111000) Number of 1's indicate subnet bits and number of 0's indicate host bits.

Number of subnets/hosts = 2x - 2 (since two of these subnets are not usable) where x is the number of 1's for subnets and x is number of 0's for the hosts.

This gives 24 - 2 = 14 subnets and 24 - 2 = 14 hosts for each subnet.

2. Class C address with 3 bits as subnet, 5 bits representing hosts

The subnet mask is 255.255.255.224 as the last octet binary is 11100000 .

Number of subnets = 23 - 2 = 6

Number of hosts per subnet = 25 - 2= 30 hosts

3. Class B address with 7 bits as subnets and 9 bits representing hosts

For Class B, default subnet mask is 255.255.0.0, Class B has 16 bits for creating the subnets

Class B with 7 bits as subnets and 9 represeting hosts can be represented as 255.255.254.0 where binary for the last two octets is 11111110.00000000

Number of subnets = 27 - 2 = 126

Number of host for each subnet = 29 - 2 = 510

4. Class B address with 6 bits as subnets and 10 bits representing hosts

Binary for the last two octets : 11111100.00000000 , subnet mask is 255.255.252.0

Number of subnets = 26 - 2 = 62

Number of hosts for each subnet = 210 - 2 = 1022

5. Class B address with 5 as subnet and 11 represeting host bits

Binary for the last two octets is 11111000.00000000 , subnet mask 255.255.248.0

Number of subnets = 25 - 2 = 30

Number of host for each subnet = 211 - 2 = 2046

6. Class B with 4 bits as subnet and 12 bits representing hosts

Binary for the last two octets is 11110000.00000000 where as subnet mask is 255.255.240.0

Number of subnets = 24 - 2 = 14

Number of hosts for each subnet = 212 - 2 = 4094.


Related Solutions

Write a Java program that allows the user to specify a file name on the command...
Write a Java program that allows the user to specify a file name on the command line and prints the number of characters, words, lines, average number of words per line, and average number of characters per word in that file. If the user does not specify any file name, then prompt the user for the name.
Retrieve program Grades.cpp and the data file graderoll.dat from the Lab 12 folder. The code is...
Retrieve program Grades.cpp and the data file graderoll.dat from the Lab 12 folder. The code is as follows: ______________________________________________________________________________ #include // FILL IN DIRECTIVE FOR FILES #include <iostream> #include <iomanip> using namespace std; // This program reads records from a file. The file contains the // following: student's name, two test grades and final exam grade. // It then prints this information to the screen. const int NAMESIZE = 15; const int MAXRECORDS = 50; struct Grades // declares a...
Using MongoDB, what command would you enter to retrieve this document using only the zip code...
Using MongoDB, what command would you enter to retrieve this document using only the zip code 11242? db.inspections.find(???????) Database: city Collection: inspections {"_id":{"$oid":"56d61033a378eccde8a898ae"}, "id":"23536-2015-ENFO", "certificate_number":5373970, "business_name":"NZO CORP.", "date":"Apr 22 2015", "result":"Violation Issued", "sector":"Grocery-Retail - 808", "address":{"city":"BROOKLYN", "zip":11242, "street":"COURT ST", "number":26}}
Here we will be taking data in as a file instead of from the command line...
Here we will be taking data in as a file instead of from the command line (no cin). Note that the sample file provided here is not the file that I will use to grade your assignment but the formatting will be the same. File input is very similar to how data comes in from the user through cin (using the same operators) but we will need to setup the stream ourselves. First we need to include <fstream> at the...
Here we will be taking data in as a file instead of from the command line...
Here we will be taking data in as a file instead of from the command line (no cin). Note that the sample file provided here is not the file that I will use to grade your assignment but the formatting will be the same. File input is very similar to how data comes in from the user through cin (using the same operators) but we will need to setup the stream ourselves. First we need to include <fstream> at the...
Which command do you use to find the process that’s holding a file open? 1. w...
Which command do you use to find the process that’s holding a file open? 1. w 2. ps 3. top 4. fuser
Which command is used to hold open a very short or zero-length file?
Which command is used to hold open a very short or zero-length file?
Make a program to read a file, filled with words separated by new lines, from command...
Make a program to read a file, filled with words separated by new lines, from command line arguments (args[0]), print the file, and then add each word into an arraylist. After making the arraylist, iterate through it and print its contents.
1. Give a command using find to search from the root directory the file program.f and...
1. Give a command using find to search from the root directory the file program.f and redirect any errors to the file myerrors.txt 2. Give a command for finding files having the letters index as the beginning of the file name and located in your home directory (provide the absolute path) 3. Give a command for finding within a directory called /mp3collection, only those mp3 files that have a size less than 5000 Kilobytes (< 5MB). 4. Give a commmand...
You can use the "cat" command to list the content of a file. For example: cat...
You can use the "cat" command to list the content of a file. For example: cat /etc/fstab lists the content of the file /etc/fstab in the terminal window that you are currently using. If you use a redirection of the standard output of the "cat' command: cat /etc/fstab > foo then a file named "foo" is created in the local directory and the content of the file /etc/fstab is listed by the "cat" command into the file "foo", which then...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT