From owner-freebsd-net@FreeBSD.ORG Mon Aug 29 07:26:21 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B62916A41F for ; Mon, 29 Aug 2005 07:26:21 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12BAD43D49 for ; Mon, 29 Aug 2005 07:26:19 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.12.11/8.12.11) with ESMTP id j7T7OPGY013526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Aug 2005 14:24:26 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.1/8.12.11) id j7T7PH6G052232; Mon, 29 Aug 2005 14:25:17 +0700 (ICT) Date: Mon, 29 Aug 2005 14:25:17 +0700 (ICT) Message-Id: <200508290725.j7T7PH6G052232@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-net@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Recompute Ethernet header in a bridge X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 07:26:21 -0000 Hi, I am bridging between 2 Eth interfaces. Inside that bridge, I do a packet redirection, so I end up with a different destination address/port in the IP packet, but the Eth frame keeps the same destination. How can i force the bridge to recompute the destination address of the Ethernat frame, to match the new IP destination address? Thanks in advace, Olivier