Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2009 11:59:03 -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:  <4AB3AE47.1090403@ibctech.ca>
In-Reply-To: <25510716.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>	<4AB37F5D.50206@ibctech.ca> <25509501.post@talk.nabble.com>	<4AB397CF.2030809@ibctech.ca> <25510716.post@talk.nabble.com>

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

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

> - What is connected to the switch in your room?

> There is connected ISP cable from my home switch and 3 pc's

So, like this:

	  <down the street>
		|
		|
	   <home switch>-----------<neighbor>
		|
		|
	<cable from home switch,
	 that also goes to ISP>
		|
		|
	   <room switch>
		/|\	
	      /  |  \
	    /    |    \
	<pc>    <pc>  <pc>

> - what is connected to the switch in your home?

> I'm not sure, but i think there is connected a cable to my switch ( i plan:
> my gateway -> switch)
> And my neighbour (with private IP)

Since you already said that you could ping from your gateway to the
'ISP' router, I'll pretend I didn't hear that your neighbour has a
private IP whilst possibly on the same physical broadcast domain.

Now, this is what you want to do if I understand the situation correctly:

	  <down the street>
		|
		|
	   <home switch>-----------<neighbor>
		|
		|
	<cable from home switch,
	 that also goes to ISP>
		|
		|
	    x.x.88.20
	    <gateway>
	   192.168.1.2
		|
		|
	   <room switch>
		/|\	
	      /  |  \
	    /    |    \
	<pc>    <pc>  <pc>
192.168.1.5	.6	.7

To test, plug the gateway into the cable that comes from the home
switch. Do not plug anything else into the gateway. Now, while logged
into the gateway pc:

% ping x.x.88.20
% ping x.x.88.17
% ping 208.70.104.211

...if that works, you now know that the WAN side of your network is
working correctly. Now plug the room switch into the other NIC on the
gateway, and plug in ONE pc into the switch. Have a look to see if the
'received on wrong int' messages have gone away. If so, on the pc:

% ping 192.168.1.2

...if that works:

% ping x.x.88.20

...if that one does NOT work, post back to the list, and I'll help you
with a few commands to do, so we can see where things are dying, and try
to find out if this is a NAT problem or not. If it does work:

% ping x.x.88.17

...if that works, we now know that NAT is functional, and you can reach
the ISP gateway, and it knows how to get back to you.

% ping 208.70.104.211

...if that works, you are done :)

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
090918155903Z0#	*H
	1+6>8l0R	*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
`m9`Xg>o뿣*KN:ۯlvIx[IN=f!3Wڵ.:6Y#H{sC;z=PΐIM	\^|c=fO,A'fGSTWw#бvAr2+6	"8-?ot&y?P>p?2.i	xG0==Tzcdh41JyJ<ab̿yvl\

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