Date: Mon, 20 Jun 2011 19:00:55 -0500 From: Gary Gatten <Ggatten@waddell.com> Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: Re: Two Networks on one System Message-ID: <13151_1308614456_4DFFDF38_13151_3053_1_D9B37353831173459FDAA836D3B43499BF89C58C@WADPMBXV0.waddell.com> In-Reply-To: <BANLkTinZBRPy=oafWM03_36rT9eqY_ZoRw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I guess that is the question. Does if1 and if2 both need to talk to networ= kA via separate discrete paths? NetA to if1 =3D if1 to NetA; NetA to if2 = =3D if2 to NetA. If not, it's easy right? Several options. If so, perhaps not so easy - pf = or the like. ----- Original Message ----- From: Elliot Finley [mailto:efinley.lists@gmail.com] Sent: Monday, June 20, 2011 06:18 PM To: Jon Radel <jon@radel.com> Cc: freebsd-questions@freebsd.org <freebsd-questions@freebsd.org> Subject: Re: Two Networks on one System On Mon, Jun 20, 2011 at 4:58 PM, Jon Radel <jon@radel.com> wrote: > > 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." If it's two completely disjoint networks, the two networks don't use overlapping IP space and the IP space on at least one of the networks is known, then just use standard routing. put in static routes for the known space and a default route on the other interface for the unknown space. If the two networks are using overlapping space, then the only way to differentiate the packets are which interface they came in... then you'll have to use a PF hack. Elliot _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" <font size=3D"1"> <div style=3D'border:none;border-bottom:double windowtext 2.25pt;padding:0i= n 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13151_1308614456_4DFFDF38_13151_3053_1_D9B37353831173459FDAA836D3B43499BF89C58C>