Networking Forums

Networking Forums > Computer Networking > Linux Networking > dhcpd + no subnet declaration

Reply
Thread Tools Display Modes

dhcpd + no subnet declaration

 
 
Zack Odell
Guest
Posts: n/a

 
      10-21-2003, 04:03 AM
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
 
 
 
 
Jeroen Geilman
Guest
Posts: n/a

 
      10-23-2003, 12:46 AM
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

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
Routing - Computers on either subnet have problems finding PCs on the other subnet ZZYZX Windows Networking 2 03-26-2011 01:01 AM
VPN Clients and subnet, NOT the usual "255.255.255.255 subnet mask" question! snowdog_2112 Windows Networking 4 09-09-2006 01:35 AM
dhcpd pechoi@syr.edu Linux Networking 0 06-08-2006 03:15 PM
Last rites declaration of Ioannes Paulus PP. II (Karol Wojtyla) Ioannes Paulus PP. II (Karol Wojtyla) Broadband Hardware 0 04-04-2005 03:32 AM
subnet to subnet routing question S James Linux Networking 0 09-04-2003 03:37 PM



1 2 3 4 5 6 7 8 9 10 11