Hello,
I obtained a dhcp relay package from
http://www.dcc.unicamp.br/~ra007256/...y-0.3.1.tar.gz that compiled easily and runs on a Slackware 8.1 router between two subnets. I works fairly easily from what I can tell. I do have a problem with Windows 95 client obtaining addresses. I don't know if it is also with 98 and above because I haven't tested.
The Windows 95 client receives the correct gateway, DNS etc. but the leased address is from the wrong subnet. It seems like the it wants to retain a previous leased address in the wrong subnet.
These are protected by NAT and proxy servers and the subnets are in different buildings. Also, I need to specify the the MAC and disallow unknowns because we use a shared network.
1st subnet
subnet 172.16.0.0 netmask 255.255.224.0 {
range 172.16.5.1 172.16.5.254;
option domain-name "whs.wps";
option broadcast-address 172.16.31.255;
option subnet-mask 255.255.224.0;
option domain-name-servers 172.16.0.10,63.240.76.19,204.127.198.19;
2nd subnet
subnet 172.16.32.0 netmask 255.255.224.0 {
range 172.16.32.2 172.16.32.253;
option broadcast-address 172.16.63.255;
option domain-name-servers 172.16.0.10, 63.240.76.19, 204.127.198.19;
option domain-name "ev.wps";
group {option routers 172.16.63.254;
use-host-decl-names on;
host ha0050040ede9a {hardware ethernet 00:50:04:0e:de:9a;}#test computer on other subnet
}
What happens is the "test computer" gets an address from the 1st range of addresses and not the second, which is the subnet that it resides in. If I try to assign it a fixed-address which I believe is bootp protocol, it doesn't pass through the router.
Any suggestions why this would occur or how to fix it.