From owner-freebsd-questions Sat May 23 20:44:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA28990 for freebsd-questions-outgoing; Sat, 23 May 1998 20:44:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA28979 for ; Sat, 23 May 1998 20:44:13 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id NAA01085; Sun, 24 May 1998 13:13:54 +0930 (CST) (envelope-from grog) Message-ID: <19980524131354.E353@freebie.lemis.com> Date: Sun, 24 May 1998 13:13:54 +0930 From: Greg Lehey To: Brad Tucker Cc: FreeBSD Questions Subject: Re: your mail References: <19980524125741.C353@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Brad Tucker on Sat, May 23, 1998 at 08:34:18PM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please don't remove the context. I need to dig it out again to remember what this is all about... On Sat, 23 May 1998 at 20:34:18 -0700, Brad Tucker wrote: >>>> On Sat, 23 May 1998 at 18:55:00 -0700, Brad Tucker wrote: >>>>> I have a freebsd box at home, and a win 95 box. I have ethernet cards on >>>>> both boxes. In the freebsd box I have a modem. I would like to use the >>>>> freebsd box as a gateway for the win95 box. I tried setting the >>>>> geteway=yes in rc.conf. this didnt seem to work. When i try to ping >>>>> somewhere thats not at home from the win95 box I get "Request Timed Out." >>>>> Do I need to set the freebsd box to be a router?? Is there an easy way to >>>>> tell the freebsd box to take any requests from the device ed0 and give >>>>> them to the devices tun0? Will someone please push me into the right >>>>> direction. >>>> >>>> It looks like you've done the right thing on the FreeBSD box. Have >>>> you told the Microsoft box that the FreeBSD box is the gateway? If >>>> so, you should try using tcpdump to see what the Microsoft box is >>>> doing, and if the packets go out over the ppp line. >>> >>> allright, >>> microsoft knows the freebsd box is the gateway. I did a tcpdump, and I >>> got was arp whereis destination ..... and nothing went back to the win 95 >>> box. I also did a tcpdump on tun0, and there was nothing there. No >>> packets go out of the tun0 device. Any other ideas? Should I add a route >>> add line, or a arp comand??? >> >> Are you sure your ethernet is configured at the FreeBSD end? Can you >> ping in either direction? > > I can ping the freebsd box to win95 box, and vise versa. There's something funny here. Are you sure the IP addresses are correct? If tcpdump shows arp not answering when you try to send something via the gateway, it should show it when you try to ping. If it still doesn't work, please save the tcpdump output to a file and post it. And copy -questions, please. Other people have these problems too, and they would be interested in seeing the results. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message