From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 02:45:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 855281065674 for ; Tue, 28 Oct 2008 02:45:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC278FC1E for ; Tue, 28 Oct 2008 02:45:04 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id Y13g1a0010QkzPwA62l4zg; Tue, 28 Oct 2008 02:45:04 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id Y2l21a00G2P6wsM8N2l3WK; Tue, 28 Oct 2008 02:45:04 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=mvqpq4V3nldlhpZZ24YA:9 a=-2P7bRoZB4EP9zH8bzkA:7 a=R4198oRxL3G9BFiQGVq29r5VL8EA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CE9C5C9419; Mon, 27 Oct 2008 19:45:02 -0700 (PDT) Date: Mon, 27 Oct 2008 19:45:02 -0700 From: Jeremy Chadwick To: kalin m Message-ID: <20081028024502.GB37131@icarus.home.lan> References: <490676CC.2060101@el.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <490676CC.2060101@el.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions Subject: Re: almost OT os x 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: Tue, 28 Oct 2008 02:45:05 -0000 On Mon, Oct 27, 2008 at 10:19:56PM -0400, kalin m wrote: > this is a bit OT but since bsd and os x have enough in common in the > core some people here might have dealt with an os x server before.. > > ok. here is the problem. i have this os x server put on my lap to > administer and there are some really weired things happening. > > the machine has 2 inet interfaces - 2 cards. one of them - en0 (network > A) - is wired to 192.168.x.x and the other - en1 (network B) - has an > external ip which is not on the same subnet (network) the 192.168.x.x > belongs to. so far so good. > > theoretically the en1 (network B) card should be accessible through the > external ip no matter where you a coming from.... > > what happens is that if somebody on network A (of en0) tries to access > the machine via 192.168.x.x - it works. but if that somebody wants > access that machine via the external ip on network B (en1), like they > would access any other external IP - they can not. this is weired > because they can access any other machine on B . now me being on the > network B i can access the machine via the external IP which is also on > B, but, and this is the weirdest, i can not access it from outside > either A or B with that same IP (?!?). but i can access any other > machine on B from outside either subnet.... What you're describing sounds like a network loopback problem (at least this is what the Linux folks refer to it as). I would recommend you re-post this question to freebsd-net, as someone there can explain to you what's happening in detail, why it happens, and how to solve it effectively. Also, keep in mind that the "FreeBSD and OS X have enough in common" concept is a horrible one -- they do have some pieces in common, but OS X really *is* quite a different beast in numerous respects. Apple, sincerely and honestly, has tinkered with all sorts of pieces. Please keep that in mind. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |