From owner-freebsd-questions Mon Jun 22 22:54:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02753 for freebsd-questions-outgoing; Mon, 22 Jun 1998 22:54:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ha1.rdc1.sdca.home.com (siteadm@ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02721; Mon, 22 Jun 1998 22:54:22 -0700 (PDT) (envelope-from kahn@home.com) Received: from ERIN.UNET.TM ([24.0.171.37]) by ha1.rdc1.sdca.home.com (Netscape Mail Server v2.02) with SMTP id AAA8311; Mon, 22 Jun 1998 22:45:52 -0700 Message-ID: <004201bd9e6a$73288800$4800a8c0@ERIN.UNET.TM> From: "Kahn" To: "Joe Schwartz" , , Subject: Re: routing issue Date: Mon, 22 Jun 1998 22:47:42 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You cannot route the class B of 192.168.xxx.xxx, However you can use natd to run as an invisable proxie. The only problem is if you use a program like ICQ on one of the clients, you will have to add in a socks 5 proxie to. Erin ---------------------------------------------------------------------------- ------------ We are Intel. Division is futile. You will be approximated. ---------------------------------------------------------------------------- ------------ -----Original Message----- From: Joe Schwartz To: freebsd-net@freebsd.org ; freebsd-questions@freebsd.org Date: Monday, June 22, 1998 7:15 AM Subject: routing issue > >Folks, > >I want to use a FreeBSD machine as an Internet host with 2 >ethernet cards. One card on an Internet subnet and the other >card to service the internal private network. > >I'm having trouble getting it to route between the 2 interfaces. > > >I have 3 machines setup for a test. > >machine a: >---------- >ifconfig -a >ep0: flags=8843 mtu 1500 > inet 207.8.11.165 netmask 0xfffffff8 broadcast 207.8.11.167 > ether 00:a0:24:11:c7:19 > > >machine b: >---------- >ifconfig -a >ep0: flags=8843 mtu 1500 > inet 207.8.11.166 netmask 0xfffffff8 broadcast 207.8.11.167 > ether 00:10:4b:29:aa:a7 >ep1: flags=8843 mtu 1500 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:10:4b:20:94:3a > >machine c: >---------- >ifconfig -a >ep0: flags=8843 mtu 1500 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:10:4b:29:ab:da > > > >machine a's default route is set to 207.8.11.166 >machine c's default route is set to 192.168.1.1 > >machine b has a route between the 2 interfaces by issuing: (but doesn't work) > >route add -net 192.168.1.0 207.8.11.166 0 > >machine b can ping machine a and c > >machine a can ping: >207.8.11.166 and 192.168.1.1 but not 192.168.1.2 > >machine c can ping: >192.168.1.1 and 207.8.11.166 but not 207.8.11.165 > >============================================================== > >In /etc/rc.conf I've got: > >gateway_enable="YES" >router_enable="YES" > >Machine b ISN'T routing between the 2 interfaces. Any suggestions? > ----- >I have several machines set up like this for clients working perfectly >under FreeBSD 2.1.x. > >Does FreeBSD 2.2.x expect a subtle difference somehow? Is my 'route add' >command incorrect? > >HELP!! >THANKS, > >Joe > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message