From owner-freebsd-isp Sat Jun 17 1:47:54 2000 Delivered-To: freebsd-isp@freebsd.org Received: from comm.uni-svishtov.bg (ns.uni-svishtov.bg [193.68.172.1]) by hub.freebsd.org (Postfix) with ESMTP id 14F1137B67C for ; Sat, 17 Jun 2000 01:47:49 -0700 (PDT) (envelope-from vanko@uni-svishtov.bg) Received: from grinch.uni-svishtov.bg (root@grinch.uni-svishtov.bg [193.68.172.9]) by comm.uni-svishtov.bg (8.9.3/8.9.3) with ESMTP id IAA15019 for ; Sat, 17 Jun 2000 08:47:45 GMT Received: from vanko (vanko.uni-svishtov.bg [193.68.173.61]) by grinch.uni-svishtov.bg (8.9.3/8.9.1) with SMTP id LAA16694 for ; Sat, 17 Jun 2000 11:47:44 +0300 (EEST) Message-ID: <002601bfd839$0961c0c0$3dad44c1@unisvishtov.bg> From: "Ivan Minchev" To: Subject: Re: Routing with Freebsd Date: Sat, 17 Jun 2000 11:50:02 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I think that maybe this is your correct /etc/rc.conf : interfaces="ed0 ed2 lo0" ifconfig_ed0="inet 207.229.6.9 netmask 255.255.255.0" ifconfig_ed1="inet 192.168.1.45 netmask 255.255.225.0" defaultrouter="here.must.be.your.isp.default.router" gateway_enable="YES" natd_enable="YES" natd_interface="ed0" hostname="ua3.foo.com" Regards, BatVanko ;) > 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-isp" in the body of the message