What Is My Router’s IP Address (Default Gateway)

A router is a device that communicates between the Internet (or public network) and the devices in a local network (or private network).

A typical home router, that usually acts as a default gateway for the local devices, can be configured using a web-based configuration page that can be accessed from a web-browser if you know the router’s IP address.

In this note i will show how to find out the router’s IP address in Windows, Linux and MacOS from the command line. (more…)

Windows: ARP Command – Show Table & Clear Cache

An ARP (Address Resolution Protocol) is a communication protocol that works on a “Physical (Data-Link)” layer of a TCP/IP stack and is used to discover a MAC address of a device on a LAN (local-area network) based on its IP address.

An ARP table is used to store the discovered pairs of the MAC and IP addresses.

In this note i will show how to display the ARP table and how to clear the ARP cache using the Windows arp command. (more…)

Git Bash: Change Home Directory

The Home (~) directory in Git Bash can be changed by setting the user-level %HOME% environment variable in Windows.

This is quite safe as the %HOME% environment variable is not normally set for Windows applications, so creating it shouldn’t affect anything else.

Moreover, setting the user-level environment variable in Windows doesn’t require admin rights. (more…)