Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

dhcpd + no subnet declaration

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2003, 05:03 AM
Default dhcpd + no subnet declaration



I have a linux 9.0 box with dhcp running. My linux box has an IP
address of 192.168.4.132 (eth0). What I want to do is offer
65.192.106.0/24 to my customers. I started off with only one subnet
declaration for the 106 network, but the server complained about not
having a subnet dec. for the 4.132 network. So I put in the
following:

subnet 192.168.4.0 netmask 255.255.255.0 {
}

I don't want any IP's issued out of this network. I want 100% of the
IPs to be the 65.192.106.0/24. But in /var/log/messages I get an
error:

dhcpd: DHCPDISCOVER from 08:00:46:40:9c:68 via eth0: network
192.168.4.0/24: no free leases.

But that's just it, I don't want any of my customers to get
192.168.4.0 IPs just 65.192.106.0/24.


server ip - 192.168.4.132 (public IP = 65.192.104.16)
server pool - 65.192.106.2 - 65.192.106.250

dhcpd.conf
option domain-name-servers 65.192.104.2 65.192.104.3;
option domain-name "sctelcom.net";
option broadcast-address 65.192.106.255;
option routers 65.192.106.1
ddns-update-style ad-hoc
#osi_main
subnet 65.192.106.0 netmask 255.255.255.0 {
range 65.192.106.2 - 65.192.106.250
}
subnet 192.168.4.0 netmask 255.255.255.0 {
}

Is this possible?


Zack Odell
Reply With Quote
  #2  
Old 10-23-2003, 01:46 AM
Jeroen Geilman
Guest
 
Posts: n/a
Default Re: dhcpd + no subnet declaration

Zack Odell <(E-Mail Removed)> randomly warbled in
comp.os.linux.networking:

> I have a linux 9.0 box with dhcp running.


No, you don't - really.

<snip commercialism>

Yesss...

<snip>

> option domain-name "sctelcom.net";


Hmmm...wireless, eh ? you *might* have mentioned this...

<more snip>

> range 65.192.106.2 - 65.192.106.250


Lose the dash - it will not work.

man dhcpd.conf and read the **** log files!

--
Jeroen Geilman

All your bits are belong to us.

Reply With Quote
Reply

Tags
declaration, dhcpd, subnet

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
Forum Jump


All times are GMT. The time now is 07:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.