From owner-freebsd-questions Wed Jun 14 9:59:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ua7.cnnet.com (cnnetcafe.com [207.229.6.8]) by hub.freebsd.org (Postfix) with SMTP id E40F537C2C6 for ; Wed, 14 Jun 2000 09:59:16 -0700 (PDT) (envelope-from cnnet@cnnet.com) Received: from [207.229.6.12] by ua7.cnnet.com (NTMail 3.03.0018/1.aikr) with ESMTP id ra454861 for ; Wed, 14 Jun 2000 10:54:51 -0600 Message-Id: <4.3.2.7.2.20000614105606.00b0ebf0@cnnet.com> X-Sender: cnnet@cnnet.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 14 Jun 2000 10:56:25 -0600 To: freebsd-questions@FreeBSD.ORG From: CNNet Subject: Routing with Freebsd Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi could someone help me with a routing problem. I have to network cards in a freebsd 4 machine this is my rc.conf file: # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # -- sysinstall generated deltas -- # gateway_enable="YES" network_interfaces="ed0 lo0" ifconfig_ed0="inet 207.229.6.9 netmask 255.255.255.0" defaultrouter="207.229.6.9" hostname="ua3.foo.com" ifconfig_ed2="inet 192.168.1.45 netmask 255.255.255.0" network_interfaces="ed2 ed0 lo0" defaultrouter="207.229.6.9" hostname="private.foo.com" router_enable="YES" What am I doing wrong, i have a internal network that will point to 192.168.1.45 as there gateway. The gateway to the 207.299.6.9 class is 207.229.6.1 Basicall all internal ips will go to this machine and this machine lets them out on the internet Thanks in advance email address is cnnet@cnnet.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message