/Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf
allow unknown-clients;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
subnet 172.16.11.0 netmask 255.255.255.0 {
range 172.16.11.128 172.16.11.254;
option broadcast-address 172.16.11.255;
option domain-name-servers 172.16.11.2;
option domain-name localdomain;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
option netbios-name-servers 172.16.11.2;
option routers 172.16.11.2;
}
host vmnet8 {
hardware ethernet 00:50:56:C0:00:08;
fixed-address 172.16.11.1;
option domain-name-servers 0.0.0.0;
option domain-name "";
option routers 0.0.0.0;
}
CentOS 7
dhclient config file:
/etc/dhcp/dhclient.conf //dhclient 설치하면 기본으로 설정되지는 않습니다.
initial-interval 2;
reboot 10;
retry 60;
select-timeout 5;
timeout 60;
interface "eth0" {
supersede domain-name "open-ims.test";
prepend domain-name-servers 127.0.0.1;
send dhcp-requested-address 172.16.11.200; //dhcp-server로부터 고정 IP를 요청할 때 설정하며, VMware Fusion의 dhcpd의 ip range내에 있어야 합니다.
}
/var/lib/dhclient/dhclient--eth0.lease //dhclient가 구동되면 생성됩니다.
댓글 없음:
댓글 쓰기