Mac DHCP client + Linux bootpgw + NT DHCP server

Mac DHCP client + Linux bootpgw + NT DHCP server

Post by Andy Norm » Sat, 15 Feb 1997 04:00:00



We are using an NT4 server to handle DHCP requests from some Mac and WinNT
clients. We have about a dozen segments (each with it's own class C block)
routed by 4 linux boxes. I have got bootpgw (from RedHat 4.0, bootpd 2.4.3)
running on the routers:

On intra1 (192.168.1.1)

bootpgw apollo

On intra2 (192.168.21.1)

bootpgw apollo

apollo (192.168.51.11) is the NT box
intra1 has four segments (192.168.1.0, 192.168.6.0, 192.168.11.0, 192.168.16.0)
intra2 has four segments (192.168.21.0, 192.168.31.0, 192.168.41.0,
192.168.51.0)
intra1 and intra2 are connected to another segment 192.168.128.0

If I connect Mac (Open Transport 1.1.2) and WinNT (workstation 4) boxes
onto the segment that the DHCP server is on they work fine.

If I connect the a Mac to one of the segments on intra2 that doesn't have
the DHCP server on I see this in the logs:

Feb 12 14:15:45 intra2 bootpgw[8449]: version 2.4.3
Feb 12 14:20:03 intra2 bootpgw[8449]: recvd pkt from IP addr 0.0.0.0
Feb 12 14:20:03 intra2 bootpgw[8449]: request from 0.0.0.0
Feb 12 14:20:06 intra2 bootpgw[8449]: recvd pkt from IP addr 0.0.0.0
Feb 12 14:20:06 intra2 bootpgw[8449]: received short packet
Feb 12 14:20:11 intra2 bootpgw[8449]: recvd pkt from IP addr 0.0.0.0
Feb 12 14:20:11 intra2 bootpgw[8449]: request from 0.0.0.0
Feb 12 14:20:24 intra2 bootpgw[8449]: recvd pkt from IP addr 0.0.0.0
Feb 12 14:20:24 intra2 bootpgw[8449]: received short packet
Feb 12 14:20:49 intra2 bootpgw[8449]: recvd pkt from IP addr 0.0.0.0
Feb 12 14:20:49 intra2 bootpgw[8449]: request from 0.0.0.0

The Mac never gets a response from the DHCP server. If I connect an NT box
the same happens (except I don't see any "short packets").

I have the log turned on on the DHCP server, it records the sucessful
leasing when things are working, nothing is recorded when going via bootpgw.

Help.

Routing table for intra2:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.128.0   0.0.0.0         255.255.255.0   U     0      0        9 eth0
192.168.21.0    0.0.0.0         255.255.255.0   U     0      0        7 eth1
192.168.41.0    0.0.0.0         255.255.255.0   U     0      0        1 eth2
192.168.51.0    0.0.0.0         255.255.255.0   U     0      0      269 eth3
192.168.31.0    0.0.0.0         255.255.255.0   U     0      0        5 eth4
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0       15 lo
0.0.0.0         192.168.128.1   0.0.0.0         UG    0      0      471 eth0

apollo's dns entries are ok

--