Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2012 22:22:15 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        =?ISO-8859-1?Q?Juan_Jos=E9_S=E1nchez_Mesa?= <juanjo.listas@doblej.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Multiroute question
Message-ID:  <505BF987.5020602@freebsd.org>
In-Reply-To: <505B2555.40704@doblej.net>
References:  <505B2555.40704@doblej.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/20/12 7:16 AM, Juan José Sánchez Mesa wrote:
> Hi!
>
> (sorry for my bad english)
>
> I have a FreeBSD machine (8.2-RELEASE-p3). The machine has two 
> ethernet cards, configured in this way:
>
> - Card A: internet IP address
> - Card B: intranet IP address
>
> Default route goes via card A.
>
> Now, on the intranet I have a "normal" DSL router. Then, using NAT 
> i've forewarded a simple port from the DSL to the intranet IP of 
> this machine.

I do not understand this line
please draw pictures :-)


internet ---DSL ----DLSROUTER------A[FreeBSD]B------inside net..

is this what you mean?

>
> The incoming packets from the DSL comes ok to the machine (via card 
> B), but the outgoing packet goes to card A, due to the default route.
>
> There is a way to configure the network so that outgoing packets 
> goes to the card from where the incoming packets was arrived ?
>
> Or is this impossible to configure ?
>
> Thanks!!!
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?505BF987.5020602>