Some implementations treat the network address and subnet mask as separate values, however in practice both of the values have to be considered for any given routing decision to determine the longest prefix match.
Thus the term static here refers to the nature of remaining unchanged by the system itself.
The most prominent example of a static route is a default route which is often used on devices with a statically configured IP address to provide the device with access to the rest of the network or the internet by default.
Static routing may have the following uses: Static routing has the following advantages: Static routing can have some potential disadvantages:[7] To route IP traffic destined for the network 10.10.20.0/24 via the next-hop router with the IPv4 address of 192.168.100.1, the following configuration commands or steps can be used: Linux distributions generally provide a variety of network configuration software for users to use,[8] but also ship with a default such as systemd-networkd or ifupdown.
It is also possible to configure Linux networking ad-hoc using the ip command from the iproute2 package.