Nat network dhcp function seems doesn't work
Posted: 1. Mar 2021, 18:18
virtual-box version 6.0.24 installed on win7 professional sp1
i created two virtual machine for learning purpose. one is the Ubuntu 18 desktop for client another is centos7 for Server.
in the preference menu i enabled Nat network and enabled DHCP .
and i configured each vm's network connection mode as NAT network .
so they should each got a dynamic ip address from the dhcp server as configured.
but what i saw when i use the ip addr command in centos7 it doesn't show the ip address.
also in the ubuntu server the ip address is 10.0.2.15 which is the default address when using nat mode.
so what the possible operations cause such problems and how to fix it.
thanks!
i created two virtual machine for learning purpose. one is the Ubuntu 18 desktop for client another is centos7 for Server.
in the preference menu i enabled Nat network and enabled DHCP .
and i configured each vm's network connection mode as NAT network .
so they should each got a dynamic ip address from the dhcp server as configured.
but what i saw when i use the ip addr command in centos7 it doesn't show the ip address.
also in the ubuntu server the ip address is 10.0.2.15 which is the default address when using nat mode.
so what the possible operations cause such problems and how to fix it.
thanks!