--- In [email protected], Mahesh Patil <linuxmah...@...> wrote:
>
> Hello friends 
>  
> I have configure DHCP server and it working fine for one particular range..   
> my problem is that i have 8 section in my organisation they using ip range 
> like 192.168.1.X range for one section for 2nd section 192.168.2.x range for 
> 2nd section and 192.168.3.x range for third section and so on. How to 
> configure dhcp server for that. it is possible with single DHCP server. 
> Anyone know how to do it. 
>  
> Thanks in advance 
>  
>  
> Mr. Mahesh R. Patil 
> 
> 
>       Cricket on your mind? Visit the ultimate cricket website. Enter 
> http://beta.cricket.yahoo.com
> 
> [Non-text portions of this message have been removed]
>



Alias  ur  interface to both network  ip

dhcpd.conf

ddns-update-style ad-hoc

subnet 192.168.2.0 netmask 255.255.255.0 {
    range 192.168.2.XX 192.168.2.XX;
    default-lease-time 7200;
    max-lease-time 21600;
    option routers 192.168.2.XXX;
    option ip-forwarding off;
    option broadcast-address 192.168.2.255;
    option subnet-mask 255.255.255.0;
    option domain-name-servers 65.XX.XX.XX, 65.XX.XX.XX;
  }

subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.XX 192.168.1.XX;
    min-secs 3;
    default-lease-time 7200;
    max-lease-time 21600;
    option routers 192.168.1.X;
    option ip-forwarding off;
    option broadcast-address 192.168.1.255;
    option subnet-mask 255.255.255.0;
    option domain-name-servers 65.XX.XX.XX, 65.XX.XX.XX;
  }

Reply via email to