[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Responding to relayed DHCP requests



Hello,

	I've got a router running woody and a 2.4.17 kernel that has to respond
to DHCP requests it gets relayed from another router on the same subnet.
I've configured everything (as far as I can tell) according to the
readmes, and the server is running. It's just not responding to relayed
queries, without even logging any errors.

Does anyone have any suggestions? I've tried everything I can think of,
which probably means there's some small detail that's totally obvious
that I've overlooked and will keep overlooking until someone points me
at it.

I've attached the config file and part of a tcpdump output below; IP
adresses were edited for security reasons.

The situation: 
'server' is the actual dhcp server with three network cards. eth0
connects to 192.168.10.0 with netmask 255.255.255.252, and 
traffic to 192.168.11.0 and 192.168.12.0 is routed via 192.168.10.1
eth1 connects to 10.10.20.1 and through that to the outside world. eth2
connects to the backup server which has to take over if this one fails.

'relay' is at 192.168.11.1 and sends relay queries to 'server' at
192.168.10.2. These come in over eth0.

Thanks in advance,

-- 
Rens Houben                           |    opinions are mine
Resident linux guru and sysadmin      | if my employers have one
Systemec Internet Services.           |they'll tell you themselves
PGP public key at http://suzaku.systemec.nl/shadur.key.asc  -- new Dec
12 2001
10:46:32.010762 relay.67 > server.67:  (request) hops:1 xid:0xcc79ab27 secs:13888 flags:0x8000 G:relay ether 0:b0:d0:ba:37:e0 [|bootp]
10:47:13.144034 relay.67 > relay.67:  (request) hops:1 xid:0xf57815e flags:0x8000 G:relay ether 0:b0:d0:ba:37:e0 [|bootp]
10:47:17.143915 relay.67 > relay.67:  (request) hops:1 xid:0xf57815e secs:61759 flags:0x8000 G:relay ether 0:b0:d0:ba:37:e0 [|bootp]
10:47:24.145627 relay.67 > relay.67:  (request) hops:1 xid:0xf57815e secs:61759 flags:0x8000 G:relay ether 0:b0:d0:ba:37:e0 [|bootp]
10:47:40.146222 relay.67 > relay.67:  (request) hops:1 xid:0xf57815e secs:61759 flags:0x8000 G:relay ether 0:b0:d0:ba:37:e0 [|bootp]
option routers server;
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "dhcp.mycompany.com"
option domain-name-servers server;

option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

subnet  192.168.10.0 netmask 255.255.255.252 {
	not authoritative;
}

subnet 10.10.20.1 netmask 255.255.255.252 {
	not authoritative;
}

subnet 192.168.10.8 netmask 255.255.255.248 {
	not authoritative;
}


shared-network dhcp-pool1 {
	subnet  192.168.12.0 netmask 255.255.255.0 {
		option subnet-mask 255.255.255.255;
		option routers 192.168.12.1;
		range 192.168.12.2 192.168.12.254;
		allow bootp;
	}
}

Attachment: pgpui0vsBZRF7.pgp
Description: PGP signature


Reply to: