Subject: Re: dhcpd - two subnet ranges (10. and 192.) ?
To: None <netbsd-help@netbsd.org>
From: John R. Shannon <john@johnrshannon.com>
List: netbsd-help
Date: 10/15/2003 22:00:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This should be easy. You have different NICS, one in the 192.168. range and
the other in the 10.10 range do you not. The you can assign a subnet to each
interface.
Here's a similar situation where I have a Soekris box where I use DHCP to
assign different networks to each interface:
shared-network SIS1 {
subnet 192.168.1.48 netmask 255.255.255.252 {
option subnet-mask 255.255.255.252;
option broadcast-address 192.168.1.51;
option routers 192.168.1.49;
option domain-name-servers 192.168.1.3, 192.168.1.4;
option domain-name "mobile.johnrshannon.com";
option interface-mtu 1500;
range 192.168.1.50;
}
}
shared-network SIS2 {
subnet 192.168.1.52 netmask 255.255.255.252 {
option subnet-mask 255.255.255.252;
option broadcast-address 192.168.1.55;
option routers 192.168.1.53;
option domain-name-servers 192.168.1.3, 192.168.1.4;
option domain-name "mobile.johnrshannon.com";
option lpr-servers 192.168.1.37;
option interface-mtu 1500;
range 192.168.1.54;
}
}
Your situation is simular.
On Wednesday 15 October 2003 06:05 pm, you wrote:
> Hello,
>
> I am running dhcpd succesfully on 1.6.1
>
> However, I need to specify 3 fixed addresses for 3 MAC addresses in a
> subrange 192.168...
>
> For the rest of the machines I need to assign an ip in the 10.10 range.
>
> I've tried a lot with subclasses, groups and hosts but to no avail!
>
> Basiically I can't seem to get teh 192. range to work. The network adapter
> I'm using is set to the 10.... range.
>
> Any ideas how I would go about this>?
>
> Many thanks,
- --
John R. Shannon
john@johnrshannon.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iEYEARECAAYFAj+OF+EACgkQOKbCxya4HYvrjQCeJGp8WHdHVzT2/E9PGn/IqtWy
MOMAnitQ8+ayIsELVnljDvSHpiAqVWXL
=yIq+
-----END PGP SIGNATURE-----