Professional Web Applications Themes

DHCP server problems - Linux Setup, Configuration & Administration

On Tue, 01 Jul 2003 14:45:29 -0700, Bob Law <blawmkisserve.com> wrote: >I am trying to run a network that is also connected to the internet via >DSL. I would like to have the internal machines that are running >Windows use dhcp to get their IP address. My dhcpd.conf file looks like >this: > > >default-lease-time 600; >max-lease-time 7200; >option subnet-mask 255.255.255.0; >option broadcast-address 172.20.0.255; >option routers 192.20.0.1; >option netbios-name-servers 172.20.0.1; >option domain-name-servers 172.20.0.3, 172.20.0.4 > > >subnet 172.20.0.0 netmask 255.255.255.0 { > range 172.20.0.70 172.20.0.90; >} > >When I run dhcpd eth1 -d -f (eth1) is the nic for the ...

  1. #1

    Default Re: DHCP server problems

    On Tue, 01 Jul 2003 14:45:29 -0700, Bob Law <blawmkisserve.com>
    wrote:
    >I am trying to run a network that is also connected to the internet via
    >DSL. I would like to have the internal machines that are running
    >Windows use dhcp to get their IP address. My dhcpd.conf file looks like
    >this:
    >
    >
    >default-lease-time 600;
    >max-lease-time 7200;
    >option subnet-mask 255.255.255.0;
    >option broadcast-address 172.20.0.255;
    >option routers 192.20.0.1;
    >option netbios-name-servers 172.20.0.1;
    >option domain-name-servers 172.20.0.3, 172.20.0.4
    >
    >
    >subnet 172.20.0.0 netmask 255.255.255.0 {
    > range 172.20.0.70 172.20.0.90;
    >}
    >
    >When I run dhcpd eth1 -d -f (eth1) is the nic for the internal
    >network), the windows machines get their bogus ip address. I know that
    >the network is working because if I give the windows machines static ip
    >address in the 172.20.0. range they work.
    >
    >Can you tell me what is wrong? What Have I missed?
    Your router is on a different subnet. Do you have a route defined to
    it?

    Rich Piotrowski

    To E-mail use: rpiotro(at)wi(dot)rr(dot)com
    Rich Piotrowski Guest

  2. #2

    Default Re: DHCP server problems

    In article <vg40as7kus2292corp.supernews.com>, Bob Law wrote:
    > I am trying to run a network that is also connected to the internet via
    > DSL. I would like to have the internal machines that are running
    > Windows use dhcp to get their IP address. My dhcpd.conf file looks like
    > this:
    >
    >
    > default-lease-time 600;
    > max-lease-time 7200;
    > option subnet-mask 255.255.255.0;
    > option broadcast-address 172.20.0.255;
    > option routers 192.20.0.1;
    ^^^^^^^^^^
    Is this a typo? If it is, then fix it and try again. You've got
    your router on a different network than the clients.
    > option netbios-name-servers 172.20.0.1;
    > option domain-name-servers 172.20.0.3, 172.20.0.4
    >
    >
    > subnet 172.20.0.0 netmask 255.255.255.0 {
    > range 172.20.0.70 172.20.0.90;
    > }
    >
    > When I run dhcpd eth1 -d -f (eth1) is the nic for the internal
    > network), the windows machines get their bogus ip address. I know that
    > the network is working because if I give the windows machines static ip
    > address in the 172.20.0. range they work.
    >
    > Can you tell me what is wrong? What Have I missed?
    Don't use bogus IP addresses. Use the private IP address in 172.20.0.0/24
    that you've clearly assigned in your DHCP daemon setup.


    --
    Seth H Holmes

    Seth H Holmes Guest

Similar Threads

  1. DHCP on Multihome 2003 server
    By Jeremy Dietz in forum Windows Server
    Replies: 0
    Last Post: June 10th, 05:42 PM
  2. DHCP Server Shuts Down every hour
    By JCThePCGuy in forum Windows Server
    Replies: 0
    Last Post: June 9th, 04:41 PM
  3. Apple airport base station DHCP / DNS problems.
    By Chris in forum Mac Networking
    Replies: 2
    Last Post: August 13th, 07:58 AM
  4. AIX DHCP Server and W2K Clients: help!
    By Martin Trudeau in forum AIX
    Replies: 1
    Last Post: July 28th, 05:54 PM
  5. Cannot find DHCP server
    By Ron Rector in forum Windows Networking
    Replies: 1
    Last Post: July 5th, 06:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139