From owner-freebsd-questions@FreeBSD.ORG Mon May 20 20:14:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E76A388A for ; Mon, 20 May 2013 20:14:17 +0000 (UTC) (envelope-from andre@drenet.net) Received: from nqhost.drenet.net (nqhost.drenet.net [184.95.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id D25B61B46 for ; Mon, 20 May 2013 20:14:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nqhost.drenet.net (Postfix) with ESMTP id F0CD422842 for ; Mon, 20 May 2013 16:07:50 -0400 (EDT) Received: from nqhost.drenet.net ([127.0.0.1]) by localhost (nqhost.drenet.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 75423-08 for ; Mon, 20 May 2013 16:07:50 -0400 (EDT) Received: by nqhost.drenet.net (Postfix, from userid 80) id B139722841; Mon, 20 May 2013 16:07:50 -0400 (EDT) To: freebsd-questions@freebsd.org Subject: Re: route problem X-PHP-Originating-Script: 0:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 20 May 2013 16:07:50 -0400 From: Andre Goree In-Reply-To: <519A8074.7070107@fuckaround.org> References: <519A8074.7070107@fuckaround.org> Message-ID: X-Sender: andre@drenet.net User-Agent: Roundcube Webmail/0.9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:14:18 -0000 On 2013-05-20 3:58 pm, Pol Hallen wrote: > Hi folks! On my lan I've: > > server1 > > re0 - 192.168.1.250 > xl0 - 192.168.2.250 > > default 192.168.1.212 UGS 0 189 re0 > 127.0.0.1 link#8 UH 0 18 lo0 > 192.168.1.0/24 link#1 U 0 6145 re0 > 192.168.1.250 link#1 UHS 0 0 lo0 > 192.168.2.0/24 link#7 U 0 2282 xl0 > 192.168.2.250 link#7 UHS 0 0 lo0 > > and gateway_enable="YES" > > from server1 I can ping whole lan: 192.168.1.0/24, 192.168.2.0/24 > > from server2 > > re0 - 192.168.2.52 > > Destination Gateway Flags Refs Use Netif > Expire > default 192.168.2.250 UGS 0 8450 fxp0 > 127.0.0.1 link#8 UH 0 0 lo0 > 192.168.2.52 link#6 UHS 0 0 lo0 > > I can ping 192.168.2.0/24 and ONLY 192.168.1.250. > > I need ping 192.168.1.0/24 lan but I can only see 192.168.1.250 > > any idea? > > thanks! > > Pol I'm pretty sure you need a route on "server2" to 192.168.1.0/24. Try: route add 192.168.1.0/24 192.168.2.250 -- Andre Goree -=-=-=-=-=- Email - andre@drenet.net Website - http://blog.drenet.net PGP key - http://www.drenet.net/0x83ADAAAB.asc -=-=-=-=-=-