• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/77

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

77 Cards in this Set

  • Front
  • Back

Which of the following are functions of OSI layer 3 protocols?
a. Logical addressing
b. Physical addressing
c. Path selection
d. Arbitration
e. Error recovery

a,c
The network layer defines logical addressing, in contrast to physical addressing. The logical address sctructure allows for easy grouping of addresses, which makes routing more efficient. Path selection refers to the process of choosing the best routes to use in the network. Physical addressing and arbitration typically are data link layer functions, and error recovery typically is a transport layer function.

Imagine that PC1 needs to send some data to PC2 and PC1 and PC2 are separated by several routers. What are the largest entities that make it from PC1 to PC2?
a. Frame
b. Segment
c. Packet
d. L5 PDU
e. L3 PDU
f . L1 PDU
c,e
Packet
L3 PDU
Imagine a network with two routers that are connected with a point to point DLC serial link. Each router has an Ethernet, with PC1 sharing the Ethernet with Router 1 and PC2 sharing the Ethernet with Router2. When PC1sends data to PC2 which of the following is true?
a. Router 1 strips the Ethernet header and trailer off the frame received from PC1 never to be used again.
b. Router 1 encapsulates the Ethernet frame inside an HDLC header and sends the frame to Router2 which extracts the Ethernet frame for forwarding to PC2.
c. Router 1 strips the Ethernet header and trailer off the frame received from PC1 which is exactly re-created by R2 before forwarding data to PC2.
d. Router 1 removes the Ethernet, IP, and TCP headers and rebuilds the appropriate headers before forwarding the packet to Router2
a
Router 1 strips the Ethernet header and trailer off the frame received from PC1 never to be used again
Which of the following are valid Class C IP addresses that can be assigned to hosts.
a. 1.1.1.1
b. 200.1.1.1
c. 128.128.128.128
d. 224.1.1.1
e. 223.223.223.255
b
200.1.1.1 is a class D address. 223.223.223.255 is the network broadcast address for class C network 223.223.223.0, so it cannot be assigned to a host.
What is the range of values for the first octet for Class A IP networks?
a. 0 to 127
b. 0 to 126
c. 1 to 127
d. 1 to 126
e. 128 to 191
f. 128 to 192
d.
1 to 126
PC1 and PC2 are on two different Ethernnets that are separated by an IP router. PC1's IP address is 10.1.1.1, and no subnetting is used. Which of the following addresses could be used for PC2?
a. 10.1.1.2
b. 10.2.2.2
c. 10.200.200.1
d. 9.1.1.1
e. 255.1.1.1
f. 1.1.1.1

D and F. Without any subnetting in use, all addresses in the same network as 10.1.1.1 all addresses in class A network 10.0.0.0 must be on the same LAN. Addresses separated from that network by some router cannot be in network 10.0.0.0. So, the two correct answers are the only two answers that list a valid unicast IP address that is not in network 10.0.0.0.

Each class B network contians hwo many IP addresses that can be assigned to host
a. 16,777,214
b. 16,777,216
c. 65,536
d. 65,534
e. 65,532
f. 32, 768
g. 32, 766
d. 65,534
Each class C network contains how many IP addresses that can be assigned to hosts?

a. 65,534
b. 65,532
c. 32,768
d. 32,766
e. 256
f. 254
f. 254
which of the following does a router normally use when making a decision about routing TCP/IP packets?
a. Destination MAC address
b. Source MAC address
c. Destination IP address
d. Source IP address
e. Destination MAC and IP address
c. Destination IP address
Which of the following are true about a LAN-connected TCP/IP host and its IP routing (forwarding) choices?
a. The host always sends packets to its default gateway.
b. The host sends packets to its default gateway if the destination IP address is in a different class of IP network than the host.
c. The host sends packets to its default gateway if the destination IP address is in a different subnet than the host.
d. The host sends packets to its default gateway if the destination IP address is in the same subnet as the host.
b. The host sends packets to its default gateway if the destination IP address is in a different class of IP network than the host.
c. The host sends packets to its default gateway if the destination IP address is in a different subnet than the host.
Which of the wollwing are functions of a routing protocol?
a. Advertising known routes to neighboring routers
b. Learning routes for subnets directly connected to the router.
c. Learning routes, and putting those routes into the routing table, for routes advertised to the router by its neighboring routers
d. To forward IP apckets based on a packet's destination IP address.
a. Advertising known routes to neighboring routers
c. Learning routes, and putting those routes into the routing table, for routes advertised to the router by its neighboring routers
Which of the following protocols allows a client PC to discover the IP address of another computer based on that other computer's name?
a. ARP
b. RARP
c. DNS
d. DHCP

