Problems with shared-network

Marco Carvalho marcoacarvalho at gmail.com
Mon Oct 9 23:05:52 UTC 2006


Hi all,

First, I'm using ISC DHCP Server V3.0.1

I have a little trouble with follow DHCP configuration. I have some
shared-networks configured in a single wire,  each subnet is a
separate building connected to a single access point via wireless
bridge.

My probem is that some clients grab an IP in correct subnet based on
MAC address, but some insist in grab an IP in first shared-network
listed on dhcpd.conf (in this case, 192.168.200.0), even if MAC
address is in another  shared-network.

If anyone have any clue, I will be thankful.

Sorry for my bad English.
I hope make me clear.

----- dhcpd.conf------
ddns-update-style none;
log-facility local7;
use-host-decl-names on;

default-lease-time 1200;
max-lease-time 1200;

shared-network radio {
	# Diversos
	subnet 192.168.200.0 netmask 255.255.255.0 {
		option subnet-mask 255.255.255.0;
		option broadcast-address 192.168.200.255;
		authoritative;
		deny unknown-clients;
		option domain-name "ofm.com.br";
		option domain-name-servers 200.172.171.67;
		option routers 192.168.200.3;
		range 192.168.200.20 192.168.200.254;
		group diversos {
			host teste {
				hardware ethernet 00:50:70:E1:70:ED;
				}
			host andre {
				hardware ethernet 00:13:8F:40:53:42;
				}
			host vitor {
				hardware ethernet 00:14:2A:5A:BB:C1;
				}
			}
	subnet 192.168.202.0 netmask 255.255.255.0 {
		option broadcast-address 192.168.202.255;
		option subnet-mask 255.255.255.0;
		authoritative;
		deny unknown-clients;
		option domain-name "ofm.com.br";
		option domain-name-servers 200.172.171.67;
		option routers 192.168.202.3;
		range 192.168.202.10 192.168.202.254;
		group belavista {
			host belavista-07-201 {
				hardware ethernet 00:0F:EA:23:CE:8C;
				}
			host belavista-10-301 {
				hardware ethernet 00:08:54:30:f2:d7;
				}
			host belavista-08-03 {
				hardware ethernet 00:11:2F:A0:4E:D7;
				}
			}
		}
}

-- 
Marco Carvalho (macs) | marcoacarvalho(a)gmail.com
Maceio - Alagoas - Brazil
Debian GNU/Linux AMD64 unstable (Sid)
GNU-PG ID:08D82127 - Linux Registered User #141545
Notícias Semanais do Debian em Português: http://www.debian.org/News/weekly
Alertas de Segurança Debian (DSA): http://www.debian.org/security
Debian-BR-CDD - O seu Debian à brasileira: http://cdd.debian-br.org


More information about the dhcp-users mailing list