<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
After using teh shared-network, it looks fine.<BR>
But,there's a followingi error by dhcpd -d -f. 50% is ok,now.<BR>
<BR>
Listening on LPF/eth1/00:11:43:d3:06:0c/172.17.101.64/26<BR>Sending on LPF/eth1/00:11:43:d3:06:0c/172.17.101.64/26<BR>Sending on Socket/fallback/fallback-net<BR><BR>
***OK***<BR>
DHCPRELEASE of 10.60.253.252 from 00:01:02:03:04:05 via 172.17.60.1 (found)<BR>DHCPDISCOVER from 00:01:02:03:04:05 via 172.17.60.1<BR>DHCPOFFER on 10.60.252.254 to 00:01:02:03:04:05 via 172.17.60.1<BR>DHCPREQUEST for 10.60.252.254 (172.17.101.84) from 00:01:02:03:04:05 via 172.17.60.1<BR>DHCPACK on 10.60.252.254 to 00:01:02:03:04:05 via 172.17.60.1<BR>
<BR>
*** Problem ***<BR>DHCPDISCOVER from 00:01:02:03:04:05 via 172.17.60.1<BR>DHCPOFFER on 10.30.238.227 to 00:01:02:03:04:05 via 172.17.60.1<BR>DHCPREQUEST for 10.30.238.227 (172.17.101.84) from 00:01:02:03:04:05 via 172.17.60.1: ignored (not authoritative).<BR>DHCPREQUEST for 10.30.238.227 (172.17.101.84) from 00:01:02:03:04:05 via 172.17.60.1: ignored (not authoritative).<BR>DHCPREQUEST for 10.30.238.227 (172.17.101.84) from 00:01:02:03:04:05 via 172.17.60.1: ignored (not authoritative).<BR><BR>
Why ?<BR>
<BR>
####Config###<BR>
ddns-update-style interim;<BR>ignore client-updates;<BR>not authoritative;<BR>
shared-network ggsndhcp1 {<BR>subnet 172.17.60.0 netmask 255.255.255.248{<BR>}<BR>subnet 10.30.0.0 netmask 255.255.0.0{<BR> range dynamic-bootp 10.30.0.1 10.30.255.254;<BR> option subnet-mask 255.255.0.0;<BR> default-lease-time 21600;<BR> max-lease-time 43200;<BR>}<BR> }<BR>
shared-network ggsndhcp2 {<BR>subnet 172.17.60.0 netmask 255.255.255.248{<BR>}<BR>subnet 10.60.0.0 netmask 255.255.0.0{<BR> range dynamic-bootp 10.60.0.1 10.60.255.254;<BR> option subnet-mask 255.255.0.0;<BR> default-lease-time 21600;<BR> max-lease-time 43200;<BR>}<BR> }<BR>
subnet 172.17.101.64 netmask 255.255.255.192{<BR>}<BR><BR><BR>> Date: Wed, 2 Apr 2008 19:45:27 +0000<BR>> To: dhcp-users@isc.org<BR>> From: dhcp1@thehobsons.co.uk<BR>> Subject: RE: multiple subnets<BR>> <BR>> M U wrote:<BR>> <BR>> >In fact, I need to define below.<BR>> ><BR>> >172.17.30.0/28 must get the ipaddress 10.30.0.0/16(10.30.0.1 <BR>> >-10.30.255.254) from DHCP server.<BR>> >172.17.60.0/28 must get the ipaddress 10.60.0.0/16(10.60.0.1 <BR>> >-10.60.255.254) from DHCP server.<BR>> ><BR>> >The following configuration does not meet my requirement,I think.<BR>> ><BR>> > subnet 172.17.101.0 netmask 255.255.255.0 {<BR>> > }<BR>> ><BR>> > subnet 172.17.30.0 netmask 255.255.255.248 {<BR>> > }<BR>> ><BR>> > subnet 172.17.60.0 netmask 255.255.255.248 {<BR>> > }<BR>> ><BR>> >subnet 10.30.0.0 netmask 255.255.0.0 {<BR>> > range 10.30.0.1 10.3
0.255.254;<BR>> >}<BR>> ><BR>> >subnet 10.60.0.0 netmask 255.255.0.0 {<BR>> > range 10.60.0.1 10.60.255.254;<BR>> >}<BR>> ><BR>> >Excuse me but, please give me the advice.<BR>> <BR>> <BR>> OK, but please define the problem you are trying to solve !<BR>> <BR>> I know what I **THINK** you are trying to do, but the way you ask the <BR>> question suggests a possibility of something else.<BR>> <BR>> Is it simply that you have a router of some sort, and you want <BR>> clients on a network attached to that router to get addresses from a <BR>> certain subnet ? If so, then it is simple and automatic.<BR>> <BR>> I have to ask because "proxy" implies something different to a normal <BR>> DHCP "relay" and I want to be sure that you do actually mean relay <BR>> and not some obscure setup using a proxy.<BR>> <BR>> <BR>> Assuming my guess is correct, then this is what you need :<BR>> <BR>> On
the server, define 172.17.30.0/28 and 10.30.0.0/16 as a shared <BR>> subnet like this :<BR>> <BR>> shared-subnet net30 {<BR>> subnet 172.17.30.0 netmask 255.255.255.240 {<BR>> }<BR>> subnet 10.30.0.0 netmask 255.255.0.0 {<BR>> range 10.30.0.10 10.30.255.254 ;<BR>> }<BR>> }<BR>> <BR>> This tells the server that 172.17.30.0/28 and 10.30.0.0/16 are on the <BR>> same physical piece of wire - so when it gets a relayed packet from <BR>> 172.17.30.0/28 it knows that it can also offer leases for <BR>> 10.30.0.0/16. The rest is automatic.<BR>> <BR>> On each network, configure the DHCP Relay (note "relay", not "proxy") <BR>> is configured to relay client requests to the DHCP server.<BR>> <BR>> <BR>> You will also need to ensure that the 10.30.0.0/16 subnet is properly <BR>> routed - clients on it MUST be able to send packets directly to (and <BR>> receive packets back from) the DHCP server.<BR>> <BR>> Because as
a very minimum you MUST have a router, you cannot define <BR>> the range as :<BR>> range 10.30.0.1 10.30.255.254<BR>> as this leaves no usable addresses free. I would go further and <BR>> suggest that you leave a block free for potential future use for any <BR>> service you might need to put in that subnet.<BR>> <BR>> Also, I would suggest splitting the range thus :<BR>> range 10.30.0.10 10.30.0.254<BR>> range 10.30.1.1 10.30.1.254<BR>> ....<BR>> range 10.30.254.1 10.30.254.254<BR>> range 10.30.255.1 10.30.255.254<BR>> <BR>> The reason is that whilst rare, there are some broken clients out <BR>> there written by numpties who think the world begins and ends with <BR>> /24 networks - and so there are devices that cannot cope with <BR>> addresses that end in .0 or .255<BR>> <BR>> I know for a fact that some up to date Netgear devices have such <BR>> broken logic in their code (not neccessarily in their DHCP code, but <
BR>> I know parts of their code is afflicted by this).<BR>> <BR>> <BR>> Finally, consider if your REALLY need that many addresses - it's a <BR>> LOT (over 65,000 per network, and over 130,000 for the two networks <BR>> you've told us about). Large address ranges result in slower load <BR>> times, and higher memory consumption, so it's best to avoid having <BR>> ranges that are hugely in excess of what you need. The software will <BR>> handle it, but you would be wasting resources if you don't need more <BR>> than a small fraction of those numbers.<BR>> <BR><BR><br /><hr />MSN$B%_%e!<%8%C%/$H(BEMI Artists$B$,6&F13+:E$9$k%*!<%G%#%7%g%s(B SCHOOL OF SCHOOL <a href='http://clk.atdmt.com/GBL/go/msnjpqjl0040000009gbl/direct/01/' target='_new'>http://music.jp.msn.com/</a></body>
</html>