Unit 3 - Essential Networking Flashcards

1
Q

Which layers do the Linux network support and what us the responsibility of each?

A
  • Linux networking extensively supports Layer 2 and Layer 3
  • Layer 2 is the Data Link Layer and is responsible for correct local delivery of packets between nodes.
  • Layer 3 is the Network Layer and is responsible for moving data packets between networks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is SSH considered more secure then Telnet?

A

SSH is encrypted where as Telnet is not.

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

What is the highest priority network in Linux?

A

Local host (127.0.0.1)

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

What does every basic network need?

A
  • IP address for host
  • Gateway address
  • Broadcast address
  • Netmask for network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the differences between multicast, unicast and broadcast?

A
  • Broadcast is to all machines
  • Unicast is to one machine
  • Multicast is to group of machines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to see all stats for network interfaces?

A

ip -s link

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
In 'ip -s link' what do the following show?
–Errors 
–Dropped
–Overruns
–Frame
–Carrier
–Collisions
A

–Errors –CRC Error in packet

–Dropped –Kernel buffers overflowed

–Overruns –Card buffer overflowed

–Frame –Frame length not a multiple of 8 bits

–Carrier –Probably a fault in the card

–Collisions –tx collided with another frame

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

Given a desktop Linux machine with an IP of 10.0.1.14/24, and a gateway which is 1 less than the broadcast address, write down the ip commands needed to define the interface and routing table.

A

ip addr add 10.0.1.14/24 broadcast 10.0.1.255 dev eth1
ip route append 10.0.1.0/24 dev eth1
ip route append default 10.0.2.254

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