Traceroute: !N (Network unreachable)

How to fix !N (Network unreachable) error in traceroute

The !N response means that the host is unreachable.

The causes may be multiple:

  • Local system has no route to the desired host destination
  • The target host does not exist in the routing table

Disable the firewall

On Windows systems

Disable the firewall on your Windows system:

  1. Search for firewall.
  2. Open the Windows Defender Firewall.
  3. Click Turn Windows Defender Firewalloff.
  4. Select Turn off Windows Defender Firewallfor private and public network.
  5. Click OKto save changes.

Windows disable firewall

Set a default gateway

On Windows systems

  1. Search for network connect
  2. Select View network connections.
  3. Right-click on your network.
  4. Select Properties.
  5. From the list, select Internet Protocol Version 6 (TCP/IPv6).
  6. Select the Propertiesbutton.
  7. In the Properties tab, set the Default Gateway address.
  8. Click OKto save changes.

Windows set a default gateway