From owner-freebsd-questions Sun Jan 13 8:57: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.panix.com (mail2.panix.com [166.84.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 9DBC737B41A for ; Sun, 13 Jan 2002 08:56:58 -0800 (PST) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail2.panix.com (Postfix) with ESMTP id 8D97A8EC7 for ; Sun, 13 Jan 2002 11:56:57 -0500 (EST) Received: (from stanb@localhost) by panix2.panix.com (8.11.3nb1/8.8.8/PanixN1.0) id g0DGuv807646 for freebsd-questions@freebsd.org; Sun, 13 Jan 2002 11:56:57 -0500 (EST) Message-Id: <200201131656.g0DGuv807646@panix2.panix.com> Subject: A routeing question To: freebsd-questions@freebsd.org (Free BSD Questions list) Date: Sun, 13 Jan 2002 11:56:57 -0500 (EST) From: "Stan Brown" X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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'm seting up a new FreeBSD machine (STABLE) it will be able to make a ppp onection to my work network. It will not be the default route off of my home lan. I intend to put a route like this. route add xxx.yyy. freebsd_machine In teh routing table of the machine that serves as the default router to allow it to send packets from all the machines on the lan to the FreeBSD machine, which will then bring up the ppp link to work. Here's the routing table from the FreeBSD machine. Destination Gateway Flags Refs Use Netif Expire default 205.159.77.234 UGSc 0 0 ed0 127.0.0.1 127.0.0.1 UH 1 38 lo0 xxx.yyy 170.85.107.1 UGSc 1 60 tun0 xxx.yyy.107/25 170.85.107.14 UGSc 1 0 tun0 xxx.yyy.107.14 170.85.107.109 UH 1 0 tun0 205.159.77 link#1 UC 7 0 ed0 205.159.77.224 0:50:ba:52:69:f1 UHLW 2 2 lo0 205.159.77.227 0:e0:98:4:28:c UHLW 0 0 ed0 1083 205.159.77.234 0:20:af:26:a2:4a UHLW 1 126 ed0 588 205.159.77.236 8:0:9:78:ea:56 UHLW 3 20 ed0 888 205.159.77.237 0:50:ba:52:ac:d UHLW 1 86 ed0 1131 205.159.77.240 8:0:9:11:e5:a UHLW 2 649 ed0 1149 205.159.77.255 ff:ff:ff:ff:ff:ff UHLWb 1 5 ed0 When I try to ping a machine atw work from the default router machien, packets get sent to the FreeBSD machine, but seem to get lost there. What am I doing wrong? Oh yes, I have gateway_eneable set to yes in /etc/rc.conf -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message