c. DNS

Which of the following protocols allows a client PC to request assignment of an IP address as well as learn its default gateway?
a. ARP
b. RARP
c. DNS
d. DHCP
d. DHCP
What does the OSI network layer protocol define?
Routing- the process of forwarding packets (layer 3 PDUs).
Logical addressing- addresses that can be used regardless of the type of physical networks used, providing each device one address. Logical addressing enables the routing process to identify a packets source and destination.
Routing protocol - a protocl that aids routers by dynamically learning about the groups of addresses in the network, which in turns allows the routing (forwarding) process to work well.
Other utilities - The network layer also relies on other utilities. For TCP/IP, these utilities include DNS, DHCP, ARP and ping.
What is layer 3 protocol called?
Connectionless network services. Only protocols used to day are TCP/IP network protocol.

Legacy ones are IPX, Apple talk, and DDP.
Main job of IP?
To route data packets from the source host to the destination host
What does IP require?

Does not require any overhead agreements or messages before sending a packet. Connectionless protocol

How does IP deliver the packet?
IP tries to deliver each packet, but if a host IP process cannot deliver the packet it is discarded.
Does IP use high overhead to deliver its packets?
No, It only uses the minimum and prepares each packet with minimum work. (no error check, no resending lost data)
What is Routing forwarding?
It focus on the end to end logic of forwarding a packet. R1, sends to R2, then R3. Using different interfaces like FA 0/1 or S0/1 to get to the destination.
How does a router determine which data-link address to use?
It uses the IP address resolution protocol (ARP). It dynamically learns the data a link address of an IP host connected to a LAN
Process of routing forwards Layer 3 packets?
Called Layer 3 protocol data units L3 PDU, based on the destination of layer 3 address in the packet.
What are the routing process used the data link layer to encapsulate the Layer 3 packets?
Layer 3 packets into layer2 frames for transmission across each successive data link.
Header fields
Version
Version of the IP protocol. Most networks use version 4 today
IHL
IP Header Length. Defines the length of the IP header, including optional fields.
DS Field
Differentiated services Field. It is used for marking packets for the purpose of applying different quality of service levels to different packets
Packet length
Identifies the entire length of the IP packet, including the data.
Identification
Used by the IP packet fragmentation process; all fragments of the original packet contain the same identifier
Flags
3 bits used by the IP packet fragmentation process
Fragment offset
A number used to help hosts reassemble fragmented packets into the original larger packet
TTL
Time to live. A value used to prevent routing loops
Protocol
A field that identifies the contents of the data portion of the IP packet. For example, protocol 6 implies that TCP header is the first thing in the IP packet data field
Header Check sum
A value used to store an FCS value, whose purpose is to determine if any bit errors occurred in the IP header.
Source IP address
The 32-bit IP address of the sender of the packet.
Destination IP address
The 32-bit IP address of the intended recipient of the packet.
What does a IPv4 header look like?
Contains:
Version
IP header Length
Differentiated Services Field
Packet length
Identification
Flags
Fragment offset
Time to Live
Protocol
Header Check sum
Source IP address
Destination IP Address
What does a IPv4 header look like?
Contains:
Version
IP header Length
Differentiated Services Field
Packet length
Identification
Flags
Fragment offset
Time to Live
Protocol
Header Check sum
Source IP address
Destination IP Address
What does a IPv4 header look like?
Contains:
Version
IP header Length
Differentiated Services Field
Packet length
Identification
Flags
Fragment offset
Time to Live
Protocol
Header Check sum
Source IP address
Destination IP Address
A key feature of network layer addresses is that ?
They were designed to allow logical grouping of addresses. Numeric value of an address implies a group or set of addresses, which are in the same group
What does routing rely on?
The fact that layer 3 addresses are grouped. The routing tables for each network layer protocol can have one entry for the group, not one entry for each individual address.
A Ethernet with 100 TCP/IP host will need to forward how many entries?
Only one routing table entry representing the entire group of hosts on the Ethernet. to make networking more efficient network layer protocols group addresses.
How does a router make correct choices to send packets?
Each router needs a routing table, with a route that matches the packet sent to PC2. The routes tell the router where to send the packet next
How do routers build their routing tables?
Routers build their routing tables dynamically using routing protocol.
What do routing protocols do?
Routing protocols learn about all the locations of the network layer"groups" in a network and advertise the groups' locations.
What is the main goal of a routing protocol?
Is to fill the routing table with all known destination groups and with the best route to reach each group.
Routing protocol?
Learns routes and puts those routes in a routing table.
A routed protocol?
Defines the type of packet forwarded, or routed, through a network. IP is a routed protocol. If routers use RIP then it would be called a routing protocol.
How does a device communicate using TCP/IP?
It uses an IP address.
Why is an IP address needed?
When an device has the software and hardware, It can send and receive IP packets. Any device that can send and receive IP packets is called an IP host.
An IP address consists of how many bits?
32 bit number written in dotted decimal notation. Each byte is 8 bits of the 32 bit IP address.
What is dotted decimal ?
It is a 168.1.1.1 is an IP address written in dotted decimal form.
What is an octet?
Each decimal number in an IP address is called an octet. An octet is just a name for byte 168.1.1.1 the 168 is one octet 1 is another and so on
What is the range of decimal numbers in an octet?
The range of the decimal numbers in an octet is between 0-255
Does every NIC have an different IP address?
Yes, each NIC will have a different IP address and different interface.
What are tow key points about how IP addresses are organized?
All IP addresses in the same group must not be separated by a router.
IP addresses separated by a router must be in different groups.
What is the difference between network 8.0.0.0 and 130.4.0.0?
They are different because they belong to different classes.
How many different network classes are there?
Class A
Class B
Class C
Class D multicast
Class E experimental
How many number of addresses for a Class A network?
2^24 minus 2 or 16,777,216 addresses per network
How many number of addresses for a Class B network?
2^16 minus 2 or 65,536 address per network
How many number of addresses for a Class C network?
2^8 minus 2 or 256 address per network
What do you call it when an address has all zeros in its host part?
If it is all zeros it is called network broad cast or directed broadcast address. All packets sent to a network broadcast are forwarded to all devices in the network.
What does each device connected to the internet need?
A unique, non-duplicated IP address
Who uses class A, B, and C networks?
Class A is for schools, ISPs, governments with large scaled networks. Class B is for medium networks and Class C for small typically home networks.
What does the central authority do?
It assigns each network number to only one organization, helping unique address assignment.
What does each organization do when their addressed is assigned to them?
The organization then assigns individual IP addresses inside its own network.
What is the range of a Class A network?
first octet is between 1-126
1.0.0.0 to 126.0.0.0
What is the range of a Class B network?
first octet is between 128-191
128.0.0.0 to 191.0.0.0
What is the range of a Class C network?
first octet is between 192-223
192.0.0.0 to 223.255.255.0
How many host for a Class A?
2^24 -2 or 16,777,214
How many host for a Class B?
2^16 -2 or 65,534
How many hosts are for a Class C network?
2^8 -2 or 254
What is classful addressing?
The three parts of an IP address (network, subnet, and host). It refers to routing based on the rules about class A, B, and C addressing.
What is Classless routing?
Instead of three parts there are two parts. The part on which routing is based. The host part.

The subnet or prefix part and the host part.

referred as a subnet mask.
Using simple routing logic how does a host send a packet?
If the destination IP address is in the same subnet as I am, send the packet directly to that host.

If the destination IP address is not in the same subnet send it to the default gateway.
What is a routing table?
Contains a list of network layer address groupings. There is one single entry in the routing table per individual destination. One routing table per group
What does the data link layer do?
It asks the physical interface to send the packet. It also adds the header and trailer to the packet making a frame.

When are the data-link headers and trailers discarded?

When the routing process forwards the packet, end to end through the network discarding the packet headers and trailers along the way.