From owner-freebsd-questions@FreeBSD.ORG Sat Feb 3 23:47:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6344716A405 for ; Sat, 3 Feb 2007 23:47:30 +0000 (UTC) (envelope-from grzegorz.pluta@segi.pl) Received: from mail.segi.pl (mail.segi.pl [89.171.92.150]) by mx1.freebsd.org (Postfix) with ESMTP id A33A113C4A5 for ; Sat, 3 Feb 2007 23:47:29 +0000 (UTC) (envelope-from grzegorz.pluta@segi.pl) X-Spam-Status: No, hits=0.0 required=4.5 tests=AWL: 0.077,BAYES_00: -1.665,TOTAL_SCORE: -1.588 X-Spam-Level: Received: from gregslap ([217.17.37.3]) (authenticated user grzegorz.pluta@segi.pl) by mail.segi.pl for freebsd-questions@freebsd.org; Sun, 4 Feb 2007 00:47:26 +0100 From: "Grzegorz Pluta" To: Date: Sun, 4 Feb 2007 00:47:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: Thread-Index: AcdH0tcM3FW4RclKSNm4HfSzS42EmQAGZg4g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Message-Id: <20070203234729.A33A113C4A5@mx1.freebsd.org> Subject: RE: Routed and netmask... 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, 03 Feb 2007 23:47:30 -0000 If eee.eee.eee.0/26 is a separate network (wich i guess it is) there needs to be a routing device there too. How can a packet find its way to the internet? The router sees only eee.eee.eee.o network on its port (not mentioning the iii.iii.iii.0 network from wich the packet travels) It is also possible that im missing something. Your network visualization is kinda weird... The top interface address is wrong. It cant be eee.eee.eee.11 with /26 mask. The lowest address with this mask is 193. What actually is this eee network? How did you connect your eee network to the internet? For me it makes little sense... Sorry if im wrong. Please explain more! Cheers, greg > Hi, > > I'm using "FreeBSD 6.2 Stable" with routed to connect > networks(gateway).... > > > THE INTERNET > | > | > -------------------------------- > | eee.eee.eee.0/26 | > -------------------------------- > | > | > eee.eee.eee.11/26 > ROUTER > iii.iii.iii.1 > | > | > -------------------- > | iii.iii.iii.0/24 | "My Network" > -------------------- > > > The problem... > > The system is routing, but only to iii.iii.iii.0/26 . > > Look... my rc.conf > > ifconfig_em0="inet iii.iii.iii.1 netmask 255.255.255.0" > ifconfig_sk0="inet eee.eee.eee.11 netmask 255.255.255.192" > > defaultrouter="eee.eee.eee.1" > router_enable="YES" > router_flags="-s" > gateway_enable="YES" > router="/sbin/routed"