Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christian Worley <cworley@altatech.com>
To: axp-list@redhat.com, Matthew Woodworth <msw@qad.com>
Subject: Re: Linux and NT on home network
Date: Tue, 12 May 1998 08:51:23 -0600	[thread overview]
Message-ID: <355861EB.63A3BD33@altatech.com> (raw)
In-Reply-To: 85256602.004B293D.00@cont12.qad.com

Matthew Woodworth wrote:
> 
> Friends,
> 
> I have an NT machine using RRAS connecting to my ISP.  From it I can
> ping, telnet, etc to any machine on the Internet.
> 
> I also have a Linux machine (UDB) connected to the NT machine via a hub.
> The Linux machine can ping, telnet, etc to the NT machine but it can't seem
> to get out of my home network.

Your Linux machine needs to know the route (which you seem to have
setup correctly), as does your NT machine.  Other than turning on IP
forwarding on your NT machine, you have little recourse (beside
suicide).  Find some tcpdump like program that you can run from NT. 
Watch both interfaces to see who's dropping the packets.

> 
> I am new to routing but I have a few ideas.  (please excuse them if I am
> on the wrong track)
> 
> 1.  Because my home network has IP addresses in the 10.*.*.* network, any
> router
> will simply ignore/drop the packets on the way back.  In other words, my
> packets
> are making it out to the target machines but they can't get back.

Right.  If you're using a bogus (not-NIC assigned) network, then
you're correct: even if the linux box knows to route through the NT
box, and your NT box knows to route back, everthing in the internet
will mis route the packet.

If you're using a bogus internal network, then you need proxy
services:  the clients on the LAN only connect to the proxy on the
gateway, who (with a valid IP address) performs whatever action (i.e.
web request through port 80) for the client.

> 
> 2.  The NT machine doesn't forward the packets from the NIC to the modem.
> 
> I have IP forwarding turned on in the NT box but I can't tell if it is
> actually forwarding the packets.

Debugging is the hard part of NT.  Without any source, you're
blindfolded trying to solve problems.  You do all the work, Bill makes
all the money: it's in your contract!

Find a TCPDUMP like program for debugging.  That would be a good
start.  I doubt there's a free one for NT.

>  This is the output of the route command
> on Linux.  (Jackson is the NT box)
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 10.1.1.0        *               255.255.255.0   U     0      0        3
> eth0
> 127.0.0.0       *               255.0.0.0       U     0      0       23 lo
> default         jackson         0.0.0.0         UG    0      0       39
> eth0

Looks good.

> 
> My questions are:
> 
> Can this be done (connecting a home network with 10.*.*.* addresses)?

Yes, with proxy services.

>   Do I
> 
> need "real" IP addresses for my home network (I can get them for free).  If

Either that or proxies for all the ports you'll be using.

> 
> I get them, will simply changing the IP addresses and routing tables fix
> the
> problem?

Yes.  

Also, your ISP will probably charge you a higher rate if you request a
subnet, and you do have to request a subnet through them.

The best solution is to make the Linux box the gateway, and let the NT
machine collect dust somewhere where it can't cause any more
frustration.  Linux has the proxy servers you need to handle a bogus
internal network routing, and tcpdump for making sure the routing is
working, and diald for demand dialing, and eql for bonding multiple
modems, and the source code for figuring out what the problem is if
you run into one.

Chris
-- 
  When I die, please cast my ashes upon Bill Gates
   --for once, let him clean up after me!

  "Would you buy a car with the hood welded shut?" 
  --  George Bonser


  parent reply	other threads:[~1998-05-12 14:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-12 13:55 Linux and NT on home network Matthew Woodworth
1998-05-12 14:06 ` warp
1998-05-12 14:51 ` Christian Worley [this message]
1998-05-12 15:07 ` Jeff Sturm
1998-05-12 15:36   ` Mark Smith
1998-05-13  4:05 ` Keith Baker
  -- strict thread matches above, loose matches on Subject: below --
1998-05-12 15:15 Matthew Woodworth
1998-05-12 16:31 ` Jeff Sturm
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox