[plug] dhcpd config
Simon Scott
simon.scott at flexiplan.com
Fri Jun 1 10:56:28 WST 2001
Yeh, well, thats the thing. You cant dish out ip's on two different
subnets because the client machine isnt on a subnet until it receives an IP!
:)
After a machine receives an IP everything changes tho, cos normally
machines dont lose ip's once assigned (they renew well before expiry, and
the expired addresses are the last to be reassigned IIRC) so DHCP can then
map the mac addy to the IP.
I wonder if it is smart enough to assign an address from the correct
subnet's pool based on previously expired addresses? Maybe you could dummy
up a leases file :)
From: stephen shah <shahmann at hotmail.com> on 01-06-2001 10:48 AM
Please respond to plug at plug.linux.org.au@SMTP at Exchange
To: plug at plug.linux.org.au@SMTP at Exchange
cc:
Subject: Re: [plug] dhcpd config
thanx 4 your input,
yep, it doesnt like dishing out ip's on two different subnets using
the one
interface.
Your mates idea of using a router as the host subnet name is worth a
go.
I read some doco on that and will give it a go
cheers
>From: Simon Scott <simon.scott at flexiplan.com>
>Reply-To: plug at plug.linux.org.au
>To: plug at plug.linux.org.au
>Subject: Re: [plug] dhcpd config
>Date: Fri, 1 Jun 2001 10:01:09 +0800
>
> This is actually an interesting point.
>
> If both subnets are on the one interface, then the only way
I can
>think of doing would be to explicitly declare the mac address - ip
pair in
>the conf file for every machine.
>
> If they are on seperate interfaces, quite possibly you would
have to
>run two copies of dhcpd with 2 conf files.
>
> The 2 ip-addresses/1 interface problem is that only one ip
should
>(can?) respond to any ethernet broadcasts. At that point, the
client
>machine
>is not on any subnet, so dhcp wouldnt have a clue which it belonged
to
>without explicitly declaring it. You are basically left with what
bootp is.
>
> Anyone else have thoughts? Id never really thought about
this until
>now.
>
> A friend here reckons that since each subnet has its own
router, you
>can setup dhcp-forwarding on each router so that dhcpd knows which
'subnet'
>the broadcast comes from. This appears to be the MS way of doing
it, and
>may
>or may not apply to unix.
>
>
>
>
>
>
> From: stephen shah <shahmann at hotmail.com> on 31-05-2001
10:09 PM
> Please respond to plug at plug.linux.org.au@SMTP at Exchange
> To: plug at plug.linux.org.au@SMTP at Exchange
> cc:
>
> Subject: [plug] dhcpd config
>
>
> hello there,
>
> has anyone got a copy of a dhcpd.config file I could view.
> I am trying to setup a number of subnets
> eg 192.168.31.
> 192.168.32.
> 192.168.33.
> using a netmask of 255.255.255.0
> I have one subnet dishing out ip's ok based on mac address's
but
> when I declare another subnet in the dhcpd.conf file
> she no work
>
> thanx>
>
>
>_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
>
>
>
>
>**********************************************************************
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom
they
>are addressed. If you have received this email in error please
notify
>the system manager.
>
>This footnote also confirms that this email message has been swept
by
>MIMEsweeper for the presence of computer viruses.
>
>www.mimesweeper.com
>**********************************************************************
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
More information about the plug
mailing list