dhcp获取指定ip
- 编辑/etc/dhcp/dhclient.conf,添加如下几行
interface "ens33" {
send dhcp-requested-address 192.168.1.10;
}
-
dhclient -r ens33 #释放ip
-
dhclient -4 -d -v -cf /etc/dhcp/dhclient.conf ens33
interface "ens33" {
send dhcp-requested-address 192.168.1.10;
}
dhclient -r ens33 #释放ip
dhclient -4 -d -v -cf /etc/dhcp/dhclient.conf ens33
本文标题:centos7 VM桥接模式从路由器获取指定ip
本文链接:https://www.haomeiwen.com/subject/qlcldltx.html
网友评论