From owner-freebsd-questions@FreeBSD.ORG Sat May 7 21:26:06 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE5E41065737 for ; Sat, 7 May 2011 21:26:06 +0000 (UTC) (envelope-from p26a@yahoo.com) Received: from nm19-vm3.bullet.mail.ne1.yahoo.com (nm19-vm3.bullet.mail.ne1.yahoo.com [98.138.91.149]) by mx1.freebsd.org (Postfix) with SMTP id 87BE18FC16 for ; Sat, 7 May 2011 21:26:06 +0000 (UTC) Received: from [98.138.90.51] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 07 May 2011 21:12:23 -0000 Received: from [98.138.89.172] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 07 May 2011 21:12:23 -0000 Received: from [127.0.0.1] by omp1028.mail.ne1.yahoo.com with NNFMP; 07 May 2011 21:12:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 850586.70889.bm@omp1028.mail.ne1.yahoo.com Received: (qmail 15061 invoked by uid 60001); 7 May 2011 21:12:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1304802743; bh=Wp7gY/FRwCJDHjMi5JJ9q6lRGoFaVcotP1N6e5BYaas=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=26aUVe/dWA1AOecLmPmODSYRS5zgChO9DATmUFy5sqy/xRx6nxTnulm7iUH/TcoevVP5z7wni+B/QVYknDklBU3NbVIjLbUZk3HfGsWkrW/3esrmWum5d3WycpIzZXGuOkXUSXNWfxSf1brctG9SK3LktR0k2bt110YAMDDnop4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=CsyUkUgUG62KZyUNty8zfAPu5A7Mb9XvxvDvZFs0nGHOtPjhdzy50EFfd8TUnJL00fNsPbZW4OVMhjKcYzzqVEZd6l8XP2Y5d7HqZ8cqnllhAiqvZ4f7kSGxuqzTUlEVX9OBF2o3UFiAy+X9Iu2VIAL+D4y9/elOXHGUpBmdF68=; Message-ID: <214923.99033.qm@web111721.mail.gq1.yahoo.com> X-YMail-OSG: OGbvxaIVM1l_AODUSODM7L9.KmuO8rzZax94ecICwwWGT24 Wz15iBv7B.YfciWYJUUOpNrHNiiYVxLxMgZiX8TIsqz.9u8lRmyGPLuzbFcm kvNamaV31eFSC2MIZKomiNQQ7CGpWT6F4EJ7OVPRR8dFrCPnLF9HixZCSChB O3P17_jWnGh3XWE2BXbG24t5tcmYZ.VrHrtDEqZXt8WMtZ0Bq1gUi9fhBKtx PVMK_EsaWnsLLk4t0zKcvyNprFvi7M9wCyvTORF5sHNgq.RAksePkByDnRB5 2PC3oRX0NRUQcUa9PAFHaz01G17kSI.Lj71C.l4GNuzn9sDxg1Fsa57FhpOU XUwtnvAheNQAavAJrktB7MuMVfMjGyweJwcjtWLb.y2SmVUoxraGm4.1M4LT ShENzT8Lyg3ybV775AIRcKAX2K4yXnW9oUOsYsBFm6t3EJPZhCPRjm3n7J8S nzSe.q9O.kOEBQ0Pn2DR_OHVBCHn9O8fDvmpNA.JqiH4_1ilk884F4FcEcD8 jSXcDhDZNsa69pQqD3tGtrKX8FjubbgTjISQdrejmLFWB Received: from [216.252.76.11] by web111721.mail.gq1.yahoo.com via HTTP; Sat, 07 May 2011 14:12:23 PDT X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.111.303096 Date: Sat, 7 May 2011 14:12:23 -0700 (PDT) From: Arun To: =?iso-8859-1?Q?Erik_N=F8rgaard?= , Lokadamus In-Reply-To: <233081.27021.qm@web111723.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Link and network level in the tcp/ip stack X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2011 21:26:06 -0000 Correction - read NOT in line : "If your SRV node could NOT forward the pin= g reply then add a ..." Niether it is a problem of small subnet nor NIC card. The problem is of rou= ting entries. =A0 Just add default route at your=A0node 10.225.162.28, and make the default G= W for this route as =A0192.168.28.0/24 or the connected interface. Your SRV= node should pass it to its default gw 192.168.28.1 which should take care = of forwarding it to the destination RN. If your SRV node could NOT forward = the ping reply then add a specific route there like - "pkt comes from=A010.= 225.162.0 then forward it to 192.168.28.1. Thanks. ______________________________________________________________ Before printing, think about your ENVIRONMENTAL responsibility. --- On Sun, 5/8/11, Arun wrote: From: Arun Subject: Re: Link and network level in the tcp/ip stack To: "Erik N=F8rgaard" , "Lokadamus" Cc: questions@freebsd.org Received: Sunday, May 8, 2011, 2:00 AM Niether it is a problem of small subnet not NIC card. The problem is of rou= ting entries. =A0 Just add default route at your=A0node 10.225.162.28, and make the default G= W for this route as =A0192.168.28.0/24 or the connected interface. Your SRV= node should pass it to its default gw 192.168.28.1 which should take care = of forwarding it to the destination RN. If your SRV node could forward the = ping reply then add a specific route there like - "pkt comes from=A010.225.= 162.0 then forward it to 192.168.28.1. Thanks. ______________________________________________________________ Before printing, think about your ENVIRONMENTAL responsibility. =A0 =A0--- On Sun, 5/8/11, Lokadamus wrote: From: Lokadamus Subject: Re: Link and network level in the tcp/ip stack To: "Erik N=F8rgaard" Cc: questions@freebsd.org Received: Sunday, May 8, 2011, 12:22 AM Am 06.05.2011 23:17, schrieb Erik N=F8rgaard: > Hi: >=20 > This is a generic question about may, should and must: >=20 > I have the following setup: >=20 >=A0 =A0 192.168.28/24 >=A0 +---------------+ >=A0 |.196=A0 =A0 =A0 =A0=A0=A0|.1 > SRV=A0 =A0 =A0 =A0 GW--------- RN >=A0 |.28=A0 =A0 =A0 =A0=A0=A0|.1 >=A0 +---------------+ >=A0 =A0 10.225.162/24 >=20 > The server, SRV, has default gateway set to 192.168.28.1, no routing has = been configured for the 10.225.162/24 network. The gateway is a router, no = NAT or firewall. Yup, we do have this setup, don't ask why. >=20 > Now, the remote node RN pings the server on 192.168.28.196 fine, no probl= em. Then it pings 10.225.162.28 and get destination unreachable. >=20 > OK, so I did tcpdump first on the 10.225.162.28 interface, and saw icmp e= cho requests coming in, but no replies going out. Then I did tcpdump on the= other interface and got this: >=20 > 13:39:43.233419 arp who-has 192.168.28.1 tell 10.225.162.28 >=20 > obviously no reply, wrong network. >=20 Can your SRV (10.225.162.28) ping anything in 192.168.28? I don't think, because your SRV is looking for its gateway, but never get a= n answer from it. It's subnetmask is to small to reach another subnet. Put another network card in it with an ip of 192.168.28 and all will workin= g. Sorry for my bad english ;( > Thanks, Erik > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 _______________________________________________ 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= " _______________________________________________ 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= "