On Fri, 25 Jun 1999, Dpk wrote:

> On Fri, 25 Jun 1999, Mario Olimpio de Menezes wrote:
>    
>    Hi,
>    
>       I tried to setup the dhcp-beta (server) under slink. The machine
>    has two interfaces. I would like to serve only one, say eth1. 
>       I edited the dhcp.conf file, the server was started but the
>    clients couldn't get dynamic IPs. Both, Win98 and Linux clients.
>       The conf file has just simple entries, since a single
>    192.168.9.0/24 range will be served. 
>       The relevant parts are:
>    -------------
>    server-identifier 192.168.9.1   # eth1
>    
>    option domain-name "boo.br";
>    option domain-name-servers 200.136.xx.xxx;
>    
>    subnet 192.168.9.0 netmask 255.255.255.0 {
>      range 192.168.9.2 192.168.9.254;
>      option domain-name-servers 200.136.xx.xxx;
>      some other options; # I didn't recall from memory
>    }
>    ----------------

>    
> Under your 'some other options', make sure you include:
> 
> option routers xxx.xxx.xxx.xxx; # This default gateway passed to clients
> option subnet-mask xxx.xxx.xxx.xxx  # The subnet mask passed to clients

Yes, I did this. I set routers to 192.168.9.1 (my eth1) which will be
masquerade, since I'm using a reserved IP range.
And the subnet-mask was set to 255.255.255.0 (a full class C).

Is this correct?

        Thanks for your help.

[]s,
Mario O.de Menezes            "Many are the plans in a man's heart, but
    IPEN-CNEN/SP                 is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario                 Prov. 19.21

Reply via email to