<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Just took a look at your /etc/exports. To me, it looks fine. However,
what is interesting is that your 192.168.1.x client is looking for
/opt/ltsp/i386-1 from 192.168.0.254 instead of 192.168.1.254. <br>
<br>
My guess is that there isn't a separate "option root-path" statement in
each "shared-network" stanza. Remember that each DHCP scope needs its
own pointer to find /opt/ltsp/<whatever>. So you want it to look
sort of like this, using my /etc/dhcpd.conf file as an example (I use
172.16.x.x networks):<br>
<br>
shared-network WORKSTATIONS-1 {<br>
subnet 172.16.1.0 netmask 255.255.255.0 {<br>
range dynamic-bootp 172.16.1.100 172.16.1.253;<br>
use-host-decl-names on;<br>
option log-servers 172.16.1.254;<br>
option root-path "172.16.1.254:/opt/ltsp/i386-1";<br>
<br>
<blah blah blah><br>
<br>
Then, of course, you'd just comment out the global "option root-path"
statement above your "shared network" sections and bounce dhcpd. Try
that and let us know.<br>
<br>
--TP<br>
<div class="moz-signature">_______________________________
<br>
Do you GNU!?
<br>
<a href="http://www.gnu.org/">Microsoft Free since 2003</a>--the
ultimate antivirus protection!
<br>
</div>
<br>
<br>
Michael Blinn wrote:
<blockquote cite="mid45B765CE.4040804@peopleplaces.org" type="cite">No,
two NICs with two separate gig switches.
<br>
<br>
I've found the source of this error and have boldly moved on to others
(;
<br>
<br>
Apparently, I needed a separate 'shared-network' declaration for each
subnet. (before, my dhcpd-k12ltsp.conf had both subnets in the one
WORKSTATIONS subnet) After this change, the client received the correct
IP each time it requested.
<br>
<br>
However, then, I received kernel panics, unable to mount root. I
changed the /etc/exports file to the one as is attached, though I'm not
sure that made a difference (I defined each mount and its allowed
subnets separately instead of using 192.168.0.0/255.255.0.0). I
restarted NFS and did 'exportfs -avr' to ensure the changes were taken.
<br>
<br>
I DO get an OK now, though it is still trying to mount to the incorrect
NIC. I think I've moved into NFS issues and DHCPD is now all set.
<br>
<br>
(this is a 192.168.1.0/24 client on the 192.168.1.0/24 switch and
192.168.1.0/24 server NIC - I copied a separate i386 for the
192.168.1.0/24 subnet and called it /opt/ltsp/i386-1)
<br>
<br>
Creating new ramdisk to hold our root fs...
<br>
Monting root filesystem: /opt/ltsp/i386-1 from: 192.168.0.254
<br>
Setting up the new root ramdisk area...
<br>
Doing the switchroot
<br>
SwitchRoot v0.1 - Copyright (c) 2005 Linux Based Systems Design
<br>
Freeing ram used by initramfs
<br>
nfs: server 192.168.0.254 not responding, still trying
<br>
nfs: server 192.168.0.254 not responding, still trying
<br>
nfs: server 192.168.0.254 not responding, still trying
<br>
nfs: server 192.168.0.254 OK
<br>
nfs: server 192.168.0.254 not responding, still trying
<br>
nfs: server 192.168.0.254 not responding, still trying
<br>
<br>
I'll keep at it. NFS doesn't do any logging so I'm kind of fishing in
the dark. Does anyone have any suggestions?
<br>
<br>
I hope folks don't mind me attaching and being a bit wordy about this
issue. I'm hoping that others who do two subnets in the future may find
it helpful to peruse this in the archives.
<br>
<br>
Cheers,
<br>
Michael
<br>
<br>
<br>
Jim McQuillan wrote:
<br>
<blockquote type="cite">Michael Blinn wrote:
<br>
<blockquote type="cite">David Hopkins wrote:
<br>
<blockquote type="cite">A quick guess: From the above it seems
you have only 1 NIC for the subnet? Why is eth1 responding on both
subnets? Terrel's setup was using 2 NICs: one for each subnet.
<br>
</blockquote>
No, that's what is odd. There are two NICs for the two subnets. One is
192.168.0.0/24 and one is 192.168.1.0/24. DHCPD appears to be handing
out addresses without accounting for the two nics/subnets. I can only
assume it's due to a problem in my dhcpd.conf but I can't find the
problem.
<br>
</blockquote>
Are both of those nics plugged into the same switch?
<br>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
## LTS-begin ##
#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Wed Nov 28 11:19:42 PST 2001 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at <a class="moz-txt-link-freetext" href="http://www.ltsp.org">http://www.ltsp.org</a>
#
/opt/ltsp/i386 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
/opt/ltsp/i386-1 192.168.1.0/255.255.255.0(ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles 192.168.1.0/255.255.255.0(rw,no_root_squash,async)
#
# The following entries need to be uncommented if you want
# Local App support in ltsp
#
#/home 192.168.0.0/255.255.255.0(rw,root_squash,sync)
## LTS-end ##
## LTS-begin ##
#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Wed Nov 28 11:19:42 PST 2001 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at <a class="moz-txt-link-freetext" href="http://www.ltsp.org">http://www.ltsp.org</a>
#
/usr/X11R6/lib/X11/fonts 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/AbiSuite/fonts 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/fonts 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/usr/lib/openoffice/share/fonts 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/usr/X11R6/lib/X11/fonts 192.168.1.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/AbiSuite/fonts 192.168.1.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/fonts 192.168.1.0/255.255.255.0(ro,no_root_squash,sync)
/usr/lib/openoffice/share/fonts 192.168.1.0/255.255.255.0(ro,no_root_squash,sync)
## LTS-end ##
## LTS-end ##
## LTS-begin ##
#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Wed Nov 28 11:19:42 PST 2001 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at <a class="moz-txt-link-freetext" href="http://www.ltsp.org">http://www.ltsp.org</a>
#
/opt/ltsp/ppc 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/opt/ltsp/ppc 192.168.1.0/255.255.255.0(ro,no_root_squash,sync)
## LTS-end ##
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
K12OSN mailing list
<a class="moz-txt-link-abbreviated" href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a class="moz-txt-link-rfc2396E" href="http://www.k12os.org"><http://www.k12os.org></a></pre>
</blockquote>
</body>
</html>