From owner-freebsd-hackers Tue Aug 13 7:34: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A04D037B400 for ; Tue, 13 Aug 2002 07:34:02 -0700 (PDT) Received: from ns3.safety.net (ns3.safety.net [216.40.201.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C11143E42 for ; Tue, 13 Aug 2002 07:34:02 -0700 (PDT) (envelope-from les@ns3.safety.net) Received: (from les@localhost) by ns3.safety.net (8.10.2/8.10.2) id g7DEY1205125 for hackers@freebsd.org; Tue, 13 Aug 2002 07:34:01 -0700 From: Les Biffle Message-Id: <200208131434.g7DEY1205125@ns3.safety.net> Subject: IP routing question To: hackers@freebsd.org Date: Tue, 13 Aug 2002 07:34:01 -0700 (MST) X-Mailer: ELM [version 2.4ME+ PL94 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I want to do the following: 1. Create "n" IPSEC VPN tunnels 2. Create "n" VLAN pseudo interfaces 3. Route IP Packets based on their arrival iface/tunnel out through a corresponding tunnel/iface. For example, I want to route all packets received through VPN tunnel "2" out through VLAN "2," and all packets received on VLAN "2" out through VPN "2," without regard to source or destination IP Addresses. I don't want to examine the IP Addresses of any of the routed packets, but only want to make the routing decision based on arrival interface. Does anyone have any ideas or suggestions? Please? -Les -- Les Biffle (480) 585-4099 les@safety.net http://www.les.safety.net/ Network Safety Corp., 5831 E. Dynamite Blvd., Cave Creek, AZ 85331 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message