I have a DHCP server serving 2 subnets (the dhcp server itself sits on the gateway).
My config looks like:

---------------------------------------------------------------------------
option domain-name "mydomain.com";
option domain-name-servers ns1.mydomain.com,ns2.mydomain.com;

option log-servers loghost.mydomain.com;
option netbios-name-servers wins.mydomain.com;
option netbios-node-type 8;
option smtp-server mail.mydomain.com;
option pop-server pophost.mydomain.com;
option nntp-server news.mydomain.com;

option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.40.0 netmask 255.255.255.0 {
  range 192.168.40.10 192.168.40.100;
  option routers 192.168.40.254;
}

subnet 192.168.41.0 netmask 255.255.255.0 {
  range 192.168.41.10 192.168.41.100;
  option routers 192.168.41.254;
}
---------------------------------------------------------------------



Note: I have no idea whether the "log-servers", "smtp-server", "pop-server"
and "nntp-server" work. But the gateway, dns and wins servers certainly do work.

Nico


On Wed, 15 Dec 1999, Jean-Yves Leblin wrote:

> Hi,
> I have a DHCP server running on my network and i'd like my clients to get from
> it : their IP adress of course, but also their DNS config and mostly their
> gateway config. 
> For instant they get their IP but not the rest.
> Concerning the DNS, i've found 2 solutions in DHCP howto. The first is not
> running and i'm testing the second, so maybe it will work so feel free to
> ignore, but concerning the gateway i don't have a clue.
> 
> thanks for help
> 
> JY
> 
> 
> 
> 
> *********************************************************************** 
> Jean-Yves LEBLIN
> Centre de Ressources Informatiques 
> Ecole Centrale de Nantes 
> B.P. 92101, 44321 Nantes cedex 3, France 
> tel: 02.40.37.16.26  
> email: [EMAIL PROTECTED]
> ***********************************************************************
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 
> 

--------------------------------------------------------
 "It has been said that there are only two businesses
  refer to customers as users: illegal drug trade and
               the computer industry." 
--------------------------------------------------------
Nico De Ranter
Sony Service Center (SUPC-E/NSSE)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to