Win 7 Host, Linux Ubuntu guest, DHCP server
Posted: 27. Nov 2013, 02:34
Hello all,
First of all, I am sorry if I am repeating other users, I did search and Google, but now I am just confused.
I am using VirtualBox v4.3.2r90405, my host OS is Windows 7 64 bit, I have 8 GB of ram and my Linux Ubuntu 13.10 guest OS has 512 MB of RAM assigned to it.
I need to set up a DHCP server configuration and a DHCP relay.
I currently have 2 Virtual Machines:
1) on my DHCP Server VM I've set up isc-dhcp-server
2) my client (not relay) VM
Both of the VMs' network mode is set to NAT.
In the /etc/dhcp/dhcpd.conf file these are the only changes I've made:
Now, I have restarted the VMs.
I check the status of isc-dhcp-server, but it tells me that it doesn't know any jobs.
I check ifconfig -a, inet addr:10.0.2.15
On my client VM, same inet addr.
Sorry, I've been at this for some time now, what am I doing wrong? I've probably set the VMs network config wrong, altho double configs confuse me even more.
Thank you in advance and for your patience.
First of all, I am sorry if I am repeating other users, I did search and Google, but now I am just confused.
I am using VirtualBox v4.3.2r90405, my host OS is Windows 7 64 bit, I have 8 GB of ram and my Linux Ubuntu 13.10 guest OS has 512 MB of RAM assigned to it.
I need to set up a DHCP server configuration and a DHCP relay.
I currently have 2 Virtual Machines:
1) on my DHCP Server VM I've set up isc-dhcp-server
2) my client (not relay) VM
Both of the VMs' network mode is set to NAT.
In the /etc/dhcp/dhcpd.conf file these are the only changes I've made:
Code: Select all
subnet 10.0.2.0 netmask 255.255.255.0{
range 10.0.2.10 10.0.2.15;
option domain-name-servers 10.0.2.1, 8.8.4.4;
option routers 10.0.2.1;
option broadcast-address 10.0.2.255
default-lease-time 600;
max-lease-time 7200
}I check the status of isc-dhcp-server, but it tells me that it doesn't know any jobs.
I check ifconfig -a, inet addr:10.0.2.15
On my client VM, same inet addr.
Sorry, I've been at this for some time now, what am I doing wrong? I've probably set the VMs network config wrong, altho double configs confuse me even more.
Thank you in advance and for your patience.