From nobody Sun Feb 18 03:04:54 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TcrBG41pMz5B8Z1 for ; Sun, 18 Feb 2024 03:04:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TcrBG2rM7z4L8h for ; Sun, 18 Feb 2024 03:04:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708225494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=f0nbvyDB9lkGqwa9S+6PWaQKrZHe4B3+1BbZ1tVuRFo=; b=PUolVUNEt5UZoj7hMQ86ubbilocNGmWY6xOyVCHBGvRJ4No7Za4E/kRhWPRiaBCGUiWYIb qCQL8T7xriC4VhEgFU9LTm3bTHk81Fqs+JdlhH6ov1Ie00gR/9LVj3PB4n2wTDTOUKrwt1 FbRSRMb3Pnau4fdo8LZ1Ar1HTbbaunsKPD7lGmqNmE93D3AzieJW0ztY75KziI0WmE9qCn 1pYaS2F5uzdtHqVPGkruPuGk62EdSjm9Ibj/z3xrL2dw9U/jHfUp2br+eQ3MpAmCvTA9RT IVk8L3mfPsQ3r9bmCa6sRiZwhQnE22HxlX3EyMecbRz8KUpqoed4hjoi5+xPhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708225494; a=rsa-sha256; cv=none; b=qookPM9w/P5AOzoH9ODatDcJD/lALdhKfrc4Deh+Out2Xv2HMlwm6p5RRRTFSiD1rhdndR mXHYi1VeRCV63qRA/tQMrT2mJUO35EPAh9njIRxfRg/WORYO5X7LJg1oasokSddC1PRxqg WqgLTLmgwtgqQHt2mgIDLYxAz6zC2Shjx5mfjdpgKeW7JESfg5WoSsBFsmxk/1/M0YMGvE HYKdXG45yxlc0dDS48oY8SiL2PkefXdHumBE3kwPndg72Ostf+yDJuUAxaDUkT4Bj+iGms H0qN470qOqsEOa/iGXVWwbBwc3Ty7luEDyZNpXewMhFctrpgCsKSTJahlGmFdQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TcrBG1srnzZYP for ; Sun, 18 Feb 2024 03:04:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41I34s8N021154 for ; Sun, 18 Feb 2024 03:04:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41I34sdD021153 for bugs@FreeBSD.org; Sun, 18 Feb 2024 03:04:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277125] ifconfig: ioctl (SIOCAIFADDR): File exists to existing P2P dest_addr Date: Sun, 18 Feb 2024 03:04:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alex@i.org.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277125 Bug ID: 277125 Summary: ifconfig: ioctl (SIOCAIFADDR): File exists to existing P2P dest_addr Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: alex@i.org.ua Making backup GRE link and getting destination IP address from another link (OSPF, bird2, frr). # ifconfig gre3 gre3: flags=3D8051 metric 0 mtu 1500 options=3D80000 tunnel inet 10.8.98.3 --> 10.8.98.1 groups: gre nd6 options=3D9 # route get 10.8.34.65/30 route to: 10.8.34.65 destination: 10.8.34.64 mask: 255.255.255.252 gateway: 10.8.34.2 fib: 0 interface: ipsec0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 # route get 10.8.34.66 route to: 10.8.34.66 destination: 10.8.34.66 gateway: 10.8.34.2 fib: 0 interface: ipsec0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 # ifconfig gre3 10.8.34.65/30 10.8.34.66 ifconfig: ioctl (SIOCAIFADDR): File exists It works properly here # route delete 10.8.34.66 && ifconfig gre3 10.8.34.65/30 10.8.34.66 && echo= ok delete host 10.8.34.66 ok and here, when another IP from /30 is used #ifconfig gre3 10.8.34.65/30 10.8.34.67 && echo ok ok # uname -a | blur FreeBSD ... 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 GENERIC amd64 Expecting local assignments should have more priority. Didn't tried with another FreeBSD release, but 13.2 is affected. --=20 You are receiving this mail because: You are the assignee for the bug.=