Make your IP Address discoverable

Last Updated : 5 Feb, 2026

In Linux, making your IP address discoverable is an essential task when performing network-related activities such as remote access, server hosting, or working with virtual machines. This guide explains how to identify your IP address and configure your system or virtual machine network settings so that the IP is reachable on the network.

Step 1: Obtain Your IP Address

The first step is to identify your current IP address. Open a terminal and use one of the following commands:

ip addr

Look for your active network interface (commonly named eth0, ens33, wlan0, or similar). The IP address appears next to the inet field.

Note: ifconfig is deprecated on many modern Linux distributions. The ip command is recommended.

Step 2: Ensure Network Connectivity

Make sure your system is:

  • Powered on
  • Connected to a network (wired or wireless)
  • Receiving an IP address from a router or DHCP server

Without an active network connection, your IP address will not be reachable on the network.

Step 3: Verify the Active Interface

If multiple interfaces are present, verify which one is actively connected to the network by checking for an assigned inet address and interface state (UP).

Step 4: Access System Network Settings

This step is optional and applies mainly to desktop environments with a graphical interface.

Open your system’s Settings application. The exact steps depend on your desktop environment (GNOME, KDE, XFCE, etc.), but generally:

  • Open Settings
  • Navigate to Network

Here you can view and manage network connections.

Step 5: Configure Network Mode for Virtual Machines

If you are using a virtual machine, network configuration plays a key role in determining whether the IP address is reachable from other systems.

NAT (Network Address Translation)

  • Suitable for basic internet access
  • The VM receives a private IP
  • The IP is accessible from the host system, but not directly accessible from other machines on the LAN.

To configure NAT (e.g., in VirtualBox):

  • Open VM Settings
  • Go to Network
  • Set Attached to -> NAT

Step 6: Bridge Adapter Configuration

To make the virtual machine’s IP address discoverable on the same network as the host system, use a Bridged Adapter.

Steps:

  • Open VM Settings
  • Go to Network
  • Set Attached to -> Bridged Adapter
  • Select the appropriate physical network interface

With bridging enabled, the VM receives an IP address from the same network as the host, making it discoverable by other devices.

Note: Bridged networking may be restricted on some Wi-Fi networks or require administrative permissions.

Step 7: Apply and Verify Changes

After applying the network settings:

  • Start or restart the virtual machine

Run:

ip addr

inside the VM to confirm the new IP address

If network policies and firewall settings allow, you should now be able to reach the system using this IP address from other devices on the same network.

Comment
Article Tags:

Explore