[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dhcpd trouble



Hello,

I just installed 'testing' on my new VIA based machine using 2.6 (uname
-a --> Linux server 2.6.0-1-386 #2 Sun Jan 11 16:54:21 EST 2004 i686
GNU/Linux). Since this is supposed to be the firewall for my home
network I'm trying to get dhcpd to run - which I have sucessfully done
in the past - but it's not working for me this time.
Originally I thought that the fact that I wanted the serve to listen on
an interface that is a USB/ethernet adapter was the problem, but I can't
make it work using the NIC on the motherboard either ...

Please let me know if you spot anything in the configs below.

Thanks, Joh

So here are my configurations:
ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:40:63:CA:C3:CA  
          inet addr:131.215.35.209  Bcast:131.215.35.255 
Mask:255.255.255.0          inet6 addr: fe80::240:63ff:feca:c3ca/64
Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:103 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14146 (13.8 KiB)  TX bytes:1650 (1.6 KiB)
          Interrupt:11 Base address:0xe800 

eth1      Link encap:Ethernet  HWaddr 00:0B:2B:13:33:55  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20b:2bff:fe13:3355/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1540  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:378 (378.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:16436  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)

/etc/dhcpd.conf:
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.2 192.168.1.5;
}

/etc/default/dhcp:
INTERFACES="eth1"

/etc/network/interfaces:
auto lo
iface lo inet loopback

# This entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp
#iface eth0 inet static
#       address 192.168.1.1
#       netmask 255.255.255.0
#       network 192.168.1.0
#       broadcast 192.168.1.255

auto eth1
#iface eth1 inet dhcp
iface eth1 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255

and the output from lsmod:
Module                  Size  Used by
md5                     3968  1 
ipv6                  223936  8 
rtl8150                11776  0 
af_packet              19848  4 
uhci_hcd               29456  0 
ohci_hcd               16768  0 
ehci_hcd               21380  0 
usbcore                98652  6 rtl8150,uhci_hcd,ohci_hcd,ehci_hcd
evdev                   8704  0 
via82cxxx_audio        25864  0 
uart401                11332  1 via82cxxx_audio
sound                  75436  2 via82cxxx_audio,uart401
soundcore               8896  2 via82cxxx_audio,sound
ac97_codec             16908  1 via82cxxx_audio
ide_scsi               13700  0 
via_rhine              19720  0 
mii                     4864  1 via_rhine
crc32                   4608  1 via_rhine
parport_pc             32940  1 
lp                     10176  0 
parport                39400  2 parport_pc,lp
aes                    32704  3 
cryptoloop              3584  3 
ide_cd                 36740  0 
cdrom                  31392  1 ide_cd
rtc                    11960  0 
loop                   16008  7 cryptoloop
reiserfs              196464  2 
isofs                  32184  0 
ext3                  103208  0 
jbd                    53912  1 ext3
sd_mod                 15520  0 
ata_piix                7684  0 
libata                 35456  1 ata_piix,[permanent]
scsi_mod              108856  3 ide_scsi,sd_mod,libata
ide_disk               15872  4 
ide_probe_mod          15872  0 [unsafe]
via82cxxx              13084  1 [unsafe]
ide_mod               133420  5
ide_scsi,ide_cd,ide_disk,ide_probe_mod,via82cxxx unix                  
25520  10 font                    8576  0 
cfbcopyarea             3968  0 
cfbimgblt               3328  0 
cfbfillrect             3712  0



Reply to: