---
title: "SUSE永久增加路由的方法"
author: "huangxiaobing"
date: "2010-01-04T15:09:26Z"
tags: []
categories: ["操作系统"]
slug: "suse"
draft: false
lastmod: "2010-01-04T15:09:26Z"
id: 562103
url: "https://4ujava.iteye.com/blog/562103"
---

1)修改路由表文件/etc/sysconfig/network/routes

Provision2:~ # cat /etc/sysconfig/network/routes  
10.42.10.0 10.42.24.123 255.255.255.0 bond0  
10.37.88.0 10.42.24.123 255.255.255.0 bond0  
10.37.89.0 10.42.24.123 255.255.255.0 bond0  
10.47.136.0 10.42.24.123 255.255.255.0 bond0  
10.42.38.0 10.42.24.123 255.255.255.0 bond0  
10.37.71.0 10.42.24.123 255.255.255.0 bond0  
10.31.219.0 10.42.24.123 255.255.255.0 bond0  
10.19.250.0 10.42.24.123 255.255.255.0 bond0

2)重启网卡  
Provision2:~ # /etc/init.d/network restart