I would like than there is no default route for the client..

Douglas Armstrong doug at ovationdata.com
Fri Apr 7 13:32:25 UTC 2006


On the server side my dhcp.conf is set up like this to achive that:


        class "dual-interfaces" {
         match pick-first-value (option dhcp-client-identifier, hardware);
       }
       subclass "dual-interfaces" 1:xx:xx:xx:xx:xx:xx;

subnet 192.168.1.0 netmask 255.255.255.0 {
<snip>
        pool {  #known clients
                option routers 192.168.1.10;
                use-host-decl-names on;
                range 192.168.1.33 192.168.1.64;
                deny unknown clients ;
                deny members of "dual-interfaces";
                }
        pool {  #Dual nic servers
                range 192.168.1.16 192.168.1.32;
                allow members of "dual-interfaces";
                }


Doug



Her, Andre wrote:

>So, I would like to know how I can prevent a client PC ( in this case
>running RH7.2 and Mandrake 7.2 ) for NOT having a default route (netstat
>-r  show a default route )
>I have tried :
>Option static-routes;
>
>           discover-router false;
>I don't specify a router
>
>The reason is that these client connect separately to a ISP via pppd and
>the default route should be directed to the ISP for them getting their
>e-mail.
>As there is already a default route, pppd skip this setting.
>
>Many thanks in advances
>Andre
>
>
>  
>



More information about the dhcp-users mailing list