Top 20 IP Address Interview Questions and Answers
Updated 1 Aug 2025

Asked in Dixit Infotech Services

Q. What are IP address classes?
IP address classes are a way of categorizing IP addresses based on their first octet.
There are five classes: A, B, C, D, and E.
Class A addresses start with a number between 1 and 126.
Class B addresses start with a number between 128 and 191.
Class C a...read more

Asked in Motadata

Q. How do you check the IP address in Linux?
To check IP in Linux, use the command 'ifconfig' or 'ip addr show'
Open the terminal and type 'ifconfig' or 'ip addr show'
Look for the IP address under the network interface section
Alternatively, use the command 'hostname -I' to display the IP address...read more

Asked in LTIMindtree

Q. What is an IP address and a MAC address?
An IP address identifies a device on a network, while a MAC address is a unique identifier for network interfaces.
IP Address: A numerical label assigned to each device connected to a computer network.
Example of IP Address: 192.168.1.1 (IPv4) or 2001:...read more

Asked in Konverge Technologies

Q. What is an IP address, and how is it defined by IP version?
IP stands for Internet Protocol. It is a set of rules that governs the format of data sent over the internet.
IP is a unique address assigned to each device connected to a network.
There are two versions of IP - IPv4 and IPv6.
IPv4 uses a 32-bit address...read more

Asked in Singsys Pte

Q. What are the ranges and classes of IP addresses?
IP addresses are divided into classes A, B, C, D, and E. Each class has a range of IP addresses.
Class A: 1.0.0.0 to 126.0.0.0
Class B: 128.0.0.0 to 191.255.0.0
Class C: 192.0.0.0 to 223.255.255.0
Class D: 224.0.0.0 to 239.255.255.255
Class E: 240.0.0.0 t...read more

Asked in Phenom

Q. Given a string, print all valid IP addresses that can be formed from it.
Print all valid IP Addresses from a given input of strings.
Split the input string into 4 parts and check if each part is a valid IP address component
Use regular expressions to validate each component
Use nested loops to generate all possible combinati...read more

Asked in HARMAN

Q. How do you check the IP address of a Windows machine?
To check the IP of a Windows machine, you can use the command prompt or the network and sharing center.
Open Command Prompt and type 'ipconfig' to view the IP address of the machine.
Alternatively, go to Control Panel > Network and Sharing Center > Cha...read more

Asked in Microsoft Corporation

Q. Tell me about IP addresses and their classification.
IP addresses are unique numerical labels assigned to devices connected to a network, classified into different classes based on their range and purpose.
IP addresses are divided into classes based on the range of numbers they fall into, with Class A, ...read more

Asked in Bandhan Bank

Q. How do you configure an IP address on a PC and change the hostname?
To provide IP address on PC and change hostname, go to network settings and configure TCP/IP settings. To change hostname, go to system properties.
Open Control Panel and click on Network and Sharing Center
Click on Change adapter settings
Right-click o...read more

Asked in Dell

Q. How do you check IP address and subnet mask?
To check IP and subnet mask, use the ipconfig command on Windows or ifconfig command on Linux/Unix.
Open Command Prompt or Terminal
Type 'ipconfig' on Windows or 'ifconfig' on Linux/Unix
Look for 'IPv4 Address' and 'Subnet Mask' in the output
IPv4 Addres...read more

Asked in Tech Mahindra

Q. What is the difference between an IP address and a port number?
IP address is a unique identifier for a device on a network, while a port number is used to identify specific processes or services on that device.
IP address is like a street address, while port number is like an apartment number
IP address is used fo...read more

Asked in Aditya Infotech

Q. What is the IP address range of class C?
Class C IP address range is from 192.0.0.0 to 223.255.255.255.
Class C IP addresses start with 192.x.x.x to 223.x.x.x
The subnet mask for Class C is 255.255.255.0
Example: 192.168.1.1, 203.45.67.89
Asked in Market Mirror Research Solutions

Q. What is the network ID for IP PHONE_NUMBER.0.23?
The network id for ip 192.168.0.23 is 192.168.0.0.
Identify the subnet mask for the network
Perform a bitwise AND operation between the IP address and subnet mask
The result is the network id

