From nobody Sat Nov 09 15:37:43 2024 X-Original-To: net@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 4Xm0Lc38kGz5cJDP for ; Sat, 09 Nov 2024 15:37:44 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xm0Lb6t7Hz4CQp for ; Sat, 9 Nov 2024 15:37:43 +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=1731166664; 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: in-reply-to:in-reply-to:references:references; bh=Rb1LDmSyzfNTPZ08+AS82kCOWwjovtkWecIBt85nJGU=; b=kYQbTF+cGdy6tAlM7JctQsO2NsVhLXbhF/Iy6/dBpM5dW3b1+fx5X+1W73QubTf7sw2gBQ ivki8poXcqljPAuWbeOEGKXRULKKXe2RwY1SEuGDXEQKQPukwNybpl6/HOvkqreuAtpRou N4ccv35u4v5kLMUQcWtwY+OGrpe1P0wSyd9eGOAkpeVzIJ6Jk8I3orU/WACxL++kxqHYss UP23kVz+YIIUK0NzfsvIA6nTQnZV71qJf425Zq42C7sDbbgcxLLYRDrdLvMLA1B6pEykoI 6EDHu2vRS/4mHxhwuAj1Y7mw8KjG8BzEEM3PMqv3ojrXpRJ3BAicbdVZ8yuBcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731166664; a=rsa-sha256; cv=none; b=N1FiDEv1zVm1vQCU1TgJT1VHBmfw7Pu2a0fE27yAjjYcdkm5p9ZWyf33tQnBQgJg9Q03Ge v6XjpVzD1YfH00pZ/LKCDmvq3bp8n2/HYUJHHYnpQkvl+FVxUDh6IFHw5HRXmhBei0LzZl nSl8B00DwPC6JT+GOvV9444UGq796o6bVdxB1p8yjM1R/X2CbdWXBJ63CG8Xs/7Auv/iRk DWCPwSrpf4QirSgnC3wIkxHptLcyDbPdnpOk9nBxYqz4Hvnx+YlcRfuGjm6uk9xcnSJlxB L6OxyIo8xTbf5AKJ2TT9yXpJEEKsKUFLdavx49vpfUHjUz9fkw53ShoOGV0Txw== 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 4Xm0Lb6LZTz1JR2 for ; Sat, 9 Nov 2024 15:37:43 +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 4A9Fbh2x055170 for ; Sat, 9 Nov 2024 15:37:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A9Fbhfi055169 for net@FreeBSD.org; Sat, 9 Nov 2024 15:37:43 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: net@FreeBSD.org Subject: [Bug 202038] [request] source address based routing without pf or ipfw Date: Sat, 09 Nov 2024 15:37:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: damjan.jov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202038 Damjan Jovanovic changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com --- Comment #1 from Damjan Jovanovic --- Doesn't support for multiple FIBs give you a way to route by source? For example: # Increase the number of routing tables (FIBs) to 2: # sysctl net.fibs=3D2 # setfib 1 route add 192.168.0.0 -interface wlan0 # setfib 1 route add default 192.168.0.1 Then, for an "application" to use FIB 1 instead of the default 0, just: # setfib 1 application Or to get another source IP address to use FIB 1, make firewall rule to sen= d it there, eg.: # ipfw add allow all from ... to any setfib 1 Is that what you need? --=20 You are receiving this mail because: You are the assignee for the bug.=