From owner-freebsd-net@FreeBSD.ORG Sat Jun 28 15:02:00 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17BE31065679 for ; Sat, 28 Jun 2008 15:02:00 +0000 (UTC) (envelope-from sergv326@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.234]) by mx1.freebsd.org (Postfix) with ESMTP id 80B588FC13 for ; Sat, 28 Jun 2008 15:01:59 +0000 (UTC) (envelope-from sergv326@gmail.com) Received: by hu-out-0506.google.com with SMTP id 34so2365592hue.8 for ; Sat, 28 Jun 2008 08:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=pbGY9XBTU9OVA2jnKkEBRRUUndZYjO6GK75zC2pxmlk=; b=Sp31A905fDmj/MHZuf/FmH/5GDaVMnCPPMlcwrCjR/cbFZMiEC0wuHIRVO3W6qYU8x btpGL+UOfzo64oRZGc2XjDXutl7cDEAlWREKcIoCq0n6ZTfaphEKjdcFpUqTL/ru9A5s ixEKmvWSYu+oTv/ImHto6H+6jvvAaUvqREYo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Doy508j9yUHXnqqbCxsjg/FiP2IqyTygcbLbhDAlDgHgMGIYmkgzXbqHfPxi/YFYK1 AD50NiUzH3hirdVq5G6EjjM3PocuwN/uFTNaCdLCyzhuynqE/1OR5ziThmpJBNojFp6C pDLDa04uu3vo2t+TN5WbDa0RMyBtXOtMdySqU= Received: by 10.210.129.10 with SMTP id b10mr2278311ebd.78.1214664495481; Sat, 28 Jun 2008 07:48:15 -0700 (PDT) Received: by 10.210.104.9 with HTTP; Sat, 28 Jun 2008 07:48:15 -0700 (PDT) Message-ID: Date: Sat, 28 Jun 2008 18:48:15 +0400 From: "serg vasilyev" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: setfib with mpd - ifconfig on p-t-p link trouble X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 15:02:00 -0000 Hi ! there's must be a restriction in ifconfig or in kernel that preventing from adding a multiple p-t-p interface with same destination address. i'm trying to build a test system with setfib and multiple mpd instances which are creating PPPoE connection to same destination gateway and run into problem with second p-t-p interface. mpd did not add an IP and gateway for it setfib 1 mpd1 -p /tmp/mpd1.pid -f mpd1.conf sleep 2 setfib 2 mpd2 -p /tmp/mpd2.pid -f mpd2.conf on a first interface ng0 i have both src ip and dst ip but on second i have nothing # ifconfig ng0 ng0: flags=88d1 mtu 1492 inet x.x.x.x --> y.y.y.y netmask 0xffffffff # ifconfig ng1 ng1: flags=88d1 mtu 1492 when i try to add ip's personally # ifconfig ng1 z.z.z.z y.y.y.y ifconfig: ioctl (SIOCAIFADDR) File exist How to remove the given restriction on an ifconfig or kernel or something else P.S. Sorry for my english...