[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] jury-rigging routing table, re-addressing LTSP network?



Jim,

Where do I make the change(s)? Should I do a fresh re-install of K12LTSP, putting in a new address for the eth0 interface?

Thank you,

John




On Tuesday, July 15, 2003, at 11:12 PM, jam mcquil com wrote:


John,

Save yourself a bunch of trouble.

If your eth1 is on the 192.168.0.x network, then put your
eth0 on a different class-C.  Maybe 192.168.1.x or 10.0.0.x
or anything, as long as it's NOT 192.168.0.x.

Believe me, having 2 nics in the same machine, both on the
same class-C will really break things.  Unless you've played
with your netmasks, and subnetted the class-c.

Still, it's pretty easy to put your LTSP stuff on a different
class-c.

Hope that helps,

Jim McQuillan
jam Ltsp org





On Tue, 15 Jul 2003, John Q Public wrote:

Everything is working great, except the network I am joining also uses
the 192.168.0.0 address space.

Access to the campus network and the internet did not work.  I believe
this was because the routing table (seen with the route command) had
each network on different interfaces.  The default gateway on the
campus network was set to 192.168.0.1, which conflicted with ws001 on
the LTSP network.  I found a work-around by removing both the
192.168.0.0 entries from the routing table, adding a default route to
the campus network at 192.168.0.1 on eth1, and then adding the
individual ltsp stations with the 'route add -host 192.168.0.252 eth0'
command.  I also commented the ws001 entry in the /etc/hosts file.

The jury-rigging works well now. I just need to add workstations to
the routing table manually, after they are assigned IPs from DHCP. For
a long term solution, some options include writing a script for
boot-time that adds and deletes the entries in the routing table (not
very elegant) or re-addressing the LTSP network. As I understand it
now, that would mean changing (1) the address ranges and (2) the
server address for the DHCP/PXE parts of the boot, (3) changing the
server address variable in /opt/ltsp/i386/etc/lts.conf , and (4)
changing the addresses listed in /etc/hosts . Are there other places I
need to change the network/workstation/server/gateway entries? If I
change the address of the eth0 during the CD-installation, will it be
placed in the other places?


Did I get all the places that 192.168.0.0 (and 254) are specified?  Is
this the best solution, other than asking the campus network to
renumber?

I'm sorry if this was too thorough or long-winded.  I'm new to
manipulating routing tables, and I talk a lot.

All the best,

John Q. Public


_______________________________________________ K12OSN mailing list K12OSN redhat com https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>


--



_______________________________________________ K12OSN mailing list K12OSN redhat com https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]