Quick Answer: How Do I Permanently Add Ipv6 Route in Linux?
Contents How Do I Permanently Add an Ip Route in Linux? Adding Permanent Static Routes on Rhel or Centos, You Need to Modify the Interface File in...
Contents
How do I permanently add an IP route in Linux?
Adding permanent static routes
On RHEL or CentOS, you need to modify the interface file in ‘/etc/sysconfig/network-scripts’. For example, here, we have to add routes on network interface ens192. Hence, the file we need to modify will be ‘/etc/sysconfig/network-scripts/route-ens192’.
Must Read
How do you add IPv6 address in Linux permanently?
You have logged on to the server as an administrator.
- To add the main address, you must add the following entries to /etc/network/interfaces: allow-hotplug ens192. # IPV6 Setup. …
- To add the additional IPv6 address, you need to add the following additional entries to /etc/network/interfaces: iface ens192 inet6 static.