[K12OSN] Two subnets

Michael Blinn mblinn at peopleplaces.org
Wed Jan 24 13:57:34 UTC 2007


No, two NICs with two separate gig switches.

I've found the source of this error and have boldly moved on to others (;

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.

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.

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.

(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)

Creating new ramdisk to hold our root fs...
Monting root filesystem: /opt/ltsp/i386-1 from: 192.168.0.254
Setting up the new root ramdisk area...
Doing the switchroot
SwitchRoot v0.1 - Copyright (c) 2005 Linux Based Systems Design
Freeing ram used by initramfs
nfs: server 192.168.0.254 not responding, still trying
nfs: server 192.168.0.254 not responding, still trying
nfs: server 192.168.0.254 not responding, still trying
nfs: server 192.168.0.254 OK
nfs: server 192.168.0.254 not responding, still trying
nfs: server 192.168.0.254 not responding, still trying

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?

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.

Cheers,
  Michael


Jim McQuillan wrote:
> Michael Blinn wrote:
>> David Hopkins wrote:
>>> 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.
>> 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.
> Are both of those nics plugged into the same switch?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: exports
URL: <http://listman.redhat.com/archives/k12osn/attachments/20070124/9d82d31c/attachment.ksh>


More information about the K12OSN mailing list