From nobody Sun Sep 12 10:57:35 2021 X-Original-To: freebsd-current@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 7ACE517B477E for ; Sun, 12 Sep 2021 10:57:50 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4H6mmG286Hz4fXT for ; Sun, 12 Sep 2021 10:57:49 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from iva5-8cd627e71aff.qloud-c.yandex.net (iva5-8cd627e71aff.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7b87:0:640:8cd6:27e7]) by forward100j.mail.yandex.net (Yandex) with ESMTP id B244E64F3086; Sun, 12 Sep 2021 13:57:40 +0300 (MSK) Received: from iva8-a4a480c9f089.qloud-c.yandex.net (iva8-a4a480c9f089.qloud-c.yandex.net [2a02:6b8:c0c:da5:0:640:a4a4:80c9]) by iva5-8cd627e71aff.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 24MbcrI9Eu-veEWJ246; Sun, 12 Sep 2021 13:57:40 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1631444260; bh=fRAb5eTGUUXmfDVrrxz9idxNv9RwReAn5jhpe3seHAc=; h=To:References:Date:Subject:Cc:From:Message-Id:In-Reply-To; b=k3HY5xoDqy0eBNzDSjSJDXNr65lNtGvSMfLTx9yzxfxh26IicwCH/wQo253GBgZtC BADz7iZW3kdn8HqVeOb4PQZ44S196YOKdi4mB9ikG2qElDXpzpalFS4jD3qcAiAgqW k5mYFV4+ekOYpbk9ofoEc6eTjMvwh8bZfD3mzXXk= Received: by iva8-a4a480c9f089.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id bEEhdHyGCH-vduOvNaj; Sun, 12 Sep 2021 13:57:40 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument From: "Alexander V. Chernikov" In-Reply-To: <20210912085251.Horde.dJZ_ni5aqZJvfo8nNMVOcBL@uats.od.ua> Date: Sun, 12 Sep 2021 11:57:35 +0100 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210912085251.Horde.dJZ_ni5aqZJvfo8nNMVOcBL@uats.od.ua> To: Yuri Tcherkasov X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4H6mmG286Hz4fXT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 12 Sep 2021, at 06:52, Yuri Tcherkasov wrote: >=20 > Hi >=20 > I'm binary upgrade FreeBSD from 10.2 to 13.0 >=20 > After upgrate all workin well, but I need add one more routing table. = So add to > GENERIC kernel You can add 'net.fibs=3D2' in the loader.conf, there is no need to = recompile the kernel. You can also set in runtime via sysctl. >=20 > options ROUTETABLES=3D2 >=20 > and recompile it. > After normaly recompile can't configure ipfw nat with error >=20 > ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument Could you share the particular command failing? >=20 > Returning original kernel instataling with upgrade resolve problem = with nat but multiple route I can't use. >=20 > Anybody can help me? >=20 > Thanx! >=20 > --=20 > -- > Yuri Tcherkasov > E-Mail: tyv@uats.od.ua >=20 >=20