From owner-freebsd-questions Tue Jun 5 15: 7:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id 6746237B403 for ; Tue, 5 Jun 2001 15:07:45 -0700 (PDT) (envelope-from dougy@bryden.apana.org.au) Received: from dougy ([192.168.0.6]) by bryden.apana.org.au (8.9.3/8.9.3) with SMTP id IAA36192 for ; Wed, 6 Jun 2001 08:06:07 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <005101c0ee0c$cf7a7060$0600a8c0@apana.org.au> From: "Doug Young" To: Subject: fairly tricky dual "default" gateway routing issue Date: Wed, 6 Jun 2001 08:13:54 +1000 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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'd appreciate exdpert comments on the following My current setup has two internet connections, a dialup modem one with fixed public IPs & an ADSL one with variable IPs. I have different gateway boxesusing ppp -nat for each connection ... modem side uses 192.168.0.1 internally & ADSL side uses 192.168.0.2 internally. In addition I have a remote dialin arrangement configured on the modem gateway & can probably make that work on the ADSL gateway without major problems Because of the fourth world phone / ADSL network & similar standard electricity supply in Australia, its essential to have everything automated as much as possible, consequently I have auto-dial on boot & ppp -ddial running on both links. I'd like to combine the two gateway functions into one machine. I think I've got the ppp.conf figured out I figure its only possible to have one "default" gateway, so how can one add the second route automatically on boot. For example if I add a line in /etc/rc.conf like "ifconfig_tun0="inet will that do the trick, or will ppp.conf be able to add the route without assistance ?? Will the system get confused with two different implementations of starting the ppp links in rc.conf ?? (one for modem & one for PPPoE) ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message