Date: Thu, 19 Oct 2000 09:29:47 +0200 (CEST) From: Maciek Musial <erryk@petex1.petex.bielsko.pl> To: freebsd-questions@freebsd.org Subject: changing the source address for packets Message-ID: <Pine.BSF.4.21.0010190927450.30180-100000@petex1.petex.bielsko.pl>
next in thread | raw e-mail | index | archive | help
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 <with source address from class in 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 <destination> via <router> src <source address> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010190927450.30180-100000>