CentOS / RHEL: Remove Routes 169.254.0.0 / 255.255.0.0 From the System

CentOS / RHEL: Remove Routes 169.254.0.0 / 255.255.0.0 From the System

To remove routes to the 169.254.0.0/255.255.0.0 network from a Red Hat Enterprise Linux (RHEL) or CentOS system, follow these steps:

  1. Check the current routing table using the "route" command. You can use the "-n" option to display the routing table in numeric form:
ref‮‬er to:lautturi.com
route -n
  1. Look for any entries in the routing table that have a destination of 169.254.0.0/255.255.0.0. These are the routes that you want to remove.

  2. To remove a route, use the "route" command with the "del" option, followed by the destination and netmask. For example, to remove the route to the 169.254.0.0/255.255.0.0 network, use the following command:

route del 169.254.0.0 netmask 255.255.0.0
  1. Repeat this process for any other routes to the 169.254.0.0/255.255.0.0 network that you want to remove.

  2. Verify that the routes have been removed by checking the routing table again using the "route" command.

Keep in mind that the 169.254.0.0/255.255.0.0 network is reserved for link-local addresses, which are used for communication between devices on the same network segment. It may not be necessary or desirable to remove these routes, depending on your network configuration. If you do need to remove these routes, make sure to carefully consider the potential impact on your system's networking capabilities before doing so.

Created Time:2017-10-27 14:56:37  Author:lautturi