LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2008, 06:03 AM   #1
belda
LQ Newbie
 
Registered: Dec 2006
Posts: 15

Rep: Reputation: 0
dhcp bug or bug in my head


Am i going crazy?
Im trying to setup an dhcp, which was working so far for my net
192.168.88.0/255.255.255.0
now im enlarging the network so I changed the netmask to 255.255.240.0 and it stop working

I dnsmasq does dns, but it should also do dhcp, but doesnt, so I got dhcpd3, and i got this in syslog

Code:
Jan 26 12:39:47 router dhcpd: Address range 192.168.88.150 to 192.168.88.160 not on net 192.168.88.0/255.255.240.0!
this should work or?
 
Old 01-26-2008, 07:08 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I don't have a binary calculator at hand now so I have to guess.

You defined a network 192.168.88.0 with mask 255.255.240.0. Now the '88' MUST be on a network boundary for the '240' mask. In other words, if the last 4 bits of '240' are zero, the last 4 bits of you network definition have to be as well. I am not sure that '88' ends with 4 zeros, but I don't think so. Choose the next lower address which complies with the 4 zeroes, which is 80 I think. '88' will be included, so no problem for your expansion.

The definition of your new net should be 192.168.80.0 255.255.240.0 and you have a range from 192.168.80.1 to 192.168.95.254.

jlinkels
 
Old 01-26-2008, 08:46 AM   #3
belda
LQ Newbie
 
Registered: Dec 2006
Posts: 15

Original Poster
Rep: Reputation: 0
thanks a lot, that was it exactly it
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 2008 CES: Bug Labs Introduces BUG, BUGbase. So Cool! LXer Syndicated Linux News 0 01-09-2008 01:21 AM
2038 bug-Is Debian Bug-Proof? deepclutch Debian 1 08-02-2007 10:59 AM
Firefox bug? Fedora 7 bug? or what? hawke Fedora 8 07-22-2007 07:00 PM
BUG: soft lockup detected on CPU#0 and BUG: spinlock recursion on CPU#0 ... BloodyCat Linux - Hardware 3 11-07-2006 01:14 PM
Free86 bug or nVidia bug?? ProtoformX Linux - Software 2 05-12-2004 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:23 PM.

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