标签:str centos strong add lan rc.d linux conf 方法
初衷:
我在centos上面搭建了一个dhcp server,由于client发来的dhcp request是加了tag的,为了使dhcp server能够正常response分给client一个地址池的ip。
dhcp eth口是eth0
实现:
在/etc/rc.local中添加
vconfig add eth0 1002
ifconfig eth0.1002 90.0.0.1 up
说明:
标签:str centos strong add lan rc.d linux conf 方法
原文地址:http://www.cnblogs.com/nullbaby/p/7065231.html