From owner-freebsd-net@FreeBSD.ORG Tue Mar 9 01:53:38 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4715F16A4CE for ; Tue, 9 Mar 2004 01:53:38 -0800 (PST) Received: from fro.boniholding.com (fro.boniholding.com [62.176.87.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 201DB43D49 for ; Tue, 9 Mar 2004 01:53:36 -0800 (PST) (envelope-from fro@fro.boniholding.com) Received: (qmail 23238 invoked by uid 1011); 9 Mar 2004 09:55:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Mar 2004 09:55:19 -0000 Date: Tue, 9 Mar 2004 11:55:19 +0200 (EET) From: Frrodo Baggins To: freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: One IP used on more than one interface (gif0 and lo0) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 09:53:38 -0000 Hi, What happens if we configure an alias on lo0: ifconfig lo0 alias 192.168.5.1 netmask 255.255.255.0 and then use the same IP on gif0: ifconfig gif0 create ifconfig gif0 tunnel x.x.x.x y.y.y.y ifconfig gif0 192.168.5.1 192.168.5.2 netmask 255.255.255.252 (or netmask 255.255.255.0 - same as that we use in the alias on lo0) In general, what happens if we have the same IP assigned on different interfaces? What this can this be useful for? Best regards, fro@boniholding.com