From owner-freebsd-questions Fri Aug 14 22:42:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA20239 for freebsd-questions-outgoing; Fri, 14 Aug 1998 22:42:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from chickenbean.ais-gwd.com (chickenbean.com [205.160.97.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA20230 for ; Fri, 14 Aug 1998 22:42:03 -0700 (PDT) (envelope-from charlespeters@chickenbean.com) From: charlespeters@chickenbean.com Received: from ci1000971-c.sptnbrg1.sc.home.com (ci1000971-c.sptnbrg1.sc.home.com [24.4.113.32]) by chickenbean.ais-gwd.com (8.8.8/8.8.8) with SMTP id BAA20179 for ; Sat, 15 Aug 1998 01:49:29 -0400 (EDT) (envelope-from charlespeters@chickenbean.com) To: Subject: Cable modem gateway via freebsd 2.2.6 release for win95 client boxes Date: Sat, 15 Aug 1998 01:35:37 -0400 Message-ID: <000301bdc80e$887c8080$20710418@ci1000971-c.sptnbrg1.sc.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been trying for at least 20 hours to get a gateway configured so that my win95 boxes can access the internet through my freebsd 2.2.6 release box. The freebsd box has 2 network interface cards, vx0 is configured to access the internet, and de0 (ip=192.168.0.1)is configued to hopefully be a gateway device for the win95 boxes on my local network. I am able to ping the win95 boxes from the bsd box, and ping the bsd box (both ip addresses) from the win95 boxes. The win95 boxes have ip addresses in the form, 192.168.0.2, 192.168.0.3, 192.168.0.4, etc..... The default gateway setup in the win95 tcpip configuration is 192.168.0.1, which points to the nic in the bsd box. I am including the output from the netstat -rn, and the ifconfig -a commands below. I have read, re-read, configured, and tested netd, routed, and of coarse my rc.conf file. The examples in the handbook obviously are of no assistance to me, or I would have had this up and running two weeks ago. I think that I need help with the following: natd routed ipfw rc.conf any other stuff that needs to be setup. I'm terribly sorry to keep sending messages about the same topic, but I simply can not get this thing to work (although I have gotten ppp -ailases to work). Any assistance would be appreciated. Thanks Charles mailto:charles@chickenbean.com ci1000971-a# netstat -rn Internet: Destination Gateway Flags Refs Use Netif Expire default 24.4.113.1 UGSc 3 11 vx0 24.4.113/24 link#1 UC 0 0 24.4.113.1 8:0:3e:0:ab:a2 UHLW 2 0 vx0 224 24.4.113.32 0:c0:f0:30:c6:38 UHLW 1 134 vx0 1164 127.0.0.1 127.0.0.1 UH 0 2 lo0 192.168 link#2 UC 0 0 192.168.0.1 0:c0:f0:30:c6:49 UHLW 0 4 lo0 ci1000971-a# ifconfig -a vx0: flagsˆ43 mtu 1500 inet 24.4.113.113 netmask 0xffffff00 broadcast 24.4.113.255 ether 00:10:4b:d3:35:c8 de0: flagsˆ43 mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:c0:f0:30:c6:49 media: autoselect (10baseT/UTP) status: active lp0: flagsˆ10 mtu 1500 tun0: flags€10 mtu 1500 sl0: flagsÀ10 mtu 552 ppp0: flags€10 mtu 1500 lo0: flags€49 mtu 16384 inet 127.0.0.1 netmask 0xff000000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message