From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12851 invoked from network); 12 May 1998 14:42:31 -0000 Received: from softdnserror (HELO altatech.com) (198.60.83.58) by mail2.redhat.com with SMTP; 12 May 1998 14:42:31 -0000 Received: from altatech.com (oldjewel [198.60.83.206]) by altatech.com (8.8.3/8.8.3) with ESMTP id IAA05907; Tue, 12 May 1998 08:42:28 -0600 Sender: cworley@altatech.com Message-ID: <355861EB.63A3BD33@altatech.com> Date: Tue, 12 May 1998 08:51:23 -0600 From: Christian Worley Organization: Alta Technology X-Mailer: Mozilla 4.04 [en] (X11; I; OSF1 V3.2 alpha) MIME-Version: 1.0 To: axp-list@redhat.com, Matthew Woodworth Subject: Re: Linux and NT on home network References: <85256602.004B293D.00@cont12.qad.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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