From owner-freebsd-questions@FreeBSD.ORG Tue May 21 07:38:50 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 403B3B86 for ; Tue, 21 May 2013 07:38:50 +0000 (UTC) (envelope-from Ivailo.Tanusheff@skrill.com) Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe004.messaging.microsoft.com [207.46.163.27]) by mx1.freebsd.org (Postfix) with ESMTP id 08D227BB for ; Tue, 21 May 2013 07:38:49 +0000 (UTC) Received: from mail102-co9-R.bigfish.com (10.236.132.232) by CO9EHSOBE010.bigfish.com (10.236.130.73) with Microsoft SMTP Server id 14.1.225.23; Tue, 21 May 2013 07:23:35 +0000 Received: from mail102-co9 (localhost [127.0.0.1]) by mail102-co9-R.bigfish.com (Postfix) with ESMTP id C06973408AF; Tue, 21 May 2013 07:23:35 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.249.213; KIP:(null); UIP:(null); IPV:NLI; H:AM2PRD0710HT004.eurprd07.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: PS0(z569dh2b68kz9371I103dK542Izz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz17326ah8275dhz2fh2a8h668h839h944hd24hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1d07h1d0ch1d2eh1d3fh9a9j1155h) Received-SPF: pass (mail102-co9: domain of skrill.com designates 157.56.249.213 as permitted sender) client-ip=157.56.249.213; envelope-from=Ivailo.Tanusheff@skrill.com; helo=AM2PRD0710HT004.eurprd07.prod.outlook.com ; .outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:SKI; SFS:; DIR:OUT; SFP:; SCL:-1; SRVR:DB3PR07MB057; H:DB3PR07MB059.eurprd07.prod.outlook.com; LANG:en; Received: from mail102-co9 (localhost.localdomain [127.0.0.1]) by mail102-co9 (MessageSwitch) id 1369121013755035_5001; Tue, 21 May 2013 07:23:33 +0000 (UTC) Received: from CO9EHSMHS018.bigfish.com (unknown [10.236.132.227]) by mail102-co9.bigfish.com (Postfix) with ESMTP id ACA313C0064; Tue, 21 May 2013 07:23:33 +0000 (UTC) Received: from AM2PRD0710HT004.eurprd07.prod.outlook.com (157.56.249.213) by CO9EHSMHS018.bigfish.com (10.236.130.28) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 21 May 2013 07:23:33 +0000 Received: from DB3PR07MB057.eurprd07.prod.outlook.com (10.242.137.144) by AM2PRD0710HT004.eurprd07.prod.outlook.com (10.255.165.39) with Microsoft SMTP Server (TLS) id 14.16.311.1; Tue, 21 May 2013 07:23:23 +0000 Received: from DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149) by DB3PR07MB057.eurprd07.prod.outlook.com (10.242.137.144) with Microsoft SMTP Server (TLS) id 15.0.698.13; Tue, 21 May 2013 07:23:22 +0000 Received: from DB3PR07MB059.eurprd07.prod.outlook.com ([169.254.2.144]) by DB3PR07MB059.eurprd07.prod.outlook.com ([169.254.2.144]) with mapi id 15.00.0698.010; Tue, 21 May 2013 07:23:21 +0000 From: Ivailo Tanusheff To: Pol Hallen , FreeBSD Questions Subject: RE: route problem Thread-Topic: route problem Thread-Index: AQHOVZSHBPXmdwL2uUG7xS/y+6PU7pkPOzqQ Date: Tue, 21 May 2013 07:23:20 +0000 Message-ID: <9f1cbf47bf4a4ba8b8f9908f9f81e734@DB3PR07MB059.eurprd07.prod.outlook.com> References: <519A8074.7070107@fuckaround.org> In-Reply-To: <519A8074.7070107@fuckaround.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.18.249.148] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: skrill.com 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: Tue, 21 May 2013 07:38:50 -0000 Hi, Hope you have rebooted after enabling the gateway, but you can check this w= ith " sysctl net.inet.ip.forwarding " :) So far from the server side it looks OK for me, but what are you pinging ac= tually? How is done the configuration of the target device? This sounds like a pure routing problem, as you do not use NAT, then the de= vices in the 192.168.1.0/24 should know where to find your server. The basic ideas are: 1. Make 192.168.1.250 default gateway for the devices in 192.168.1.0/24 or 2. route add -net 192.168.2 gw 192.168.1.250 (syntax depends on the OS) Also check if the device you ping accepts pings - many devices denies this = by default, also Windows 7/2008 and later has firewall enabled which do not= permits pings. Best regards, Ivailo Tanusheff -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Pol Hallen Sent: Monday, May 20, 2013 10:59 PM To: FreeBSD Questions Subject: route problem 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=3D"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 _______________________________________________ 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= "