From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1d98482f676e5de58c8ac27c819f63d3@plan9.bell-labs.com> From: David Presotto To: nmh@t3x.org, 9fans@cse.psu.edu Subject: Re: [9fans] Cannot access hosts outside of LAN MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-pmgookwukbfffmcgksxcntqegt" Date: Thu, 11 Mar 2004 09:37:08 -0500 Topicbox-Message-UUID: 2ad8e6e0-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-pmgookwukbfffmcgksxcntqegt Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I can't see what you might have done wrong. That routing table looks fine to me. The gateway is correct though the '-' at the end means that the default entry has never been chosen as a route. It is normally the next hop interface for route. It gets filled in whenever the route is chosen for a packet; it's a cache to avoid the interface lookup every time. Did you cat this out before trying to connect to something off of the 10 net? If this table was after failing to connect to an off LAN system, then it means that it couldn't find an interface when you tried to connect. That I really don't understand. What's the output of 'netstat -i'? Something you can do. 1) open a window, set it scrolling echo set ip > /net/log cat /net/log 2) open another window, set it scrolling snoopy 3) open yet another window tcp!134.155.50.51!80 If that doesn't immediately tell you something, send me all the output. --upas-pmgookwukbfffmcgksxcntqegt Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Thu Mar 11 05:10:38 EST 2004 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Thu Mar 11 05:10:35 EST 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 5C1AC19D9F; Thu, 11 Mar 2004 05:10:22 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 8CFF919DE5; Thu, 11 Mar 2004 05:10:18 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id A00AF19D9F; Thu, 11 Mar 2004 05:09:10 -0500 (EST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 5CEB919CF4 for <9fans@cse.psu.edu>; Thu, 11 Mar 2004 05:09:09 -0500 (EST) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1B1N7k-00050V-00 for 9fans@cse.psu.edu; Thu, 11 Mar 2004 11:09:08 +0100 Received: from [80.140.1.26] (helo=t3x.org) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1B1N7k-0004oh-00 for 9fans@cse.psu.edu; Thu, 11 Mar 2004 11:09:08 +0100 Received: (from nmh@localhost) by t3x.org (8.11.6/8.11.6) id i2B9pRt70522; Thu, 11 Mar 2004 10:51:27 +0100 (CET) To: 9fans@cse.psu.edu From: Nils M Holm Subject: Re: [9fans] Cannot access hosts outside of LAN In-Reply-To: <68fe98c7636dd9644dc035d696b1f866@proxima.alt.za> Message-ID: <2004031109450200-70412@Symmetry.UUCP> X-Mailer: NMail X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:5b68ff8df1d89a0a7485e040b6c88401 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 11 Mar 2004 10:45:02 +0100 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.1 required=5.0 tests=RCVD_IN_NJABL autolearn=no version=2.63 X-Spam-Level: On 2004-03-11, lucio@proxima.alt.za wrote: > You need to check that /net/iproute conatins a reasonable routing > table, amongst other possibilities. Note that the subnet width is in > bits for IPv6. > > No harm checking /net/ndb and /net/ipifc/0/local, either, for sanity. The routing table looks alright. If I read it correctly, the first entry should direct outbound packages to the IP gateway (10.0.0.10): 0.0.0.0 /96 10.0.0.10 4 none - 10.0.0.0 /120 10.0.0.0 4i ifc 0 10.0.0.0 /128 10.0.0.0 4b ifc - 10.0.0.90 /128 10.0.0.90 4u ifc 0 10.0.0.255 /128 10.0.0.255 4b ifc - 10.255.255.255 /128 10.255.255.255 4b ifc - 255.255.255.255 /128 255.255.255.255 4b ifc - /Net/ndb looks fine, too: ip=10.0.0.90 ipmask=/120 ipgw=10.0.0.10 sys=nine dom=nine.local > I use the "sys" name in the "ipgw" field for the network, but I'm not > sure if that matters. If have tried it, but it does not make a difference. What is /net/ipifc/0/local about? I cannot find it in the manual. Nils. -- Nils M Holm -- http://www.t3x.org/nmh/ --upas-pmgookwukbfffmcgksxcntqegt--