[K12OSN] Help: 2 dhcp servers!
robark at telus.net
Sun May 16 04:28:00 UTC 2004
Thanks for your reply Terrell. I asked Chuck how to solve the problem and he
refered me to
Bhaskar S. Manda's "how-to"
Of the two solutions.
#1) using an alternate port for dhcp
#2) using the existing school dhcp server
#1 seems like it's more work. Rom-o-matic does provide an online boot disk
image creator that allows using ports (1067 and 1068) instead of (67 and 68)
for dhcp under the optional configure button. But in addition to updating all
the boot floppies I then have to also compile a new client kernel with the
correct port number and change dhcpd.conf to send the new kernel. I'm afraid
I might hose things doing this. It might be fun to try though.
#2 seems easier. But I still don't understand how you turn the k12ltsp dhcp
server off. Does it simply involve find-replaceing 192.168.0.100 to
192.168.0.254 with the ip range that the school server dishes out?
Bhaskar S. Manda also writes at the end of his "how-to" :
II. You can use the Windows DHCP server with some tweaking.
1. Create the symlink /opt/ltsp/i386000 to point to /opt/ltsp/i386. This is
because we've seen Windows DHCP servers zero-pad root path strings.
2. Set the bootfile (option 67) and rootpath (17), options to the
location of the kernel and the root path respectively.
3. Restart the service.
Wondering if you have seen this Terrell, because I don't know what he is
refering to in his second point.
Eric Hamber Secondary
On Saturday 15 May 2004 5:25 pm, Terrell Prude', Jr. wrote:
> I'm in the same situation; my WAN runs subnets of 10.0.0.0/8. As I
> recall, there are a few things to do, but it's not that bad. It's just
> a matter of modifying the IP addresses in two--possibly three if you got
> fancy--files on the K12LTSP server to reflect your "new" range.
> 1.) /etc/hosts
> 2.) /opt/ltsp/i386/etc/lts.conf
> 3.) /etc/resolv.conf -- this applies only if you're running a DNS
> server on your K12LTSP server and pointing your K12LTSP server to itself
> (used only in special circumstances--it's off by default).
> A simple "find 'n' replace" in kedit, gedit, or your favorite editor
> will handle this fine. I replaced "192.168.0" with "10.64.96" in my
> case. Your last octet of course doesn't have to be 254 if you don't
> want it to be, say, if it's already taken by something else (your
> router, perhaps?). I left it as 254 simply because our routers all end
> in .1, and I was lazy. :-)
> My K12LTSP server at home handles both i386 and Mac clients, on separate
> segments. The Mac segment uses 192.168.1.1/24, and the i386 side uses
> 192.168.0.254/24 (same segment as my router).
More information about the K12OSN