Asked in FireCompass

Q. How would you find the origin IP of a website?
To find the origin IP of a website, you can use tools like ping, nslookup, or online IP lookup services.
Use the 'ping' command in the command prompt or terminal to get the IP address of the website.
Use 'nslookup' command to query DNS servers for the ...read more

Asked in Country Delight

Q. mapping of ip with DNS
Mapping of IP with DNS involves associating domain names with IP addresses for easier access on the internet.
DNS (Domain Name System) is a system that translates domain names to IP addresses.
IP addresses are unique identifiers assigned to devices con...read more
Asked in Inayam Infotech

Q. What steps do you take when an IP address is incorrect or there is no network connectivity?
This issue could be caused by various factors such as incorrect IP configuration, network cable issues, or network adapter problems.
Check the IP configuration settings on the device
Ensure that the network cable is properly connected and not damaged
Ve...read more

Asked in Shiv Computers

Q. IP and their types
IP stands for Internet Protocol and refers to a set of rules governing the format of data packets sent over the internet.
IP is a fundamental protocol in the internet protocol suite.
There are two versions of IP: IPv4 and IPv6.
IPv4 addresses are 32-bit...read more

Asked in Futuresoft Solutions

Q. management ip and its purpose
Management IP is used to remotely manage and monitor network devices.
Management IP is a unique IP address assigned to a network device for administrative purposes.
It allows system administrators to remotely access and configure the device.
Management ...read more

Asked in HCLTech

Q. How many IP address classes are there?
There are 5 classes of IP addresses: Class A, Class B, Class C, Class D, and Class E.
Class A: 1.0.0.0 to 126.0.0.0
Class B: 128.0.0.0 to 191.255.0.0
Class C: 192.0.0.0 to 223.255.255.0
Class D: 224.0.0.0 to 239.255.255.255
Class E: 240.0.0.0 to 255.255.2...read more

Asked in Team Computers

Q. What is the difference between an IP and MAC address?
IP address is used to identify a device on a network, while MAC address is a unique identifier assigned to network interfaces for communications at the data link layer.
IP address is a logical address assigned to a device to identify it on a network
MA...read more

Asked in Microland

Q. What is an IP address, and what are the different versions?
IP stands for Internet Protocol. It is a unique numerical address assigned to each device connected to a computer network.
IP is used to identify and locate devices on a network.
There are two versions of IP: IPv4 and IPv6.
IPv4 uses a 32-bit address an...read more

Asked in Tejas Networks and 2 others

Q. What is an IP address and what are its classes?
IP Address is a unique numerical label assigned to each device connected to a computer network.
IP Address stands for Internet Protocol Address.
There are five classes of IP Addresses: A, B, C, D, and E.
Each class has a different range of possible IP A...read more

Asked in Wipro

Q. MAC, IP address difference
MAC address is a hardware address assigned to network devices, while IP address is a logical address used for communication.
MAC address is a unique identifier assigned to network interfaces for communication at the data link layer.
IP address is a log...read more


Q. Explain IP Addresses and their classes.
IP Address is a unique numerical label assigned to each device connected to a computer network.
IP Address is divided into classes: A, B, C, D, and E.
Class A addresses are used for large networks, with the first bit always set to 0.
Class B addresses a...read more

Asked in Alankit

Q. Different classes about IP address
Different classes of IP addresses
IP addresses are divided into classes based on their first octet
Class A addresses have a first octet range of 1-126
Class B addresses have a first octet range of 128-191
Class C addresses have a first octet range of 192...read more
Asked in MFX Infotech - A Quess Company

Q. What are the different types of IP addresses, their classes, and their ranges?
There are 3 types of IP addresses: IPv4, IPv6, and MAC. IPv4 has 4 classes: A, B, C, and D.
IPv4: 4 classes - A (1.0.0.0 to 126.0.0.0), B (128.0.0.0 to 191.255.0.0), C (192.0.1.0 to 223.255.255.0), D (224.0.0.0 to 239.255.255.255)
IPv6: 8 groups of 4 h...read more
Top Interview Questions for Related Skills
Interview Experiences of Popular Companies










Interview Questions of IP Address Related Designations



Reviews
Interviews
Salaries
Users

