Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2011 18:58:47 -0400
From:      Jon Radel <jon@radel.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Two Networks on one System
Message-ID:  <4DFFD0A7.8010806@radel.com>
In-Reply-To: <27899_1308609017_4DFFC9F9_27899_767_1_D9B37353831173459FDAA836D3B43499BF89C588@WADPMBXV0.waddell.com>
References:  <201106202107.p5KL7PW0091851@x.it.okstate.edu>	<4DFFC61B.2080201@radel.com> <27899_1308609017_4DFFC9F9_27899_767_1_D9B37353831173459FDAA836D3B43499BF89C588@WADPMBXV0.waddell.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 6/20/11 6:30 PM, Gary Gatten wrote:

> I was kinda going this route as well - policy based routing type thing, but, is there an "easier" way?

Not that I know of given a constraint of completely disjoint networks. 
However, I won't be too terribly surprised if somebody comes up with 
something elegant that makes us all go, "Ooooooo, what a disgustingly 
neat hack."

>
> 1.) Temporarily enable ipforwarding - not my favorite
> 2.) Instead of a second NIC, bind the new IP to the org nic (alias).
>
> man ifconfig specifically mentions using alias during ip renumbering:

Yes, if you've got a single network and are renumbering it.  As I 
understand it, the OP has 2 networks, which is an entirely different 
matter.

--Jon Radel
jon@radel.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DFFD0A7.8010806>