Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2009 11:26:13 -0400
From:      Steve Bertrand <steve@ibctech.ca>
To:        Freeco <freeco@inbox.lv>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPF, NAT or NIC
Message-ID:  <4AB3A695.60409@ibctech.ca>
In-Reply-To: <25510433.post@talk.nabble.com>
References:  <25491958.post@talk.nabble.com>	<20090917174950.GC34712@ei.bzerk.org>	<25504647.post@talk.nabble.com>	<200909180815.n8I8FpFS045063@banyan.cs.ait.ac.th>	<25507235.post@talk.nabble.com> <4AB37AE0.2070409@ibctech.ca>	<25508442.post@talk.nabble.com> <4AB39479.8090205@ibctech.ca> <25510433.post@talk.nabble.com>

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

[-- Attachment #1 --]
Freeco wrote:

> Steve wrote:
> In the diagram above, you need two NICs in the gateway. One goes to the
> ISP, and the other 192.168.1.2 goes to the switch. The rest of the
> computers also plug into the switch. If all of the devices have
> 192.168.1.x, they are all in the same subnet.
> 
> If the 2 pc's will be connected to gateway directly and another one with the
> switch, then all 3 pc's won't be in one subnet. Right?

That is right. Knowing that you aren't bridging on the gateway, if you
connect two pc's directly to the gateway, and another to the gateway
through a switch, they will all need different prefixes (they'll be in
different subnets):

192.168.1.x
192.168.2.x
192.168.3.x
etc.

In this case, you WILL need at least four NICs in the gateway, and you
will need at least three different NAT configurations.

I'm at a loss of what you are trying to do, primarily because I now
envision a scenario where you have multiple switches with cables going
everywhere (possibly back to one another), and have no idea what your
physical layout truly is.

You need to answer the questions in my other message before I can even
begin to comprehend what your setup is.

Steve

[-- Attachment #2 --]
0	*H
010	+0	*H
00CK9AbxIUw0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10	*H
	steve@ibctech.ca0"0
	*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|tݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(GC^K6XV4j<t-0+0U0steve@ibctech.ca0U00
	*H
æ|85aQz-*3HG		.s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1n00CK9AbxIUw0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10	*H
	steve@ibctech.ca0"0
	*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|tݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(GC^K6XV4j<t-0+0U0steve@ibctech.ca0U00
	*H
æ|85aQz-*3HG		.s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1n0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0	+0	*H
	1	*H
0	*H
	1
090918152613Z0#	*H
	1ɵ$#1-5#00R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0
	*H

dKĵ
_ˎ|qoRSQjxE>@r/v+۫|g8`v`s?!F1M%:HsF9h7DZҍXu;^l]dxj:/fY}?p5E;Vu
s*EPCfE?G}Hbe\Jmyi &M?$ [`<̇Yc{Ks<e#Lxᖇ@ᚚWՑCa&jlhq0}E3

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