IAMEM Hosting

Adding Temporary Routes in CentOS 7 Servers

Home > Blog > Hosting > Adding Temporary Routes in CentOS 7 Servers
21Oct, 2016
0

Adding Temporary Routes in CentOS 7 Servers

 

Temporary routes can be added using the following command on CentOS7

Simple route:

ip route 10.10.20.0/32 via 192.168.20.1

 

Device based simple route:

ip route 10.10.20.0/32 via 192.168.20.1 dev ens1002

 

Device based simple route with specified metric:

ip route 10.10.20.0/32 via 192.168.20.1 dev ens1002 metric 105

 

 

Leave a Reply

eleven − 11 =

Copyright © 2019 | iamemhost.com . All rights reserved.