From owner-freebsd-chat Wed Mar 13 13:58:39 2002 Delivered-To: freebsd-chat@freebsd.org Received: from pilchuck.reedmedia.net (pilchuck.reedmedia.net [209.166.74.74]) by hub.freebsd.org (Postfix) with ESMTP id BB64437B405 for ; Wed, 13 Mar 2002 13:58:35 -0800 (PST) Received: from reed by pilchuck.reedmedia.net with local-esmtp (Exim 3.12 #1 (Debian)) id 16lGlW-0007Ii-00; Wed, 13 Mar 2002 13:58:34 -0800 Date: Wed, 13 Mar 2002 13:58:34 -0800 (PST) From: "Jeremy C. Reed" To: freebsd-chat@freebsd.org Subject: ethernet interface listening to other interface's IP Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Should an ethernet interface listen to another interface's IPs? I've been told that all flavours of Unix work that way. I should do some tests, but I am interested in some comments. I was told (under Linux) that this server had two NIC cards configured with different IPs, but with one cable disconnected from one NIC card, the other interface still listened to the other's IP. I was told that you have to firewall so the packets will only be accepted on the correct interface. I think that that you shouldn't have to setup a firewall as a workaround: If your NIC card is configured for a particular IP and you want to stop it, then simply unplugging the ethernet cable should do it. (I do understand that many services listen to INADDR_ANY; but I am referring to the connection being listened to in the first place at the interface itself.) What is the correct behaviour and why? Jeremy C. Reed http://bsd.reedmedia.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message