Bluehost.com Web Hosting $6.95

dhcpd + no subnet declaration

This is a discussion on dhcpd + no subnet declaration within the Linux Networking forums, part of the Linux Forums category; I have a linux 9.0 box with dhcp running. My linux box has an IP address of 192.168....


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2003
Zack Odell
 
Posts: n/a
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?
Reply With Quote
  #2 (permalink)  
Old 10-23-2003
Jeroen Geilman
 
Posts: n/a
Default Re: dhcpd + no subnet declaration

Zack Odell <zodell@sctelcom.com> 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0