From owner-freebsd-questions@FreeBSD.ORG Sat Jul 12 14:40:43 2003 Return-Path: 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 8D0FC37B401 for ; Sat, 12 Jul 2003 14:40:43 -0700 (PDT) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4188B43FAF for ; Sat, 12 Jul 2003 14:40:42 -0700 (PDT) (envelope-from bruce@cran.org.uk) Received: from buffy.brucec.backnet ([82.41.200.71]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5329); Sat, 12 Jul 2003 22:40:40 +0100 Received: from buffy.brucec.backnet (localhost.brucec.backnet [127.0.0.1]) by buffy.brucec.backnet (8.12.9/8.12.9) with ESMTP id h6CLeeam010505 for ; Sat, 12 Jul 2003 22:40:40 +0100 (BST) (envelope-from bruce@buffy.brucec.backnet) Received: (from bruce@localhost) by buffy.brucec.backnet (8.12.9/8.12.9/Submit) id h6CLeeDs010504 for questions@freebsd.org; Sat, 12 Jul 2003 22:40:40 +0100 (BST) Date: Sat, 12 Jul 2003 22:40:39 +0100 From: Bruce Cran To: questions@freebsd.org Message-ID: <20030712214039.GA10367@buffy.brucec.backnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-OriginalArrivalTime: 12 Jul 2003 21:40:40.0395 (UTC) FILETIME=[3D2E81B0:01C348BE] Subject: Multiple interfaces with same ip address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 21:40:43 -0000 I've read that having the same ip/netmask assigned to multiple NICs isn't supported in FreeBSD, due to problems with routing. I have a setup where I'd like to have rl0, wi0, tun0 and tun1 having the same ip on a /29 subnet, is there some way of achieving this? I've heard about interface aliasing, but that doesn't seem to solve the problem, since it's assigning multiple ips to one interface. I've got it working at the moment, but am wondering if there's a better way of configuring the system. One problem I'm having is I'm running routed across the interfaces, and it looks as though it doesn't like the same ip assigned to multiple interfaces - I get IP_ADD_MEMBERSHIP ALLHOSTS: Can't assign requested address setsockopt(IP_ADD_MEMBERSHIP RIP): Can't assign requested address these appear benign, since RIP does seem to work, but I got a similar message when running the zebra routing daemon, which proved fatal. I'd welcome any hints or advice people might have about how I should be configuring the interfaces and routing. -- Bruce Cran