From nobody Wed Oct 30 08:20:21 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 4Xdg6Z1b5mz5bv5r for ; Wed, 30 Oct 2024 08:20:22 +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 4Xdg6Y6nc0z47hG for ; Wed, 30 Oct 2024 08:20:21 +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=1730276422; 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=RYLcjT4tkR8G7FpCyCLIjCm9SrRH7IhaarVHVlUlS60=; b=NV6zPJ9/sadyMWOU7Zvu3nr+S3uepeoXLQIjZE2uuDli99cVynSt1GCxcG4fu+m+AR0xKG L8VCVOljmx3XO0kI7IRn1FyebYm6Hu+16Ss4k+U+A8sLnEpcPrajFKmgm6YeMxeP/YGPyp 7q+FQbJVN7cNoXDZnLPDIw/gOPbbs+sSH3zTIT/d5uki3v1Hg+PcI7238ADevh6qBdaHb6 2WFNBUrSwfcnjJUiHa5KMmpP4J6d5wpadgRAGu4K6DJ8yZPxk/k+Kc4mest3JQMyzcCxC4 sqsT6NDxY/Se94tzvUHQn8qF5CuIB8OZ1pVkNGZfX+aoPSQhY1rVtoF0BmREKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730276422; a=rsa-sha256; cv=none; b=VpdifsSCLSf/DOoSs+qJmdPY581cUjOBtKNHnxb8H+tCUB4dvlwsCaVJYdUAuXj6XFh6YL vPMCFSRxGHOgAR5euX5JrPb2mkOUsays+nwvftYX4h7J3+SLCIts9TRqj0HZRhtGjB6pGb KC4fEombtjsDOVvcwK3JuLRa5jP7YO6Mjj/MzVIk2fFHBVBRsQteuK6VKAJ5BHMysleJbu HTEaugvcfwByRY2kMR+yBf89RZrKaumbDzex8E/j07FR3CgSQrS0+o/yGMZ6ztJoG0Zp0J cDGieU37AGbXwOr6Yab2aAya7mK5ZRQ7q31o1uocmhKCUo/dJFbhHSxwF0QzEA== 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 4Xdg6Y6Gncz10LR for ; Wed, 30 Oct 2024 08:20:21 +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 49U8KLqf029457 for ; Wed, 30 Oct 2024 08:20:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49U8KLXs029455 for net@FreeBSD.org; Wed, 30 Oct 2024 08:20:21 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 280648] Traffic leak between fibs Date: Wed, 30 Oct 2024 08:20:21 +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: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D280648 --- Comment #27 from Zhenlei Huang --- (In reply to Egor from comment #0) > Hello everyone. I met a problem with my Freebsd configuration. I used two= fibs fib0 > for management and fib1 for traffic routing. When i tried to connect to m= y freebsd > my ssh session was closed by timeout. This session passed fib1 then it pa= ssed a=20 > switch and then this traffic came to mgmt interface in fib0. (In reply to Egor from comment #26) > Hello, Zhenlei Huang. I want to separate my traffic for two different rou= ting > tables. Jails looks like overhead that will make maintain of the system m= ore complicated. So you set fib0 for management, and fib1 for traffic routing, that is good. For jail setup, it is quite simple. Just leave the host (vnet0) as manageme= nt, and spawn a dedicated vnet jail (say vnet1) for traffic routing, and move a= ll the interfaces those participate the traffic routing and routing daemons to vnet1. The architecture is more clear rather than more complicated. You will benef= it separated firewall rules, fine tuned ( per vnet sysctl knobs ), robust OOB management, etc. Yes, the overhead is one more vnet jail and some setup. --=20 You are receiving this mail because: You are the assignee for the bug.=