1.10 IP Parameters for Client OS Flashcards
Verify IP parameters for Client OS (Windows, Mac OS, Linux). (23 cards)
What is IP configuration?
Refers to the settings that enable network communication.
These settings include the IP address, subnet mask, default gateway, and DNS servers. Correct IP configuration is essential for a device to communicate locally and across the internet.
Why is verifying IP settings important for network troubleshooting?
It ensures proper network communication.
This includes confirming the IP address, subnet mask, gateway, and DNS settings.
What settings does an IPv4 host need to work correctly?
- DNS server IP addresses
- Default gateway (router) IP address
- Device’s own IP address
- Device’s own subnet mask
These settings are essential for an IPv4 host to communicate within its subnet and beyond.
How many DNS servers should an endpoint typically know for redundancy?
at least two
Redundant DNS servers ensure that if one fails, the other can still resolve domain names, maintaining network connectivity.
True or False:
The default gateway forwards packets to addresses outside the subnet.
True
The default gateway is used when a device needs to communicate with a destination that is not within its local subnet, typically routing traffic to the internet or another network.
What must the host and the default router agree on?
The addresses inside the subnet.
This ensures that both devices are within the same network range, allowing communication between the host and the router for external traffic routing.
What command is commonly used in Windows to display IP configuration?
ipconfig
ipconfig is a basic command in Windows used to view the network configuration, including the IP address, subnet mask, and default gateway.
What does the command ipconfig /all show in Windows?
- DNS server list
- DHCP status
- DHCP server IP address
The ‘ipconfig /all’ command offers more in-depth network information than ‘ipconfig,’ making it essential for troubleshooting.
What are the two key routes created by a host using DHCP?
- A default route with the default gateway as the next-hop address
- A route to the subnet connected to the working interface
DHCP automatically configures routes, ensuring the host can communicate with external networks and the local network.
True or False:
The ifconfig output in macOS shows the default gateway and DNS servers.
False
While ifconfig shows IP addresses and network interfaces, it does not provide DNS or default gateway information, unlike ipconfig /all in Windows.
What is the subnet mask format shown by ifconfig in macOS?
Hexadecimal
In macOS, the subnet mask is typically shown in hexadecimal format, which needs to be converted to decimal for easier understanding.
True or False:
A gateway of on-link means the destination is on the local subnet.
True
An ‘on-link’ gateway signifies that the destination address is within the same subnet, meaning no external router is needed to reach it.
Fill in the blank:
The hex subnet mask 0xffffff00 converts to ________ in dotted decimal format.
255.255.255.0
Subnet mask conversion from hexadecimal to decimal is essential for understanding subnetting in IPv4.
What command provides more detail than ifconfig on macOS?
networksetup
The networksetup command provides a more comprehensive view of network configurations and settings in macOS compared to ifconfig.
What command does macOS use to list routing tables?
netstat -rn
netstat -rn displays routing tables and the active routes used by macOS to forward traffic.
What command in macOS can be used to view network settings?
ifconfig
ifconfig provides detailed network interface information, including IP address and subnet mask on macOS systems.
Fill in the blank:
In the macOS netstat -rn output, the default route is represented by ________.
default
Unlike in other systems where 0.0.0.0 is used, macOS shows “default” in the routing table to represent the default route.
True or False:
The ping command checks if a host can communicate with a remote device.
True
The ping command helps verify if the host can reach the destination by sending ICMP Echo Request packets and awaiting a reply, making it a basic tool for network connectivity tests.
What command is commonly used in Linux to show networking settings?
ifconfig
ifconfig is commonly used in Linux to view network interface configurations, though ip commands are now preferred in modern Linux systems.
What library has replaced net-tools in Linux for networking commands?
iproute2
iproute2 replaces the older net-tools library, offering more advanced and flexible networking commands like ip and ss.
What does the command ip address show in Linux?
Ethernet MAC and IPv4 addresses, along with the subnet mask.
ip address is part of the iproute2 suite, providing detailed interface and address information in Linux.
What is the output of the netstat -rn command in Linux?
It lists the default route and the route to the local subnet.
netstat -rn provides routing table details in Linux, which can be useful for troubleshooting and verifying network settings.
If a Windows client receives an IP address in the 169.254.x.x range, what should you check?
The DHCP server connectivity or manually configure the IP address.
APIPA indicates the client failed to obtain a DHCP address, suggesting DHCP server or network issues.