Networking Forums

Networking Forums > Computer Networking > Linux Networking > newbie dhcp problems - linux server windows client

Reply
Thread Tools Display Modes

newbie dhcp problems - linux server windows client

 
 
michael melling
Guest
Posts: n/a

 
      08-04-2004, 08:44 PM
Hi there,

I am a newbie and have been trying to get to grips with Red Hat 9 that
i have just installed on my computer.

The scenario is this - I cannot get DHCP to work on my network – I
have a pc client running windows 98(name -hp). When i log in using a
static ip address in the windows client everything works perfectly and
i am able to access my files.

Unfortunately when I try to use to DHCP i am unable to log in and
have googled non-stop to find a solution - alas without success.

I hope the following output might help in providing the solution;
my linux server is called michael

extract from - /var/log/messages

Aug 4 21:22:42 michael dhcpd: DHCPINFORM from 169.254.24.13 via eth1:
unknown subnet 0.0.0.0
Aug 4 21:22:43 michael dhcpd: DHCPINFORM from 169.254.24.13 via eth1:
unknown subnet 0.0.0.0

dhcpd -f -d
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth1/00:0c:76:3d:fd:32/192.168.1.0/24
Sending on LPF/eth1/00:0c:76:3d:fd:32/192.168.1.0/24
Sending on Socket/fallback/fallback-net
There's already a DHCP server running.

Dhcpd.conf
ddns-update-style interim;
ignore client-updates;

subnet 192.168.1.0 netmask 255.255.255.0 {

# --- default gateway
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;

option nis-domain "michael.melling.sch.uk";
option domain-name "michael.melling.sch.uk";
option domain-name-servers 192.168.1.0;

option time-offset -18000; # Eastern Standard
Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change
this unless
# -- you understand Netbios very well
# option netbios-node-type 2;

range dynamic-bootp 192.168.1.1 192.168.1.255;
default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;





I made sure the firewall was stopped before trying. I am guess it is a
problem with the subnet but i just cannot figure out the solution.

Thanks in advance.

Kind regards,

Michael.
 
Reply With Quote
 
 
 
 
michael melling
Guest
Posts: n/a

 
      08-05-2004, 02:25 PM
(E-Mail Removed) (michael melling) wrote in message news:<(E-Mail Removed). com>...
> Hi there,
>
> I am a newbie and have been trying to get to grips with Red Hat 9 that
> i have just installed on my computer.
>
> The scenario is this - I cannot get DHCP to work on my network ? I
> have a pc client running windows 98(name -hp). When i log in using a
> static ip address in the windows client everything works perfectly and
> i am able to access my files.
>
> Unfortunately when I try to use to DHCP i am unable to log in and
> have googled non-stop to find a solution - alas without success.
>
> I hope the following output might help in providing the solution;
> my linux server is called michael
>
> extract from - /var/log/messages
>
> Aug 4 21:22:42 michael dhcpd: DHCPINFORM from 169.254.24.13 via eth1:
> unknown subnet 0.0.0.0
> Aug 4 21:22:43 michael dhcpd: DHCPINFORM from 169.254.24.13 via eth1:
> unknown subnet 0.0.0.0
>
> dhcpd -f -d
> Wrote 0 deleted host decls to leases file.
> Wrote 0 new dynamic host decls to leases file.
> Wrote 0 leases to leases file.
> Listening on LPF/eth1/00:0c:76:3d:fd:32/192.168.1.0/24
> Sending on LPF/eth1/00:0c:76:3d:fd:32/192.168.1.0/24
> Sending on Socket/fallback/fallback-net
> There's already a DHCP server running.
>
> Dhcpd.conf
> ddns-update-style interim;
> ignore client-updates;
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
>
> # --- default gateway
> option routers 192.168.1.1;
> option subnet-mask 255.255.255.0;
>
> option nis-domain "michael.melling.sch.uk";
> option domain-name "michael.melling.sch.uk";
> option domain-name-servers 192.168.1.0;
>
> option time-offset -18000; # Eastern Standard
> Time
> # option ntp-servers 192.168.1.1;
> # option netbios-name-servers 192.168.1.1;
> # --- Selects point-to-point node (default is hybrid). Don't change
> this unless
> # -- you understand Netbios very well
> # option netbios-node-type 2;
>
> range dynamic-bootp 192.168.1.1 192.168.1.255;
> default-lease-time 21600;
> max-lease-time 43200;
>
> # we want the nameserver to appear at a fixed address
> host ns {
> next-server marvin.redhat.com;
> hardware ethernet 12:34:56:78:AB:CD;
> fixed-address 207.175.42.254;
>
>
>
>
>
> I made sure the firewall was stopped before trying. I am guess it is a
> problem with the subnet but i just cannot figure out the solution.
>
> Thanks in advance.
>
> Kind regards,
>
> Michael.



p.s. tried again today - Still no luck - this is the relevarnt output
from /var/log/messages

Aug 5 15:21:45 michael dhcpd: DHCPDISCOVER from 00:50:fc:ab:e9:0c
(hp) via eth1Aug 5 15:21:45 michael dhcpd: DHCPOFFER on 192.168.1.255
to 00:50:fc:ab:e9:0c (hp) via eth1
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
client Windows, Server DHCP Linux and option User Class Information(code 77) [HELP] Tyy Linux Networking 0 09-24-2007 11:29 AM
DHCP connection from win98SE client to Suse linux server weverhuis Linux Networking 1 11-15-2005 08:44 PM
Solaris NIS server and Linux NIS client : problems Srihari Raghavan Linux Networking 8 09-07-2004 11:38 PM
Windows ntp server, Linux Client Brad Schroeder Linux Networking 3 08-11-2004 03:21 PM
Redhat 9.0 dhcp client & windows 2003 dhcp server: dynamic dns update Mads Ravn Linux Networking 0 06-29-2004 05:27 PM



1 2 3 4 5 6 7 8 9 10 11