首页 > Linux操作系统 > Linux操作系统 > linux 添加静态路由
The alternative format is as follows:
~~~
ADDRESS0=10.10.10.0
NETMASK0=255.255.255.0
GATEWAY0=X.X.X.X
In the above example, X.X.X.X is the gateway IP address. Subsequent entries must be numbered sequentially (for example ADDRESS1=, NETMASK1=, GATEWAY1=). Note, that multiple entries must be sequentially numbered and must not skip a value (0 must be followed by 1, not a number greater than 1).
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10670663/viewspace-765574/ ,如需转载,请注明出处,否则将追究法律责任。