[TriLUG] DHCP on debian firewall

Vestal, Roy L. rvestal at rti.org
Fri May 17 15:40:21 EDT 2002


I have setup a firewall using PCMCIA nics in an old toshiba running the
latest debian woody.  I have dhcp running on it to server ips. I am hooking
into a 10mb hub. I cannot get a lease from my other machine. Here are the
settings:

ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:A0:24:A8:91:77
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50504 errors:0 dropped:0 overruns:0 frame:0
          TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:5076214 (4.8 MiB)  TX bytes:16641 (16.2 KiB)
          Interrupt:3 Base address:0x300

eth1      Link encap:Ethernet  HWaddr 00:A0:24:A8:91:78
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:716 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:64937 (63.4 KiB)  TX bytes:0 (0.0 b)
          Interrupt:5 Base address:0x310

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0


/etc/network/interfaces:

iface eth0 inet dhcp
iface eth1 inet static
    address 192.168.1.1
    netmask 255.255.255.224


/etc/dhcpd.conf:

server-identifier trilugy;
default-lease-time 3600;
max-lease-time 7200;
option broadcast-address        192.168.1.255;
option domain-name      "trilug.org";
option domain-name-servers      192.168.1.7;
option domain-name-servers      152.5.128.19,
        152.5.128.21;
option routers  192.168.1.1;
option subnet-mask      255.255.255.0;
subnet 192.168.1.0 netmask 255.255.255.0 {
        range  192.168.1.8 192.168.1.254;
}

What am I missing?? I'm sure I've overlooked something.



More information about the TriLUG mailing list