Network IP Addressing Flashcards

1
Q

What is an IP address?

A

An IP address is a unique identifier assigned to each device on a network, used for communication and location addressing.

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

What are the two main types of IP addresses?

A

IPv4 (32-bit addresses) and IPv6 (128-bit addresses).

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

What is the difference between a public and private IP address?

A

Public IP addresses are globally unique and assigned by ISPs for communication over the Internet, while private IP addresses are used within a local network and are not globally unique.

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

What are the three main classes of IPv4 addresses?

A

Class A (1-126.x.x.x), Class B (128-191.x.x.x), and Class C (192-223.x.x.x).

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

What is a subnet mask?

A

A subnet mask is a 32-bit number that defines the network and host portions of an IP address, used to divide a network into smaller subnetworks.

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

How do you calculate the number of hosts and subnets for a given subnet mask?

A

The number of hosts is calculated by raising 2 to the power of the number of host bits (32 minus the number of network bits), minus 2 (for the network and broadcast addresses). The number of subnets is calculated by raising 2 to the power of the number of borrowed bits.

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

What is CIDR notation?

A

CIDR (Classless Inter-Domain Routing) notation is a compact way of representing a subnet mask, using a forward slash followed by the number of network bits (e.g., 192.168.1.0/24).

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

What is the difference between a default gateway and a router?

A

A default gateway is the IP address of the router interface connected to the local network, used to send packets to other networks. A router is a device that forwards packets between networks based on IP addresses.

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

What is the purpose of the routing table?

A

The routing table is a data table stored in a router or a network device that contains information about the routes to network destinations, used to determine the best path for forwarding packets.

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

What is the difference between static and dynamic routing?

A

Static routing involves manually configuring routes in the routing table, while dynamic routing uses routing protocols (like RIP, OSPF, or EIGRP) to automatically exchange routing information between routers.

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

What is the OSI model and what are its seven layers?

A

The OSI (Open Systems Interconnection) model is a conceptual framework for understanding network communications. Its seven layers are:
Physical
Data Link
Network
Transport
Session
Presentation
Application.

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

What is the purpose of the ARP (Address Resolution Protocol)?

A

ARP is used to map IP addresses to MAC addresses within a local network, allowing devices to communicate using Layer 2 addresses.

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

What is the difference between TCP and UDP?

A

TCP (Transmission Control Protocol) is a connection-oriented protocol that provides reliable, ordered, and error-checked delivery of data

UDP (User Datagram Protocol) is a connectionless protocol that provides fast, unreliable delivery without error checking.

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

What is the purpose of the ping command?

A

The ping command is used to test the reachability of a host on an IP network and measure the round-trip time for messages sent from the originating host to the destination host.

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

What is the purpose of the traceroute command?

A

The traceroute command is used to display the route and measure transit delays of packets across an IP network, showing the path taken and the time taken at each hop.

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

What is a VLAN (Virtual Local Area Network)?

A

A VLAN is a logical subnetwork that groups devices based on factors other than physical location, allowing for better network segmentation, security, and performance.

17
Q

What is NAT (Network Address Translation)?

A

NAT is a method of remapping one IP address space into another by modifying network address information in the IP header of packets, often used to enable multiple devices on a private network to access the Internet using a single public IP address.

18
Q

What is a firewall, and what is its purpose?

A

A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules, used to prevent unauthorized access and protect against network threats.

19
Q

What are some common network troubleshooting tools and commands?

A

ping, traceroute, ipconfig/ifconfig, ip, nslookup, netstat, Wireshark, and telnet.

20
Q

How do you troubleshoot network connectivity issues?

A

Some steps to troubleshoot network connectivity issues include:
checking physical connections,
verifying IP address and subnet mask configuration,
testing connectivity with ping and traceroute,
checking routing tables and default gateway settings,
analyzing firewall and security settings