3213 DataLink+Network Flashcards

1
Q

How does a network layer packet travel

In terms of Layer structure

A

Sender: Network layer takes segments from transport layer, encapsulates to packet and pass to data link

Intermediate Router: Packets routed through intermediate nodes/routers

Receiver: Receive packet from lower layers, extracts and pass to transport.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Routing Algorithm used for what

A

Determine path of packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Internet protocol (IP) pros/cons

A

Pros: Best effort connectionless delivery
Keep routers simple

Cons: Unreliable, packets may be lost, out of order, duplicated
No throughput guarantee, no delay guarantee, no QoS guarantee

Higher layer handles issues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

IP Addressing—Network Layer Address

A

Interface: Connection between host/router and physical link (aka. port)
IP address: Each interface must have a globally unique IP address.
router usually has multiple ip addresses for each interface. Host usually has 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

IP Addressing prefix + suffix
Host ID 0 and 1

A

Prefix defines network
Suffix defines connection to the node

If Host ID all 0s: used to identify network address

If all 1’s, used to broadcast to all nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

IP address notation

A

4 bytes of IP address (4 octets)
eg. 00000000 00000000 00000000 00000000

Such that 11111111 represents 255 max

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Classful Addressing

A

Divide entire IPv4 address into 5 classes labeled A,B,C,D,E. Each class has different size for different types of networks.

Draw diagram on cheatsheet !!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Subnet Addressing + interfacing

A

For easier management, large network may partition into smaller networks called subnets

Subnet can interface physically without intermediate router

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Subnet: How does it work

A

Add another level of hierarchy to IP address
‘network prefix + subnet number + host number’

Only visible within organization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Subnet Mask: Usage + How to use

A

To find length of network prefix use subnet mask : w.x.y.z

Bits corresponding to network prefix are set to 1, and 0 otherwise.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Subnet range calculations

A

Given the added mid-fix of a subnet, we have n amounts of subnets, with n hosts in each. Say 11 bits for host, we can have 2^11 hosts, then MINUS 2 to save 0’s for network address, and 1’s for broadcast address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Creating subnet for # of hosts

A

Given x bits for Host ID, subtract 2^n to get amount of hosts needed for each subnet.

Now subtract n bits from Host bits, and add it to the Network bit range.

Apply mask to network ID, and the last few bits of 2^n represent starting point for subnet hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Solutions to IPv4 Exhaustion

A

Classless InterDomain Routing (CIDR):
- short term sol. Reduce waste in address allocation.

Network Address Translation(NAT):
- Single machine/router with an ip address representing many computers behind it.

IPv6: 128 bit space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Classless interdomain routing

A

Abandon notion of classful addressing
Key concept: length of network id prefix can be any length.

pros: high flexibility and scalability
a.b.c.d/x, where x reps # of leftmost bits for network id

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Network address translation

A

Private IP addresses for private internet
Private IP addresses not forwarded to internet, therefore different priv nets can re-use same private ip addresses.

Only 1 ip address is required from ISP to support whole private network to connect to internet.
1 IP for router, but specify port for hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How to get IP addresses

A

ICANN manages ip add spaces, and gives out blocks to ISP’s
ISP’s assign IP addys to host and router interfaces using Dynamic host config protocol

17
Q

DHCP

A

Dynamic host config protocol:
Dynamically get address from a server, host uses DHCP to discover:
its own ip addy,
its network subnet mask,
ip address for DNS name server
ip address for first hop default router

18
Q

IP fragmentation + reassembly

A

Identification: all frags of IP packet contain same iden value
Flags: unused, dont frag, more frag
Fragment offset: identifies location of frag in a packet. Where in cur pack this frag belongs, all frags multiple of 8 except last..

19
Q

IP routing protocols

A

Internet routing: autonomous system
IntraAS routing: