dhcp is not working












0















I am using 14.04 and installed isc-dhcp-server in my ubuntu. here is my dhcp configuration.



INTERFACES="eth0"

allow booting;
allow bootp;

subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.10 192.168.1.200;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
filename "/var/lib/tftpboot/pxelinux.0";
}


when i check this



ashokkrishna@ashokkrishna-Lenovo-B560:~$ dhcpd -t /etc/dhcp/dhcpd.conf
/etc/dhcp/dhcpd.conf: interface name too long (is 20)


and I tried to boot in pxe in remote system i failed. how to solve this.



PXE-E51: No DHCP or proxyDHCP offers were received.

PXE-M0F: Exiting Broadcom ROM.


/etc/network/interfaces.



auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.9
gateway 192.168.1.1
netmask 255.255.255.0

auto br0
iface br0 inet static
address 192.168.1.101
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_maxwait 5


ifconfig



br0       Link encap:Ethernet  HWaddr f0:de:f1:a4:ec:87  
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr f0:de:f1:a4:ec:87
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

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:3929 errors:0 dropped:0 overruns:0 frame:0
TX packets:3929 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:380900 (380.9 KB) TX bytes:380900 (380.9 KB)

wlan0 Link encap:Ethernet HWaddr 74:de:2b:e2:94:c6
inet addr:192.168.43.9 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::76de:2bff:fee2:94c6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10941 errors:0 dropped:0 overruns:0 frame:0
TX packets:13954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3537434 (3.5 MB) TX bytes:1880208 (1.8 MB)









share|improve this question
















bumped to the homepage by Community 10 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I am using 14.04 and installed isc-dhcp-server in my ubuntu. here is my dhcp configuration.



    INTERFACES="eth0"

    allow booting;
    allow bootp;

    subnet 192.168.1.0 netmask 255.255.255.0 {
    range dynamic-bootp 192.168.1.10 192.168.1.200;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.1;
    option subnet-mask 255.255.255.0;
    filename "/var/lib/tftpboot/pxelinux.0";
    }


    when i check this



    ashokkrishna@ashokkrishna-Lenovo-B560:~$ dhcpd -t /etc/dhcp/dhcpd.conf
    /etc/dhcp/dhcpd.conf: interface name too long (is 20)


    and I tried to boot in pxe in remote system i failed. how to solve this.



    PXE-E51: No DHCP or proxyDHCP offers were received.

    PXE-M0F: Exiting Broadcom ROM.


    /etc/network/interfaces.



    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet static
    address 192.168.1.9
    gateway 192.168.1.1
    netmask 255.255.255.0

    auto br0
    iface br0 inet static
    address 192.168.1.101
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    bridge_ports eth0
    bridge_stp off
    bridge_maxwait 5


    ifconfig



    br0       Link encap:Ethernet  HWaddr f0:de:f1:a4:ec:87  
    inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    eth0 Link encap:Ethernet HWaddr f0:de:f1:a4:ec:87
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    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:3929 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3929 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:380900 (380.9 KB) TX bytes:380900 (380.9 KB)

    wlan0 Link encap:Ethernet HWaddr 74:de:2b:e2:94:c6
    inet addr:192.168.43.9 Bcast:192.168.43.255 Mask:255.255.255.0
    inet6 addr: fe80::76de:2bff:fee2:94c6/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:10941 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13954 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:3537434 (3.5 MB) TX bytes:1880208 (1.8 MB)









    share|improve this question
















    bumped to the homepage by Community 10 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I am using 14.04 and installed isc-dhcp-server in my ubuntu. here is my dhcp configuration.



      INTERFACES="eth0"

      allow booting;
      allow bootp;

      subnet 192.168.1.0 netmask 255.255.255.0 {
      range dynamic-bootp 192.168.1.10 192.168.1.200;
      option broadcast-address 192.168.1.255;
      option routers 192.168.1.1;
      option subnet-mask 255.255.255.0;
      filename "/var/lib/tftpboot/pxelinux.0";
      }


      when i check this



      ashokkrishna@ashokkrishna-Lenovo-B560:~$ dhcpd -t /etc/dhcp/dhcpd.conf
      /etc/dhcp/dhcpd.conf: interface name too long (is 20)


      and I tried to boot in pxe in remote system i failed. how to solve this.



      PXE-E51: No DHCP or proxyDHCP offers were received.

      PXE-M0F: Exiting Broadcom ROM.


      /etc/network/interfaces.



      auto lo
      iface lo inet loopback

      auto eth0
      iface eth0 inet static
      address 192.168.1.9
      gateway 192.168.1.1
      netmask 255.255.255.0

      auto br0
      iface br0 inet static
      address 192.168.1.101
      netmask 255.255.255.0
      network 192.168.1.0
      broadcast 192.168.1.255
      gateway 192.168.1.1
      bridge_ports eth0
      bridge_stp off
      bridge_maxwait 5


      ifconfig



      br0       Link encap:Ethernet  HWaddr f0:de:f1:a4:ec:87  
      inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

      eth0 Link encap:Ethernet HWaddr f0:de:f1:a4:ec:87
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

      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:3929 errors:0 dropped:0 overruns:0 frame:0
      TX packets:3929 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:380900 (380.9 KB) TX bytes:380900 (380.9 KB)

      wlan0 Link encap:Ethernet HWaddr 74:de:2b:e2:94:c6
      inet addr:192.168.43.9 Bcast:192.168.43.255 Mask:255.255.255.0
      inet6 addr: fe80::76de:2bff:fee2:94c6/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:10941 errors:0 dropped:0 overruns:0 frame:0
      TX packets:13954 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:3537434 (3.5 MB) TX bytes:1880208 (1.8 MB)









      share|improve this question
















      I am using 14.04 and installed isc-dhcp-server in my ubuntu. here is my dhcp configuration.



      INTERFACES="eth0"

      allow booting;
      allow bootp;

      subnet 192.168.1.0 netmask 255.255.255.0 {
      range dynamic-bootp 192.168.1.10 192.168.1.200;
      option broadcast-address 192.168.1.255;
      option routers 192.168.1.1;
      option subnet-mask 255.255.255.0;
      filename "/var/lib/tftpboot/pxelinux.0";
      }


      when i check this



      ashokkrishna@ashokkrishna-Lenovo-B560:~$ dhcpd -t /etc/dhcp/dhcpd.conf
      /etc/dhcp/dhcpd.conf: interface name too long (is 20)


      and I tried to boot in pxe in remote system i failed. how to solve this.



      PXE-E51: No DHCP or proxyDHCP offers were received.

      PXE-M0F: Exiting Broadcom ROM.


      /etc/network/interfaces.



      auto lo
      iface lo inet loopback

      auto eth0
      iface eth0 inet static
      address 192.168.1.9
      gateway 192.168.1.1
      netmask 255.255.255.0

      auto br0
      iface br0 inet static
      address 192.168.1.101
      netmask 255.255.255.0
      network 192.168.1.0
      broadcast 192.168.1.255
      gateway 192.168.1.1
      bridge_ports eth0
      bridge_stp off
      bridge_maxwait 5


      ifconfig



      br0       Link encap:Ethernet  HWaddr f0:de:f1:a4:ec:87  
      inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

      eth0 Link encap:Ethernet HWaddr f0:de:f1:a4:ec:87
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

      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:3929 errors:0 dropped:0 overruns:0 frame:0
      TX packets:3929 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:380900 (380.9 KB) TX bytes:380900 (380.9 KB)

      wlan0 Link encap:Ethernet HWaddr 74:de:2b:e2:94:c6
      inet addr:192.168.43.9 Bcast:192.168.43.255 Mask:255.255.255.0
      inet6 addr: fe80::76de:2bff:fee2:94c6/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:10941 errors:0 dropped:0 overruns:0 frame:0
      TX packets:13954 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:3537434 (3.5 MB) TX bytes:1880208 (1.8 MB)






      boot pxe tftp dhcpd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 14 '15 at 13:16







      ashok

















      asked Apr 13 '15 at 21:51









      ashokashok

      71212




      71212





      bumped to the homepage by Community 10 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 10 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          Try this



          # Sample /etc/dhcpd.conf


          default-lease-time 600;
          max-lease-time 7200;
          option subnet-mask 255.255.255.0;
          option broadcast-address 192.168.1.255;
          option routers 192.168.1.254;
          option domain-name-servers 192.168.1.1, 192.168.1.2;
          option domain-name "***********";
          option ntp-servers 192.168.1.254;

          subnet 192.168.1.0 netmask 255.255.255.0 {
          range 192.168.1.10 192.168.1.100;
          range 192.168.1.110 192.168.1.200;
          }





          share|improve this answer
























          • Could you please explain in a little more details what is and how it solves the issues?

            – Michael Lindman
            Apr 14 '15 at 13:40











          • ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo dhcpd -t /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf: interface name too long (is 19)

            – ashok
            Apr 14 '15 at 15:08











          • Hi, have you test your interfaces? try in terminal : dhclient eth0 or dhclient eth1. What is the result?

            – Yolateng0
            Apr 15 '15 at 13:25













          • Once done , check your configuration file : dhcpd -t /etc/dhcp/dhcpd.conf Specify the interface on which IP addresses will be assigned . nano / etc / default / isc- dhcp-server At line : INTERFACES = "" , the one or interfaces ( comma separated ) to listen. Home that will : INTERFACES = " eth0" Then restart the dhcp server /etc/init.d/isc-dhcp-server restart If the DHCP server displays an error It will restart after the launch of networking. nano / etc / network / interfaces

            – Yolateng0
            Apr 15 '15 at 13:29











          • "ethernetworks device not managed ubuntu" this error i have

            – ashok
            Apr 15 '15 at 13:32



















          0














          If the DHCP server displays an error and restarts after launching network, open the interfaces file using your preferred text editor:



          sudo nano /etc/network/interfaces


          Then enter the following lines to your liking:



          iface eth0 inet static
          address 192.168.1.*
          network 192.168.1.**
          netmask 255.255.255
          broadcast 192.168.1.255
          up service isc-dhcp-server restart
          auto eth0


          Now restart your system with:



          sudo reboot


          Your DHCP server should now be functional. To test if DHCP is working run the dhclient command.






          share|improve this answer


























          • sorry i cannot understand french. but i understood a little bit.

            – ashok
            Apr 14 '15 at 1:53











          • I tried what you have said but now my total eth0 is not working.

            – ashok
            Apr 14 '15 at 12:38











          • In english it's better ;-) Open a terminal on the server and run "sudo tail -f /var/log/syslog". Then start up a client and see what gets logged during the DHCP exchange. What do you see? I assume there's nothing else on your network providing DHCP services, right? Like a router perhaps?

            – Yolateng0
            Apr 14 '15 at 13:04











          • yes i am trying with two laptops thats it.

            – ashok
            Apr 14 '15 at 13:10






          • 1





            @Yolateng0 It seems like you can speak English fluently enough, please from now on write in English only because this site is in English. Michael Lindman had to translate your post and I had to check his translation. Not a big deal, but if you can speak English well that's just a waste of time for everyone.

            – kos
            Apr 14 '15 at 13:49











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f608935%2fdhcp-is-not-working%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Try this



          # Sample /etc/dhcpd.conf


          default-lease-time 600;
          max-lease-time 7200;
          option subnet-mask 255.255.255.0;
          option broadcast-address 192.168.1.255;
          option routers 192.168.1.254;
          option domain-name-servers 192.168.1.1, 192.168.1.2;
          option domain-name "***********";
          option ntp-servers 192.168.1.254;

          subnet 192.168.1.0 netmask 255.255.255.0 {
          range 192.168.1.10 192.168.1.100;
          range 192.168.1.110 192.168.1.200;
          }





          share|improve this answer
























          • Could you please explain in a little more details what is and how it solves the issues?

            – Michael Lindman
            Apr 14 '15 at 13:40











          • ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo dhcpd -t /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf: interface name too long (is 19)

            – ashok
            Apr 14 '15 at 15:08











          • Hi, have you test your interfaces? try in terminal : dhclient eth0 or dhclient eth1. What is the result?

            – Yolateng0
            Apr 15 '15 at 13:25













          • Once done , check your configuration file : dhcpd -t /etc/dhcp/dhcpd.conf Specify the interface on which IP addresses will be assigned . nano / etc / default / isc- dhcp-server At line : INTERFACES = "" , the one or interfaces ( comma separated ) to listen. Home that will : INTERFACES = " eth0" Then restart the dhcp server /etc/init.d/isc-dhcp-server restart If the DHCP server displays an error It will restart after the launch of networking. nano / etc / network / interfaces

            – Yolateng0
            Apr 15 '15 at 13:29











          • "ethernetworks device not managed ubuntu" this error i have

            – ashok
            Apr 15 '15 at 13:32
















          0














          Try this



          # Sample /etc/dhcpd.conf


          default-lease-time 600;
          max-lease-time 7200;
          option subnet-mask 255.255.255.0;
          option broadcast-address 192.168.1.255;
          option routers 192.168.1.254;
          option domain-name-servers 192.168.1.1, 192.168.1.2;
          option domain-name "***********";
          option ntp-servers 192.168.1.254;

          subnet 192.168.1.0 netmask 255.255.255.0 {
          range 192.168.1.10 192.168.1.100;
          range 192.168.1.110 192.168.1.200;
          }





          share|improve this answer
























          • Could you please explain in a little more details what is and how it solves the issues?

            – Michael Lindman
            Apr 14 '15 at 13:40











          • ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo dhcpd -t /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf: interface name too long (is 19)

            – ashok
            Apr 14 '15 at 15:08











          • Hi, have you test your interfaces? try in terminal : dhclient eth0 or dhclient eth1. What is the result?

            – Yolateng0
            Apr 15 '15 at 13:25













          • Once done , check your configuration file : dhcpd -t /etc/dhcp/dhcpd.conf Specify the interface on which IP addresses will be assigned . nano / etc / default / isc- dhcp-server At line : INTERFACES = "" , the one or interfaces ( comma separated ) to listen. Home that will : INTERFACES = " eth0" Then restart the dhcp server /etc/init.d/isc-dhcp-server restart If the DHCP server displays an error It will restart after the launch of networking. nano / etc / network / interfaces

            – Yolateng0
            Apr 15 '15 at 13:29











          • "ethernetworks device not managed ubuntu" this error i have

            – ashok
            Apr 15 '15 at 13:32














          0












          0








          0







          Try this



          # Sample /etc/dhcpd.conf


          default-lease-time 600;
          max-lease-time 7200;
          option subnet-mask 255.255.255.0;
          option broadcast-address 192.168.1.255;
          option routers 192.168.1.254;
          option domain-name-servers 192.168.1.1, 192.168.1.2;
          option domain-name "***********";
          option ntp-servers 192.168.1.254;

          subnet 192.168.1.0 netmask 255.255.255.0 {
          range 192.168.1.10 192.168.1.100;
          range 192.168.1.110 192.168.1.200;
          }





          share|improve this answer













          Try this



          # Sample /etc/dhcpd.conf


          default-lease-time 600;
          max-lease-time 7200;
          option subnet-mask 255.255.255.0;
          option broadcast-address 192.168.1.255;
          option routers 192.168.1.254;
          option domain-name-servers 192.168.1.1, 192.168.1.2;
          option domain-name "***********";
          option ntp-servers 192.168.1.254;

          subnet 192.168.1.0 netmask 255.255.255.0 {
          range 192.168.1.10 192.168.1.100;
          range 192.168.1.110 192.168.1.200;
          }






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 14 '15 at 13:31









          Yolateng0Yolateng0

          1116




          1116













          • Could you please explain in a little more details what is and how it solves the issues?

            – Michael Lindman
            Apr 14 '15 at 13:40











          • ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo dhcpd -t /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf: interface name too long (is 19)

            – ashok
            Apr 14 '15 at 15:08











          • Hi, have you test your interfaces? try in terminal : dhclient eth0 or dhclient eth1. What is the result?

            – Yolateng0
            Apr 15 '15 at 13:25













          • Once done , check your configuration file : dhcpd -t /etc/dhcp/dhcpd.conf Specify the interface on which IP addresses will be assigned . nano / etc / default / isc- dhcp-server At line : INTERFACES = "" , the one or interfaces ( comma separated ) to listen. Home that will : INTERFACES = " eth0" Then restart the dhcp server /etc/init.d/isc-dhcp-server restart If the DHCP server displays an error It will restart after the launch of networking. nano / etc / network / interfaces

            – Yolateng0
            Apr 15 '15 at 13:29











          • "ethernetworks device not managed ubuntu" this error i have

            – ashok
            Apr 15 '15 at 13:32



















          • Could you please explain in a little more details what is and how it solves the issues?

            – Michael Lindman
            Apr 14 '15 at 13:40











          • ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo dhcpd -t /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf: interface name too long (is 19)

            – ashok
            Apr 14 '15 at 15:08











          • Hi, have you test your interfaces? try in terminal : dhclient eth0 or dhclient eth1. What is the result?

            – Yolateng0
            Apr 15 '15 at 13:25













          • Once done , check your configuration file : dhcpd -t /etc/dhcp/dhcpd.conf Specify the interface on which IP addresses will be assigned . nano / etc / default / isc- dhcp-server At line : INTERFACES = "" , the one or interfaces ( comma separated ) to listen. Home that will : INTERFACES = " eth0" Then restart the dhcp server /etc/init.d/isc-dhcp-server restart If the DHCP server displays an error It will restart after the launch of networking. nano / etc / network / interfaces

            – Yolateng0
            Apr 15 '15 at 13:29











          • "ethernetworks device not managed ubuntu" this error i have

            – ashok
            Apr 15 '15 at 13:32

















          Could you please explain in a little more details what is and how it solves the issues?

          – Michael Lindman
          Apr 14 '15 at 13:40





          Could you please explain in a little more details what is and how it solves the issues?

          – Michael Lindman
          Apr 14 '15 at 13:40













          ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo dhcpd -t /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf: interface name too long (is 19)

          – ashok
          Apr 14 '15 at 15:08





          ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo dhcpd -t /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf: interface name too long (is 19)

          – ashok
          Apr 14 '15 at 15:08













          Hi, have you test your interfaces? try in terminal : dhclient eth0 or dhclient eth1. What is the result?

          – Yolateng0
          Apr 15 '15 at 13:25







          Hi, have you test your interfaces? try in terminal : dhclient eth0 or dhclient eth1. What is the result?

          – Yolateng0
          Apr 15 '15 at 13:25















          Once done , check your configuration file : dhcpd -t /etc/dhcp/dhcpd.conf Specify the interface on which IP addresses will be assigned . nano / etc / default / isc- dhcp-server At line : INTERFACES = "" , the one or interfaces ( comma separated ) to listen. Home that will : INTERFACES = " eth0" Then restart the dhcp server /etc/init.d/isc-dhcp-server restart If the DHCP server displays an error It will restart after the launch of networking. nano / etc / network / interfaces

          – Yolateng0
          Apr 15 '15 at 13:29





          Once done , check your configuration file : dhcpd -t /etc/dhcp/dhcpd.conf Specify the interface on which IP addresses will be assigned . nano / etc / default / isc- dhcp-server At line : INTERFACES = "" , the one or interfaces ( comma separated ) to listen. Home that will : INTERFACES = " eth0" Then restart the dhcp server /etc/init.d/isc-dhcp-server restart If the DHCP server displays an error It will restart after the launch of networking. nano / etc / network / interfaces

          – Yolateng0
          Apr 15 '15 at 13:29













          "ethernetworks device not managed ubuntu" this error i have

          – ashok
          Apr 15 '15 at 13:32





          "ethernetworks device not managed ubuntu" this error i have

          – ashok
          Apr 15 '15 at 13:32













          0














          If the DHCP server displays an error and restarts after launching network, open the interfaces file using your preferred text editor:



          sudo nano /etc/network/interfaces


          Then enter the following lines to your liking:



          iface eth0 inet static
          address 192.168.1.*
          network 192.168.1.**
          netmask 255.255.255
          broadcast 192.168.1.255
          up service isc-dhcp-server restart
          auto eth0


          Now restart your system with:



          sudo reboot


          Your DHCP server should now be functional. To test if DHCP is working run the dhclient command.






          share|improve this answer


























          • sorry i cannot understand french. but i understood a little bit.

            – ashok
            Apr 14 '15 at 1:53











          • I tried what you have said but now my total eth0 is not working.

            – ashok
            Apr 14 '15 at 12:38











          • In english it's better ;-) Open a terminal on the server and run "sudo tail -f /var/log/syslog". Then start up a client and see what gets logged during the DHCP exchange. What do you see? I assume there's nothing else on your network providing DHCP services, right? Like a router perhaps?

            – Yolateng0
            Apr 14 '15 at 13:04











          • yes i am trying with two laptops thats it.

            – ashok
            Apr 14 '15 at 13:10






          • 1





            @Yolateng0 It seems like you can speak English fluently enough, please from now on write in English only because this site is in English. Michael Lindman had to translate your post and I had to check his translation. Not a big deal, but if you can speak English well that's just a waste of time for everyone.

            – kos
            Apr 14 '15 at 13:49
















          0














          If the DHCP server displays an error and restarts after launching network, open the interfaces file using your preferred text editor:



          sudo nano /etc/network/interfaces


          Then enter the following lines to your liking:



          iface eth0 inet static
          address 192.168.1.*
          network 192.168.1.**
          netmask 255.255.255
          broadcast 192.168.1.255
          up service isc-dhcp-server restart
          auto eth0


          Now restart your system with:



          sudo reboot


          Your DHCP server should now be functional. To test if DHCP is working run the dhclient command.






          share|improve this answer


























          • sorry i cannot understand french. but i understood a little bit.

            – ashok
            Apr 14 '15 at 1:53











          • I tried what you have said but now my total eth0 is not working.

            – ashok
            Apr 14 '15 at 12:38











          • In english it's better ;-) Open a terminal on the server and run "sudo tail -f /var/log/syslog". Then start up a client and see what gets logged during the DHCP exchange. What do you see? I assume there's nothing else on your network providing DHCP services, right? Like a router perhaps?

            – Yolateng0
            Apr 14 '15 at 13:04











          • yes i am trying with two laptops thats it.

            – ashok
            Apr 14 '15 at 13:10






          • 1





            @Yolateng0 It seems like you can speak English fluently enough, please from now on write in English only because this site is in English. Michael Lindman had to translate your post and I had to check his translation. Not a big deal, but if you can speak English well that's just a waste of time for everyone.

            – kos
            Apr 14 '15 at 13:49














          0












          0








          0







          If the DHCP server displays an error and restarts after launching network, open the interfaces file using your preferred text editor:



          sudo nano /etc/network/interfaces


          Then enter the following lines to your liking:



          iface eth0 inet static
          address 192.168.1.*
          network 192.168.1.**
          netmask 255.255.255
          broadcast 192.168.1.255
          up service isc-dhcp-server restart
          auto eth0


          Now restart your system with:



          sudo reboot


          Your DHCP server should now be functional. To test if DHCP is working run the dhclient command.






          share|improve this answer















          If the DHCP server displays an error and restarts after launching network, open the interfaces file using your preferred text editor:



          sudo nano /etc/network/interfaces


          Then enter the following lines to your liking:



          iface eth0 inet static
          address 192.168.1.*
          network 192.168.1.**
          netmask 255.255.255
          broadcast 192.168.1.255
          up service isc-dhcp-server restart
          auto eth0


          Now restart your system with:



          sudo reboot


          Your DHCP server should now be functional. To test if DHCP is working run the dhclient command.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 14 '15 at 13:41









          Michael Lindman

          1,48421322




          1,48421322










          answered Apr 13 '15 at 22:22









          Yolateng0Yolateng0

          1116




          1116













          • sorry i cannot understand french. but i understood a little bit.

            – ashok
            Apr 14 '15 at 1:53











          • I tried what you have said but now my total eth0 is not working.

            – ashok
            Apr 14 '15 at 12:38











          • In english it's better ;-) Open a terminal on the server and run "sudo tail -f /var/log/syslog". Then start up a client and see what gets logged during the DHCP exchange. What do you see? I assume there's nothing else on your network providing DHCP services, right? Like a router perhaps?

            – Yolateng0
            Apr 14 '15 at 13:04











          • yes i am trying with two laptops thats it.

            – ashok
            Apr 14 '15 at 13:10






          • 1





            @Yolateng0 It seems like you can speak English fluently enough, please from now on write in English only because this site is in English. Michael Lindman had to translate your post and I had to check his translation. Not a big deal, but if you can speak English well that's just a waste of time for everyone.

            – kos
            Apr 14 '15 at 13:49



















          • sorry i cannot understand french. but i understood a little bit.

            – ashok
            Apr 14 '15 at 1:53











          • I tried what you have said but now my total eth0 is not working.

            – ashok
            Apr 14 '15 at 12:38











          • In english it's better ;-) Open a terminal on the server and run "sudo tail -f /var/log/syslog". Then start up a client and see what gets logged during the DHCP exchange. What do you see? I assume there's nothing else on your network providing DHCP services, right? Like a router perhaps?

            – Yolateng0
            Apr 14 '15 at 13:04











          • yes i am trying with two laptops thats it.

            – ashok
            Apr 14 '15 at 13:10






          • 1





            @Yolateng0 It seems like you can speak English fluently enough, please from now on write in English only because this site is in English. Michael Lindman had to translate your post and I had to check his translation. Not a big deal, but if you can speak English well that's just a waste of time for everyone.

            – kos
            Apr 14 '15 at 13:49

















          sorry i cannot understand french. but i understood a little bit.

          – ashok
          Apr 14 '15 at 1:53





          sorry i cannot understand french. but i understood a little bit.

          – ashok
          Apr 14 '15 at 1:53













          I tried what you have said but now my total eth0 is not working.

          – ashok
          Apr 14 '15 at 12:38





          I tried what you have said but now my total eth0 is not working.

          – ashok
          Apr 14 '15 at 12:38













          In english it's better ;-) Open a terminal on the server and run "sudo tail -f /var/log/syslog". Then start up a client and see what gets logged during the DHCP exchange. What do you see? I assume there's nothing else on your network providing DHCP services, right? Like a router perhaps?

          – Yolateng0
          Apr 14 '15 at 13:04





          In english it's better ;-) Open a terminal on the server and run "sudo tail -f /var/log/syslog". Then start up a client and see what gets logged during the DHCP exchange. What do you see? I assume there's nothing else on your network providing DHCP services, right? Like a router perhaps?

          – Yolateng0
          Apr 14 '15 at 13:04













          yes i am trying with two laptops thats it.

          – ashok
          Apr 14 '15 at 13:10





          yes i am trying with two laptops thats it.

          – ashok
          Apr 14 '15 at 13:10




          1




          1





          @Yolateng0 It seems like you can speak English fluently enough, please from now on write in English only because this site is in English. Michael Lindman had to translate your post and I had to check his translation. Not a big deal, but if you can speak English well that's just a waste of time for everyone.

          – kos
          Apr 14 '15 at 13:49





          @Yolateng0 It seems like you can speak English fluently enough, please from now on write in English only because this site is in English. Michael Lindman had to translate your post and I had to check his translation. Not a big deal, but if you can speak English well that's just a waste of time for everyone.

          – kos
          Apr 14 '15 at 13:49


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f608935%2fdhcp-is-not-working%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b