From owner-freebsd-questions Mon Apr 23 9:16: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id AE9B837B422 for ; Mon, 23 Apr 2001 09:16:06 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f3NHO9n23890; Mon, 23 Apr 2001 12:24:09 -0500 (CDT) (envelope-from nick@rogness.net) Date: Mon, 23 Apr 2001 12:24:09 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Daniel Mester Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd question In-Reply-To: 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 On Mon, 23 Apr 2001, Daniel Mester wrote: [snip] > > That's the problem. Because of the machines on 10.72.7.0 have > different default gateway - they are connected to loadbalancer. > So my problem is that for checking loadbalancer traffic comes > from my internal net - 10.72.6.0 - and for management of this > machines i need to come from different network (!10.72.6.0) - > because this way this machines will try to answer thru load > balanacer - and nothing will come out. So that's why i need > to manage this machines with different source ip. And it will > work if i could tell to natd use different ipaddress (not use > my "external interface ip" - 10.72.7.1 but rewrite it with > some other one 10.72.8.1 for example)... Natd option: alias_address 10.72.8.1 However, there is probably a better solution. I'm still trying to picture how yur network is hooked together...maybe a diagram would help and I could give you a detailed answer. So why not add a route in your load balancer: route add -net 10.72.6.0 10.72.7.1 -netmask 255.255.255.0 Or in ciscoian: ip route 10.72.6.0 255.255.255.0 10.72.7.1 I am making assumptions because I'm not sure how your net is layed out. Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message