是直接写入
vi /etc/rc.local
ifconfig enp2s0:1 8.8.8.8/29 up
ifconfig enp2s0:2 8.8.8.9/29 up
/ 31 192.168.1.90/31 2
/ 30 192.168.1.92/30 4
/ 29 192.168.1.200/29 8
/ 28 192.168.1.16/28 16
/ 27 192.168.1.64/27 32
/ 26 192.168.1.192/26 64
/ 25 192.168.1.128/25 128
/ 24 192.168.1.0/24 256
vi /etc/rc.local
ifconfig enp2s0:1 8.8.8.8/29 up
ifconfig enp2s0:2 8.8.8.9/29 up
/ 31 192.168.1.90/31 2
/ 30 192.168.1.92/30 4
/ 29 192.168.1.200/29 8
/ 28 192.168.1.16/28 16
/ 27 192.168.1.64/27 32
/ 26 192.168.1.192/26 64
/ 25 192.168.1.128/25 128
/ 24 192.168.1.0/24 256
评论 0
编号 | 标题 | 作者 | 日期 | 查看 |
---|---|---|---|---|
30 | 提供韩国站群服务器 | xiaopiao | 2023.07.07 | 837 |
29 | debian系统设置dns | xiaopiao | 2023.07.06 | 976 |
28 | centos7.6 官网下载地址 | xiaopiao | 2023.07.04 | 981 |
27 | 修改Rhymix的404页面 | xiaopiao | 2023.07.05 | 1001 |
26 | sketchbook 最新版先下载地址 | xiaopiao | 2023.07.07 | 1021 |
25 | 华硕路由器查看cpu温度的方法 | xiaopiao | 2023.07.06 | 1079 |
24 | 3389只允许指定ip登录 | xiaopiao | 2023.07.07 | 1081 |
23 | 记录3389端口远程登录日志的方法 | xiaopiao | 2023.07.09 | 1093 |
22 | 老版本debian下载地址 | xiaopiao | 2023.07.05 | 1123 |
21 | debian系统安装后的需要设置的 | xiaopiao | 2023.07.04 | 1124 |