Quiz0InternetSecurity.pdf

A typical ip address look like this 1921681021 which

Info icon This preview shows pages 2–4. Sign up to view the full content.

bytes) IP address byte is separated by a dot, or period. A typical IP address look like this: 192.168.10.21 which is equivalent to 11000000.10101000.00001010.00010101 in binary format. Initially IP address was assigned as per Classful Scheme. Now IP address is classless. IP address has Net ID and Host ID. One net ID is assigned to an organization. For example Syracuse University has net ID 128.230 and 2 16 is host ID. How many computers you can are based the hostID. For Syracuse university it is 16 bits means it can have 2 16 hosts. For our example Syracuse University falls in to B class. B class has 16 bit net ID of which 14 bits are changeable. Thus total number of Net in class B is 2 14 = 16,384. Total number of Host in Class B is 2 16 = 65,536. Total numbers of addresses class B can have are 16,384 x 65,536 = 1,073,741,824. Net id is very important for routing. Routing is based on NetID. When packet come router need to quickly split that into NetID and HostID part. 5(20): what is ARP? Which layer does it belong to? Why do we need ARP? ARP stands for Application Resolution Protocol. It is a communication protocol. It maps Network address such as Ipv4 to Mac address. ARP is layer 2 which is data link layer. We need ARP to Map network address such Ipv4 address to physical address such MAC address.
Image of page 2

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

6: (15) write a C program to use pointer movement to print an integer byte by byte. Need to be able to compile and print out the bytes. (no shifting allowed, no points if program fails compiling). Or if you run out of time, write your strategy to do it. Here is a simple program that prints out a hex# byte by byte. I used hex 0x11121314 for demonstration purpose. Program: Output:
Image of page 3
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '17
  • Du
  • IP address, Internet Protocol Suite

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern