DINKIN / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

DHCP deamon not working #246

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using vcore version 4.6 vmware-image on virtualbox, I set DHCP deamon on the 
router of my wireless network but it is not working.

Output of ps aux on the router does not show any dhcp deamon.

Tried with tcpdump and I only see the requests from the dhcp clients of the 
wireless network but no response from the router.

An image of the network: http://i.imgur.com/oNQmrI3.jpg

Original issue reported on code.google.com by AndreaDa...@gmail.com on 13 May 2014 at 9:32

GoogleCodeExporter commented 8 years ago
A basic question but did you first install the DHCP server package?

The LUbuntu/Ubuntu 12.04 Linux has two different server packages:  
isc-dhcp-server and dhcp3-server

I think you need to use the dhcp3-server package.

Original comment by ahrenh...@gmail.com on 16 May 2014 at 4:18

GoogleCodeExporter commented 8 years ago
Yes, I installed the dhcp3-server package but it still not working.

Original comment by AndreaDa...@gmail.com on 16 May 2014 at 5:45

Attachments:

GoogleCodeExporter commented 8 years ago
First, do a: sudo apt-get install isc-dhcp-server

The problem seems to be with your custom dhcpd.conf config. If you run "dhcpd" 
on the "Router" server (n5), then you'll see the error message.

You need to add semicolons at the end of the new option lines, so it should 
look like this:

pool {
    range 192.168.1.100 192.168.1.150;
    default-lease-time 600;
    option routers 192.168.1.1;
    option broadcast-address 192.168.1.255;
    option subnet-mask 255.255.255.0;
}

Original comment by ahrenh...@gmail.com on 13 Jun 2014 at 6:10

GoogleCodeExporter commented 8 years ago
Oops...

Now it works fine.

Thank You 

Original comment by AndreaDa...@gmail.com on 13 Jun 2014 at 6:46