From owner-freebsd-questions Fri Feb 4 6:27:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.uunet.ca (mail1.uunet.ca [209.167.141.3]) by builder.freebsd.org (Postfix) with ESMTP id 7DC0B41B8 for ; Fri, 4 Feb 2000 06:27:10 -0800 (PST) Received: from transcon (cust176.tnt1.dial.wnd1.uunet.ca [142.77.183.176]) by mail1.uunet.ca with SMTP id <216479-23309>; Fri, 4 Feb 2000 09:27:04 -0500 Message-ID: <001a01bf6f1b$6d9bf240$a0b74d8e@wmptl.net> Reply-To: "Windsor Match Plate and Tool Ltd." From: "Windsor Match Plate and Tool Ltd." To: Subject: ppp -alias like routing for two NIC's ... Date: Fri, 4 Feb 2000 09:23:37 -0500 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 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We need a simple solution, as to how to perform a gateway function for internet access over an ISDN line. I am currently using ppp -auto -alias , (with gateway_enable=YES in /etc/rc.conf), to share a modem connection over an internal network in my home. We wish to build upon this concept, using two network cards; I need to route internet access to an internal network which does not physically exist on the internet over a static IP that does. What we have: -Cisco 1004 ISDN Router to 5port 10BT hub -E-Mail/Webserver connected to one IP via hub/router -Gateway-2-be server connected to another IP via hub/router -both machines running FreeBSD, (one 3.4, other migrating from 2.2.6->3.4) -both machines have internal network access on 10.0.0.255 -email/webserver has setup as DNS server for internal name resolving on 'fake' domain -ISP hosts DNS for a true domain on the other machine What we want to be able to do: -give selected internal machines, (either by specific IP, or by subnet), access to internet, similarily to the way in which ppp - alias works I have a limited understanding of how BGP routing works, but am unaware of how to implement a static route to 'non-existant' IP's. I am not opposed to using a proxy server, but would rather a gateway as we have not the traffic requirements to consider requiring any caching. I have some basic ideas of how to accomplish this, but would like to hear any suggestions anyone else may offer. Nathan Vidican Windsor Match Plate & Tool Ltd. unix_usr@fcmail.com / wmptl@mnsi.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message