Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 12:24:09 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        Daniel Mester <DanielM@EverAd.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: natd question
Message-ID:  <Pine.BSF.4.21.0104231214260.23484-100000@cody.jharris.com>
In-Reply-To: <ED917D1F7E5D96439A2822CE966C2CB9074581@ilexc01.everad.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nick@rogness.net>
 - 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104231214260.23484-100000>