From owner-freebsd-net@freebsd.org Fri Jun 16 20:07:15 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02EEBD87F80 for ; Fri, 16 Jun 2017 20:07:15 +0000 (UTC) (envelope-from Steven@stream-technologies.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0044.outbound.protection.outlook.com [104.47.0.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 269FD6AA85; Fri, 16 Jun 2017 20:07:13 +0000 (UTC) (envelope-from Steven@stream-technologies.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamtechnologiesuk.onmicrosoft.com; s=selector1-streamtechnologies-com01e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BAfKtHuMUB223x689iYf4J2TWmKmXhpMb852t+ZMFrI=; b=BOGygW6fKuq7FESBf6X+m5sh5vy2zEHHGvnIByoroDsp1CxzGWC2xpKRQ93QHX8ZfunJ1uq/V8+VFqsr4UUMj3Ax1Pf4/VdZNqalOmoJri8wx85zlLfgiQAaNNRxFdP5V+enwIedIVFafX4qDU0MNfPwwMdu+r+3CMs6TfMHpbM= Received: from DB6PR07MB3111.eurprd07.prod.outlook.com (10.170.223.158) by DB6PR07MB3445.eurprd07.prod.outlook.com (10.175.234.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.6; Fri, 16 Jun 2017 20:07:11 +0000 Received: from DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76]) by DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76%13]) with mapi id 15.01.1199.007; Fri, 16 Jun 2017 20:07:11 +0000 From: Steven Crangle To: Alan Somers CC: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs Thread-Topic: Possible bug in ifconfig regarding ip addresses and fibs Thread-Index: AQHS5rmyqfU3WxD1JU2qp4KbhtfsE6InqUyAgAAFFn6AAAKAAIAAJe0zgAATwms= Date: Fri, 16 Jun 2017 20:07:11 +0000 Message-ID: References: , , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=stream-technologies.com; x-originating-ip: [2603:10a6:4:55:cafe::71] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR07MB3445; 7:ubkyv7UrUiWuk3TLjTpVZNFbf9F/HIOyUwNvqjOOvaOdeh9YN665H3H0Wj3iE+/wrlqTMLuBQY/CnZ0vD5ppOsZrpi6Th1EjrWQydv1chkyku7T0Emah4Ygitrbk/BD8Uw8Hdgemo1JOI2+gNA9OKJ8X89TdehIu3mf5zhg23gg5Nl6XHtv2txjZeWaZ0XMevJWVtQUHRhEa6Vtdm+KtY1owPH3wg9ewvPnueNl+X2/uSjtkE1PiJC3KK5CFY+jPWZ52eeXe4tL3bGOqBkBRYUBWENd+6olaM7NkNQMj9uKOq0eHJnSMjxLAbU0kQVrgCV+24IvZOQQvZeSKdIW4TiaZvC5Al2XM4vYMyFWHy8qQGDtuDchOjaqJE8E594+7BbincM5vBOTfnDbFcs+x/AKmTOePnNayD9yC12vGSPrX4+niFiVU7p5wILqSRkbwADQmVoT7to/jg2+zeTEI9CSZ9r9Xc7GCgQOWDY0gvXfM/iQuc+Rv7zbYZTT31XEdERwZhLNnwpN+Kuh4UOza0GLbMk9YeCBPcvB0lsZB5lDhFYfeICldeLLq01rkaDt2kntJkL4K8kgn8SZOZXjgthwyP6YVccHKwnOILlQtaLxtB6+bEro9jj0A+Eyfj3Cv0A7cElgBhYr+/UZSHH0Zsk0VhRHqyMP1ZnL1VuQHmiv9BR+8YrU+4kdkXO07wLcHGxgQN4OXdmIKQfAFbmmv11MgJPN8bVhI1/q/0CSYQIr0R/aWERx0L/USIUBRwWm9zHaNYXt3je5k/Hj34ii2s+pKVUfgWMqH9Ik+buR7RQA= x-ms-office365-filtering-correlation-id: 8f28817d-e0b9-49a3-8d86-08d4b4f34620 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500041)(300135000095)(300000501041)(300135300095)(22001)(300000502041)(300135100095)(2017030254075)(300000503041)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504041)(300135200095)(300000505041)(300135600095)(300000506037)(300135500095); SRVR:DB6PR07MB3445; x-ms-traffictypediagnostic: DB6PR07MB3445: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(203790808753936)(266611908612381); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR07MB3445; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR07MB3445; x-forefront-prvs: 0340850FCD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39450400003)(39410400002)(39400400002)(39830400002)(24454002)(377454003)(43784003)(5660300001)(102836003)(478600001)(80792005)(110136004)(2900100001)(2906002)(3280700002)(38730400002)(54356999)(19273905006)(81166006)(8936002)(7696004)(50986999)(189998001)(99286003)(8676002)(5250100002)(76176999)(55016002)(3660700001)(19627405001)(54896002)(53936002)(86362001)(4326008)(450100002)(74316002)(14454004)(606005)(733005)(7906003)(9686003)(966005)(236005)(6306002)(6436002)(6246003)(25786009)(72206003)(53546009)(6506006)(7736002)(6916009)(93886004)(2950100002)(33656002)(6116002)(16866105001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR07MB3445; H:DB6PR07MB3111.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: stream-technologies.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2017 20:07:11.1736 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 720fa073-5781-43bf-bc14-7bef2603ed21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB3445 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 20:07:15 -0000 Actually just realised I was setting the sysctl to 1 as I'm a bit brain dea= d and tired.. haha Just tried again with the correct value and it worked! So it's all configured correctly now. Thanks again for your help! Steven ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: Steven Crangle Sent: 16 June 2017 20:09:38 To: Alan Somers Cc: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs Aha! Just checked and net.add_addr_allfibs is set to 0, but after updating = it and restarting, the issue still persists! That bug seems to be relevant to duplicate addresses, figured I would be cl= ear from any sort of weird behaviour with using different ones. Either way, I think I can figure out a solution for my problem without conf= iguring the second 124 address onto manee. I just figured I'd report here i= ncase it was unexpected behaviour. Might also take a look into the source too and see if anything crops up! Thanks again for your help! Steven ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: asomers@gmail.com on behalf of Alan Somers Sent: 16 June 2017 17:39:48 To: Steven Crangle Cc: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs On Fri, Jun 16, 2017 at 10:35 AM, Steven Crangle > wrote: Hi Alan, Thanks for the fast reply. I actually think I had the fib 5 part appended to the line previously, but = had somehow removed it in my repeated attempts! Either way, I just tried yo= ur solution, and it results in the same behaviour. The initial two IP's are assigned, but the final 192.168.124.216 is not. When i get chance, I'll try moving the mgmt IP from the 124 range to someth= ing else and repeating, as I'm sure it's some sort of interaction between m= anee and mgmt. Since the commands are successful if I change the final addr= esses IP to a different range! Thanks Steven What's your value of net.add_addr_allfibs ? If should probably be 0, depen= ding on what exactly your trying to do. Also, this bug might be relevant: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D189088 If you have the option of using different IP addresses, then that will defi= nitely be the easiest solution. -Alan