Closed zhou13 closed 11 years ago
See comments:http://www.solidot.org/story?sid=32486
Refer to https://github.com/jimmyxu/chnroutes
Example:
#!/bin/bash - ip -batch - <<EOF route add 1.0.1.0/24 $OLDGW route add 1.0.2.0/23 $OLDGW route add 1.0.8.0/21 $OLDGW EOF
It's already supported. check out 格式化规则文件
See comments:http://www.solidot.org/story?sid=32486
Refer to https://github.com/jimmyxu/chnroutes
Example: