From owner-freebsd-questions Wed Sep 25 10:01:52 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA05679 for questions-outgoing; Wed, 25 Sep 1996 10:01:52 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA05601 for ; Wed, 25 Sep 1996 10:01:38 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id KAA07893 for ; Wed, 25 Sep 1996 10:00:49 -0700 (PDT) Received: from cicese.cicese.mx by agora.rdrop.com with smtp (Smail3.1.29.1 #17) id m0v5xJx-0008zJC; Wed, 25 Sep 96 10:00 PDT Received: from knuth (knuth.cicese.mx) by cicese.cicese.mx (4.1/SMI-4.1) id AA09671; Wed, 25 Sep 96 09:56:32 PDT Message-Id: <32496422.3029@cicese.mx> Date: Wed, 25 Sep 1996 09:56:02 -0700 From: Raymundo Vega Aguilar Organization: CICESE X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.4 sun4c) Mime-Version: 1.0 To: Wes Santee Cc: questions@FreeBSD.org Subject: Re: (Hopefully) A simple routing question References: <199609221218.FAA00931@bogon.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Wes Santee wrote: > > Hopefully for most of you this will be an easy routing question. I don't > know why it's got me stumped, but it does. Heres the situation: > > +------+ +------+ > Internet <---> | ppp0 | | | > | ix0 | <-H-> | ix0 | > +------+ +------+ > Box A Box B > > In the simple diagram above, BoxA serves as the link to the outside world > via interface ppp0. BoxA and BoxB are connected via a hub by a couple > ix0 interfaces. > > The situation is this, BoxB:ix0 can see BoxA:ix0, and can even see the > Internet (when net.inet.ip.forwarding=1 on BoxA). But, it cannot see > interface BoxA:ppp0. BoxA:ppp0, BoxA:ix0, and BoxB:ix0 are all part of > the same network, ip address wise (x.y.z.49, x.y.z.50, and x.y.z.51 > respectively). > > Here's BoxA's routing table: > Destination Gateway Flags Refs Use Netif Expire > default joplin.aa.net UGSc 57 36 ppp0 > localhost localhost UH 2 271 lo0 > ws2 0:aa:0:3a:85:7a UHLW 0 22 lo0 > ws3 0:aa:0:17:39:cb UHLW 4 156100 ix0 682 > > And here's BoxB's: > Destination Gateway Flags Refs Use Netif Expire > default ws2 UGSc 2 5 ix0 > localhost localhost UH 0 116 lo0 > 204.137.132.48/28 link#2 UC 0 0 > ws2 0:aa:0:3a:85:7a UHLW 7 179533 ix0 1195 > ws3 0:aa:0:17:39:cb UHLW 0 4 lo0 > > Given this information, it seems that I somehow need to tell BoxA:ix0 to > pass all the packets it doesn't know what to do with to BoxA:ppp0. I > can't, however, figure out what route line does it. Everything I've > tried has either destroyed the arp mapping of the ethernet interfaces, or > just plain not worked. > > Any pointers appreciated. This one seems like it should be easy. > > Cheers, > -- > ( -Wes Santee Homepageless - and proud ) > ( PGP: email w/Subject: "Send PGP Key" Powered by FreeBSD ) What's the configuration for your network cards?? (give ifconfig -a on both computers). Raymundo.