From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 11 05:55:55 2003 Return-Path: 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 A158837B407 for ; Wed, 11 Jun 2003 05:55:55 -0700 (PDT) Received: from deadfrog.net (deadfrog.net [206.183.9.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id B948C43FA3 for ; Wed, 11 Jun 2003 05:55:54 -0700 (PDT) (envelope-from ryan@deadfrog.net) Received: from [192.168.1.10] ([192.168.1.10]) by deadfrog.net (8.11.6/8.11.6) with ESMTP id h5BCttd25284 for ; Wed, 11 Jun 2003 08:55:55 -0400 From: Ryan Wilkins To: freebsd-hackers@freebsd.org Content-Type: text/plain Organization: Deadfrog Networking Systems Message-Id: <1055336153.3963.26.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 11 Jun 2003 08:55:53 -0400 Content-Transfer-Encoding: 7bit Subject: Policy Routing / NAT Question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 12:55:56 -0000 Hello.. I'm setting up a TCP protocol testbed for testing various enhanced TCP stacks for use over high bandwidth, high latency links such as Satellite. Due to hardware limitations of the FreeBSD boxes we're using (1U rackmount), there are no expansion slots left for additional network cards. This forces me to have to run some traffic over one gateway and the rest of the traffic over another gateway, all through one ethernet. The problem I have is I need to change the source address of some packets based on destination address. I was able to accomplish this in Linux using Source NAT. I'm not real well versed in FreeBSD hence the reason I'm asking for any assistance here. Does anyone have an idea how to change the source address based on destination address? Thanks in advance for any help. Ryan Wilkins