LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2003, 02:40 AM   #1
bally
Member
 
Registered: Jun 2001
Posts: 75

Rep: Reputation: 15
DHCP Server Problem


Hi All

I Just Tried to configured DHCP Server for one of my subnetwork (150.0.141.0). But my clients are not able to get IP automatically. My configuration file is as under.



subnet 150.0.141.0 netmask 255.255.255.0 {
# --- default gateway
option routers 150.0.141.2;
option subnet-mask 255.255.255.0;
# option ntp-servers 192.168.1.1;
option netbios-name-servers 150.0.150.24;
range dynamic-bootp 150.0.141.10 150.0.141.250;
default-lease-time 21600;
max-lease-time 43200;

# Reservations for Hosts are as under

host harryson {
hardware ethernet 00:80:48:FC:32:51;
fixed-address 150.0.141.100;
}
}

######################################################

I also added route as :

route add -host 255.255.255.255 dev eth0


Kindly Help
Bally
 
Old 11-10-2003, 11:30 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Some of below are not confirmed but are intuitive one.
1. add "ddns-update-style ad-hoc;" as the first line
2. harryson should not have the address overlapping with 'range dynamic-bootp'
3. 'netbios-name-servers' should have the address which belongs to the net 150.0.141.0; netbios is not routable so it may cause a problem in future
4. you wrote "for one of my subnetwork" - all the subnets should be specified; I believe you have got the respective message from dhcp daemon (see logs)
The rest looks ok, so if it still doesn't work I think it is the firewall problem.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gateway / DHCP Server problem on Slackware captain_bogus Linux - Networking 11 11-25-2008 01:28 PM
Problem with DHCP Server. Hambone_20003 Linux - Networking 2 11-22-2005 06:25 PM
problem with dhcp server version 2.0p15 of Snapgear maryam Linux - Networking 0 09-08-2005 10:40 AM
problem with dhcp server egyptian Linux - Networking 4 10-24-2004 02:56 AM
DHCP server config problem Q25 Linux - Networking 2 07-18-2003 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration