From nobody Sun Oct 15 09:38:14 2023 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 4S7ZtH1F80z4whcF for ; Sun, 15 Oct 2023 09:38:15 +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 4S7ZtH0Djcz4cVS for ; Sun, 15 Oct 2023 09:38:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697362695; a=rsa-sha256; cv=none; b=ftPsldLd9a6sCLdqZP6MQrKwVMD+rknlXFPBp/bWEMfY52+T7E2+q1SjQecO1MHh1UDavo Gd309sae9f1Y29lvYN/Wpz1sU8XRPgpshkZZjNNUVRedRB5VPExRYt2Ylh7OK+uWSL3lfj WM7VsXM8bJM//7R/j9z4CkdYXVFkd/NXcdshXujC0b7mCh5QNySZcLgm7f56yCuffym/t3 lbvZ2rGj3s3xjF1j9KyD+e8TpCIv8KjiSuoS2lSVpMUsfe6ZS3caURKqyazZ1SC/QMlRus WMUk7Y6E8lOSv4W4l7RQOOxWPjocpYEGISJXAkXXhWAyM5qmoKwVRi203sa5BQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697362695; 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=z/hjKVCa0PwhotFxZTAtz7bE4NLMh0dL98RdLuwE9U4=; b=TsLrs3bjtq89ViR7SumzZT9X0KU9h+JUlFX3TpgnxRxBV5uAVpNijfuFxRmW0ejpyVXWnH COrtX7ELSg2+d+4+xyEfAVv64Oy2VfUc2QyTnkPjLKwVIPmqki/Z9RUAtKxZcQ6zNp51fK hTROQaja1MPuE57R1BpKy23QNxBZp3YSdDG2aeEmwPKhSpC39aro4imvRvk/b3c+ZIbimc u7LNssx3aes/L3Ahlq25NVEbjiLNS2aBMHOSxQzdijqWGh9g4gI/YX715t7XlqaAnLkAD3 L2dZGGOaYL6hH+cr7GdfXv62ZyxqfXcpD5LpUttCAYVhAR8eOnRNpeWituk+ZA== 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 4S7ZtG61ytz16qf for ; Sun, 15 Oct 2023 09:38:14 +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 39F9cERr044657 for ; Sun, 15 Oct 2023 09:38:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39F9cEbc044656 for bugs@FreeBSD.org; Sun, 15 Oct 2023 09:38:14 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 274483] [route] change interface is ignored Date: Sun, 15 Oct 2023 09:38:14 +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: dinoex@FreeBSD.org 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=3D274483 Bug ID: 274483 Summary: [route] change interface is ignored Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: dinoex@FreeBSD.org FreeBSD 13.2-RELEASE-p1 releng/13.2-n254621-08b87f63a046 GENERIC amd64 Setup: I route a public IP-network via gre tunnel. For diagnostic reasons I switched routing over a second tunnel, this failed to work. Diagnostics: # route get 192.0.2.128/25 route to: 192.0.2.128 destination: 192.0.2.128 mask: 255.255.255.128 fib: 0 interface: gre1 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1476 1 0 # route change 192.0.2.128/25 -interface gre2 change net 192.0.2.128: gateway gre2 fib 0 # route get 192.0.2.128/25 route to: 192.0.2.128 destination: 192.0.2.128 mask: 255.255.255.128 fib: 0 interface: gre1 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1476 1 0 Note this still shows "gre1" not "gre2" The effective route is not changed as the output of route told above. Workaround: # route del 192.0.2.128/25 del net 192.0.2.128 fib 0 # route add 192.0.2.128/25 -interface gre2 add net 192.0.2.128: gateway gre2 fib 0 # route get 192.0.2.128/25 route to: 192.0.2.128 destination: 192.0.2.128 mask: 255.255.255.128 fib: 0 interface: gre2 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1476 1 0 --=20 You are receiving this mail because: You are the assignee for the bug.=