[olug] DHCP config

Craig Wolf cjwolf at mpsomaha.org
Sun Feb 24 20:26:56 UTC 2008


Ok, I am missing something here and I just can't seem to figure out what.  I need to add a second subnet to my DHCP server and I cannot get it configured right.  Here is the dhcpd.conf config:
===============================
Linus:/etc # more dhcpd.conf
option domain-name "mpsfoundation.org";
option domain-name-servers 205.202.253.1, 205.202.253.3;
option ntp-servers 205.202.101.94;
option netbios-name-servers 205.202.253.232;
ddns-update-style none;
default-lease-time 43200;
subnet 205.202.101.64 netmask 255.255.255.224 {
  range 205.202.101.69 205.202.101.85;
  default-lease-time 43200;
  max-lease-time 172800;
  option routers 205.202.101.94;
}
subnet 10.33.27.0 netmask 255.255.255.0 {
  range 10.33.27.100 10.33.27.200;
  default-lease-time 43200;
  max-lease-time 172800;
  option routers 10.33.27.254;
}
==============================
Before I show you the ifconfig, yes, I am double subnetting and if you REALLY want to know the specifics I will go into detail but needless to say it works fine EXCEPT for the dhcp server config.

Here is the relevant info from ifconfig:
==============================
eth0      Link encap:Ethernet  HWaddr 00:02:A5:48:09:DA
          inet addr:10.3.125.12  Bcast:10.3.125.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:78509011 errors:0 dropped:0 overruns:0 frame:0
          TX packets:65221475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1728316048 (1648.2 Mb)  TX bytes:3770543063 (3595.8 Mb)

eth1      Link encap:Ethernet  HWaddr 00:0B:CD:CA:ED:7E
          inet addr:205.202.101.94  Bcast:205.202.101.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54474576 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46909698 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3409497817 (3251.5 Mb)  TX bytes:2655424194 (2532.4 Mb)
          Interrupt:19

eth1:Phon Link encap:Ethernet  HWaddr 00:0B:CD:CA:ED:7E
          inet addr:10.33.27.254  Bcast:10.33.27.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19

eth1:Webs Link encap:Ethernet  HWaddr 00:0B:CD:CA:ED:7E
          inet addr:205.202.101.93  Bcast:205.202.101.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19
================================
ANY and all ideas welcome!!


Craig Wolf
Linux Server Support
Backup Administrator
Desktop/Network Specialist
402-715-6283





More information about the OLUG mailing list