adding_routes
This is an old revision of the document!
Adding Routes
CentOS 6.x
To add a route, you can use the following command and replacing <destination>, <gateway>, <interface>:
1 |
ip route add <destination> /32 via <gateway> dev <interface> |
1 |
vim /etc/sysconfig/network-scripts/route- <interface> |
1 |
<destination> /32 via <gateway> dev <interface> |
adding_routes.1499156106.txt.gz · Last modified: 2024/05/23 07:26 (external edit)