RE: [CentOS] 2 DHCP server in one subnet

2007-11-28 Thread Bleier Thomas
Hi Fajar,

on the Linux DHCPD I would add an allow directive to the pool, and put your 
LTSP clients in a class:

subnet 10.0.0.0 netmask 255.255.255.0 {
  
  class ltsp {
match if ...
  }

  pool {
...
allow members of ltsp;
  }
}

Afaik W2K DHCP does not have such an option - so you could probably try to fill 
the W2K DHCP address range with reservations, so that it does not have any more 
IP addresses to serve for other clients that you want. But I did not test that, 
so YMMV...

You said you have to have your W2K server running - but couldn't you just 
disable the DHCP-Server on it and serve all your clients form the Linux DHCPD? 
Recent versions of dhcpd also support dynamic DNS registration, so I don't see 
any (technical) reason why to keep the W2K DHCP...

Just my 2c,
__
/homas



--
Thomas Bleier, DI
Information Management
Austrian Research Centers GmbH - ARC
HG Wien - FN 115980i - ATU14703506
2444 Seibersdorf, Austria

Mobile: +43 (664) 8251279
E-Mail: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fajar Priyanto
Sent: Wednesday, November 28, 2007 2:18 PM
To: CentOS mailing list
Subject: [CentOS] 2 DHCP server in one subnet

Hello all,
In the network there is already a W2K server serving as DHCP server for the 
network. Then we want to implement LTSP, so we need to setup another DHCP 
server, right?

Due to unexpected reason (little by little migration of w98 clients to LTSP), 
we need to keep the W2K server running in that network. Can we then have 2 DHCP 
server in the same subnet, only serving pre-determine clients using mac 
address? Any clue on how to setup the dhcpd.conf?

Thank you very much.
--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
20:16:32 up 14 min, 2.6.22-14-generic GNU/Linux Let's use OpenOffice. 
http://www.openoffice.org The real challenge of teaching is getting your 
students motivated to learn.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 DHCP server in one subnet

2007-11-28 Thread Les Mikesell

Fajar Priyanto wrote:

Hello all,
In the network there is already a W2K server serving as DHCP server for the 
network. Then we want to implement LTSP, so we need to setup another DHCP 
server, right?


This depends on your network topology. If you use the 2-NIC 
configuration on the k12ltsp server you will have a separate switch and 
subnet for the clients so there is no conflict with an existing DHCP 
server on your main network - and the k12ltsp server also provides NAT 
so even windows boxes on the client side will operate normally without 
other changes.


Due to unexpected reason (little by little migration of w98 clients to LTSP), 
we need to keep the W2K server running in that network. Can we then have 2 
DHCP server in the same subnet, only serving pre-determine clients using mac 
address? Any clue on how to setup the dhcpd.conf?


If you have everything on a flat network it would be best to only run 
one DHCP server, but either the windows one or the k12ltsp one can be 
configured to do everything you need.  The extra options you need to 
boot thin clients will simply be ignored by systems that don't want 
them.  The other services on the w2k server can remain even if you shut 
down its dhcp service and rely on the k12ltsp server for that.


--
  Les Mikesell
   [EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 DHCP server in one subnet

2007-11-28 Thread Alain Spineux
On Nov 28, 2007 2:18 PM, Fajar Priyanto [EMAIL PROTECTED] wrote:
 Hello all,
 In the network there is already a W2K server serving as DHCP server for the
 network. Then we want to implement LTSP, so we need to setup another DHCP
 server, right?

No.

You should be able to setup the W2K DHCP server.

You can define a reservation, add some host (harware mac) to it and
specify some custom parameter using named option or directly its number,
for 'next-server' and maybe 'filename' (I dont know to much LTSP)

Regards

OPS: Les sugest to avoid the separate reservation and put all new options in
your already existing reservation, why not !



 Due to unexpected reason (little by little migration of w98 clients to LTSP),
 we need to keep the W2K server running in that network. Can we then have 2
 DHCP server in the same subnet, only serving pre-determine clients using mac
 address? Any clue on how to setup the dhcpd.conf?

 Thank you very much.
 --
 Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
 http://linux2.arinet.org
 20:16:32 up 14 min, 2.6.22-14-generic GNU/Linux
 Let's use OpenOffice. http://www.openoffice.org
 The real challenge of teaching is getting your students motivated to learn.

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos





-- 
Alain Spineux
aspineux gmail com
May the sources be with you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Thanks Re: [CentOS] 2 DHCP server in one subnet

2007-11-28 Thread Fajar Priyanto
On Wednesday 28 November 2007 20:43:25 Bleier Thomas wrote:
 Hi Fajar,
 on the Linux DHCPD I would add an allow directive to the pool, and put
 your LTSP clients in a class:

 subnet 10.0.0.0 netmask 255.255.255.0 {
   
   class ltsp {
 match if ...
   }

   pool {
 ...
 allow members of ltsp;
   }
 }
 You said you have to have your W2K server running - but couldn't you just
 disable the DHCP-Server on it and serve all your clients form the Linux
 DHCPD? Recent versions of dhcpd also support dynamic DNS registration, so I
 don't see any (technical) reason why to keep the W2K DHCP...

Dear friends,
Thank you very much for all the help. Much appreciated.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
10:22:12 up 1:58, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos