From owner-freebsd-questions@FreeBSD.ORG Thu Jun 23 23:43:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F18C016A41C for ; Thu, 23 Jun 2005 23:43:09 +0000 (GMT) (envelope-from ulfma629@student.liu.se) Received: from xanadu.unit.liu.se (xanadu.unit.liu.se [130.236.230.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABD8743D1F for ; Thu, 23 Jun 2005 23:43:09 +0000 (GMT) (envelope-from ulfma629@student.liu.se) Received: by xanadu.unit.liu.se (Postfix, from userid 102) id C8E9B4D63C; Fri, 24 Jun 2005 01:43:07 +0200 (MEST) Received: from liu.se (avalon.unit.liu.se [130.236.230.138]) by xanadu.unit.liu.se (Postfix) with ESMTP id 9B46D4D5EB for ; Fri, 24 Jun 2005 01:43:05 +0200 (MEST) Received: from [81.94.82.239] by qom.unit.liu.se (mshttpd); Fri, 24 Jun 2005 01:43:05 +0200 From: Ulf Magnusson To: freebsd-questions@freebsd.org Message-ID: <5591e955475b.55475b5591e9@liu.se> Date: Fri, 24 Jun 2005 01:43:05 +0200 X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.05 (built Mar 3 2005) MIME-Version: 1.0 Content-Language: en X-Accept-Language: en Priority: normal Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4-liu_20050621_1634 (2005-06-05) on themis.unit.liu.se X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FROM_ENDS_IN_NUMS, LIU_FROM_MATCHES_LIUSTUDENT autolearn=disabled version=3.0.4-liu_20050621_1634 Subject: NAT router confusion 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: Thu, 23 Jun 2005 23:43:10 -0000 I connect to the Internet through a NAT router serving two hosts, both with addresses on the same local network (192.168.0\24). How does this work? Can hosts connected to different router interfaces really be on the same network (provided the router is in the only path between the two systems)? What about broadcast messages on the network, aren't those blocked by routers? Does the router make an exception when it sees that the broadcast is for a network it is connected to through multiple interfaces (I noticed that only UDP packets sent to the network broadcast address, 192.168.0.255, propagate to all hosts, while packets sent to 255.255.255.255 don't)? Is this router really some switch/router hybrid? Or..? Bleh, someone please sort this out for me. I realize this isn't strictly FreeBSD-related, but I simply couldn't think of a better place to pick brains, so I hope I'll be excused :) Ulf