Nmap does not show DHCP server, no errors

76 views Asked by At

I have tried to get into Ubuntu thing recently (newest edition), but I've got a problem with DHCP server. I configured the files /etc/network/interfaces and /etc/dhcp/dhcpd.conf according to my student book, but seems like it's not working. Nmap does not show my DHCP at all so I assume that's not on at all, but still - there is absolutely no error when I start/restart deamons and services with the settings below:

interfaces file:

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
address 192.168.0.110
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255

dhcpd.conf file:

subnet 192.168.0.0 netmask 255.255.255.0 {
        option routers                  192.168.0.1;
        option subnet-mask              255.255.255.0;
        option domain-search              "example.com";
        option domain-name-servers       192.168.0.100;
        option time-offset              -18000;     # Eastern Standard Time
        range 192.168.0.150 192.168.0.160;
}

Ifconfig:

eth1      Link encap:Ethernet  HWaddr e0:3f:49:7f:f6:20  
          inet addr:192.168.0.110  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e23f:49ff:fe7f:f620/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1046758 errors:0 dropped:0 overruns:0 frame:0
          TX packets:647564 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1381761035 (1.3 GB)  TX bytes:88156037 (88.1 MB)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:45940 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45940 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3127593 (3.1 MB)  TX bytes:3127593 (3.1 MB)

Please let me know what can be wrong.

0

There are 0 answers