Mam problem z pobraniem adresu przez VB
z (using an administration volume 3) do fedory
https://i.imgur.com/GaQ3hVd.jpghttps://i.imgur.com/VPTfcqK.pngNa nacie 10.0.2.0/24 DHCP jest wyłączony
studentvm1 ma kartę w sieci nat (Student Network)
studentvm2 ma dwie karty nat oraz host-only
Druga karta skonfigurowana jest następująco
IP: 192.168.56.1/24 bez DHPC
https://i.imgur.com/MYDglij.pngNa studentvm2 ustawiłem dwa adresy na sztywno z palca oraz odpaliłem DHCP ale nie wiem czemu nie pobiera mi prawidłowego adresu studentvm1 tylko adres "globalny"
/var/lib/dhcp.leases wyczyściłem na wszelki wypadek.
dhcp.conf na vm2
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp-server/dhcpd.conf.example
# see dhcpd.conf(5) man page
#
# option definitions common to all supported networks...
# These directives could be placed inside the subnet declaration
# if they are unique to a subnet.
option domain-name "example.com";
option domain-search "example.com";
option domain-name-servers 10.0.2.1;
# All networks get the default lease times
default-lease-time 600; # 10 minutes
max-lease-time 7200; # 2 hours
# This is a very basic subnet declaration.
subnet 192.168.56.0 netmask 255.255.255.0 {
# default gateway
option routers 192.168.56.1;
option subnet-mask 255.255.255.0;
# Dynamic allocation range for otherwise unknown hosts #
range dynamic-bootp 192.168.56.50 192.168.56.59;
# Host declaration in the 192.168.56.0/24 subnet. #
host studentvm1 {
hardware ethernet 08:00:27:5b:92:44;
fixed-address 192.168.56.21;
}
}