搞定了
515
- _____________Cc2013-02-25论坛元老25996
- 本帖最后由 _____________Cc 于 2013-2-25 01:23 编辑 *
示例- auto eth0:256
- iface eth0:256 inet static
- address 10.1.1.1
- netmask 255.255.240.0
- gateway 10.1.0.1
- - ...
- - auto eth0:509
- iface eth0:509 inet static
- address 10.1.1.254
- netmask 255.255.240.0
- gateway 10.1.0.1
- - auto eth0:510
- iface eth0:510 inet static
- address 10.1.1.255
- netmask 255.255.240.0
- gateway 10.1.0.1复制代码给服务器加点了,求帮忙生成代码,手动写也太累了点。。
刚刚发了一帖莫名奇妙被删无任何提醒。蛋疼的
**
搞定了
**- #! /bin/bash- - for ((han=256,an=1;han>/root/test/text复制代码