From owner-freebsd-questions Thu Oct 19 0:30: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from petex1.petex.bielsko.pl (pet.petex.bielsko.pl [195.164.188.19]) by hub.freebsd.org (Postfix) with ESMTP id 236C037B4D7 for ; Thu, 19 Oct 2000 00:30:01 -0700 (PDT) Received: from localhost (erryk@localhost) Date: Thu, 19 Oct 2000 09:29:47 +0200 (CEST) From: Maciek Musial To: freebsd-questions@freebsd.org Subject: changing the source address for packets Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello I've got the following problem: I have freeBSD server (4.0R) connected to CISCO 1700. The router is connected to two nets (let's call'em net1 & net2). I want to change the source address for packets going out from the server, depending of the destination address (default, every packet is going throught net1 , but packets with destination address from net2 are going throuth net2 with changed source address for one from class in net2). The router himself organize routing to bouth classes, so the change of source address will do so called "dynamic routing" I know, there is a command in linux, whitch make this, ip route add via src is something like this in FreeBSD ? Thanks for all sugestions or any informations Maciej Musial To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message