From owner-freebsd-questions Tue Mar 10 13:16:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA29122 for freebsd-questions-outgoing; Tue, 10 Mar 1998 13:16:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ammi.mclink.it (ammi.mclink.it [195.110.128.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28775 for ; Tue, 10 Mar 1998 13:15:14 -0800 (PST) (envelope-from masotti@mclink.it) Received: from IRIS (net130-069.mclink.it [195.110.130.69]) by ammi.mclink.it (8.8.5/8.6.12) with SMTP id WAA21039; Tue, 10 Mar 1998 22:14:40 +0100 (MET) Message-ID: <35058F77.41C6@mclink.it> Date: Tue, 10 Mar 1998 20:07:35 +0100 From: Marco Masotti X-Mailer: Mozilla 3.04Gold (X11; I; IRIX 6.3 IP32) MIME-Version: 1.0 To: Steve Hovey CC: questions@FreeBSD.ORG Subject: Re: Ping works in one direction only References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Hovey wrote: > > You need to give more details, like what the defaults are - what the class > Cs are - kind of spell it out. You are probably correct, that its the > routing > > On Tue, 10 Mar 1998, Marco Masotti wrote: > > > I've set up a FBSD 2.2.5-REL machine acting as a dial-up ppp router > > between two private networks. > > > > My problem is that I can ping in one direction only: I can ping from any > > host on Network A to any host on Network B, but I can't do the reverse, > > even between the same pair of machines that A-to-B works: there is no > > answer from the machine being ping'd the other way. > > > > I suspect a problem in the gateway path, but I can't figure what might > > be. Hello, here below the details: ------- ------- ------- | |IRIS-ppp0 dview-ppp0 | | | | | |-----++++++++++++-------| | | | | | | | | | ------- ------- ------- |IRIS dview | multipass | | | | |---------| |-----------------------------------------------------| IRIS-ppp0 180.1.1.2 dview-ppp0 180.1.1.1 IRIS 199.1.1.5 dview 196.1.129.176 multipass 196.1.129.160 All netmasks are default. Machines dview and IRIS have both forwarding enable. IRIS, dview and multipass don't run routed. All machines are FBSD 2.2.5-REL, except IRIS is Irix 6.3 multipass CAN ping to dview and to IRIS. IRIS CANNOT ping to multipass but it CAN ping to dview and to dview-ppp0. It happens that packets are not able to pass over dview-ppp0. Traceroute reveals that the packets stop at the dview-ppp0 interface. IRIS 9% netstat -r Routing tables Internet: Destination Gateway Netmask Flags Refs Use Interface localhost localhost UH 15 382 lo0 dview-ppp0 180.1.1.2 UH 0 358 ppp0 180.1.1.2 localhost UH 0 0 lo0 196.1.129 dview-ppp0 0xffffff00 UGS 3 1788 ppp0 199.1.1 IRIS 0xffffff00 U 2 52 ec0 IRIS localhost UGHS 0 0 lo0 224 IRIS 0xf0000000 U 2 75 ec0 dview# netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire localhost.mclink.i localhost.mclink.i UH 1 2 lo0 180.1.1.2 dview-ppp0 UH 4 1903 ppp0 192.168.100 maggiordomo-le1 UGSc 2 0 ep0 196.1.129 link#2 UC 0 0 maggiordomo-le1 8:0:20:20:e4:26 UHLW 5 12307 ep0 581 multipass 0:a0:c9:43:a1:17 UHLW 3 789 ep0 464 dview localhost.mclink.i UGHS 1 26 lo0 199.1.1 180.1.1.2 UGSc 0 10 ppp0 224/4 link#2 UCS 0 0 multipass# netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire localhost.my.domai localhost.my.domai UH 0 6 lo0 192.168.100 196.1.129.55 UGSc 0 547 fxp0 196.1.129 link#1 UC 0 0 196.1.129.55 link#1 UHLW 1 38 multipass 0:a0:c9:43:a1:17 UHLW 0 656 lo0 dview 0:20:af:1e:13:cc UHLW 2 1648 fxp0 931 199.1.1 dview UGSc 0 155 fxp0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message