[K12OSN] NAT and connections through it.

Doug Simpson simpsond at leopards.k12.ar.us
Tue Feb 3 15:02:39 UTC 2009


ltsp server:
2 nics.

eth0: 192.168.0.254
eth1: 10.40.12.22

I will have to go get it re-connected to get the traceroute done. . .I had to completely pull it out of the network since it was killing all Internet traffic for all computers on both networks.

I may just re-install that one to a different version (that one is real old anyway).

We'll see what happens after that. . .

More later. . . I'll quit wasting your time with this for now. . .may be abck with it. . .

Thanks for all the replies and assistance!

Doug

Doug Simpson
Technology Specialist
De Queen Public Schools
De Queen, AR
simpsond at leopards.k12.ar.us
"A Dollar Saved is a Dollar Earned"


>>> Patrick Fleming <k12ltsp at rwcinc.net> 2/3/2009 8:24 AM >>>


Doug Simpson wrote:


> 
> Yes the server itself can reach the destination. It is on the
> 10.40.x.x network. The computers in the lab are on a 192.168.100.x
> network.

Can you run a traceroute to the IP in question?
I think we need a little more on the layout of your network.

eg. LTSP server 10.40.x.1, how many interfaces?

> 
> On a side note, when I did get into it (now I can't and that is a
> different discussion) I was told to add a route and after I did that,
> it brought the rest of the Internet traffic to a screeching halt
> whenever NAT was running. As a result, I had to completely take the
> NAT server out of the equation until I can get that fixed, but I
> can't get back into the system-config-network with a GUI so I have
> the route add options. (do you know of a way to do that from a text
> console?)

route -n will show the routes numerically
route add -net 192.168.100.0 gw (IP address of a machine/router
reachable by the 10.40.x server) will add the 192.168.100.0 network and
should only route hosts based upon that network - note that you can also
use the netmask option to limit which hosts appear in the range.

route will also take the host as a parameter, eg.
route add -host 192.168.100.45 (the machine hosting the files that you
want) gw 10.40.x

> 
> I may just rebuild that server from scratch. . . it has been running
> fine until a few days ago when I started mucking with it to get those
> computers to see out.. .
> 
> But that is another day's project. . .  I would like to get it
> working anyway, though. . .
> 
> Doug

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





More information about the K12OSN mailing list