Subject: Re: Question regarding DHCP...
To: NetBSD netbsd-users mailing list <netbsd-users@netbsd.org>
From: Julian Coleman <jdc@coris.org.uk>
List: netbsd-users
Date: 05/07/2003 09:18:43
> subnet 192.168.0.0 {
> }
> 
> subnet 192.168.16.0 {
>    range 192.168.16.129 192.168.16.254;
>    option routers 192.168.0.1;
> }
> 
> Will this tell DHCPd to assign .16 addresses, even though it doesn't 
> have a .16 address itself? Or do I have to change it so that the NetBSD 
> machine is routing packets between the .0 and .16 subnets, and the Cisco 
> is not?

I think you should use a "shared-network" statement here.  Something like:

  shared-network net_0_16 {
    subnet 192.168.0.0 netmask 255.255.255.0 {
      ...
    }
    subnet 192.168.16.0 netmask 255.255.255.0 {
      ...
      range 192.168.16.129 192.168.16.254;
      option routers 192.168.0.1;
    }
  }
}

and leave the routing as it is.

> Also, does anyone have experience using 'Helper' dhcp forwarding on 
> cisco routers?

If you add "ip helper-address <server_address>" to the other interfaces on
the cisco, it will forward requests to your DHCP server.  There is also
a command to fine tune the set of protocols that are forwarded (can't
remember it off the top of my head).

J

-- 
                    My other computer also runs NetBSD
                          http://www.netbsd.org/