From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YECfBqz4ZmXZRgAAauVa8A:P1 (envelope-from ) for ; Wed, 29 Nov 2023 09:39:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YECfBqz4ZmXZRgAAauVa8A (envelope-from ) for ; Wed, 29 Nov 2023 09:39:08 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A8E11136EB for ; Wed, 29 Nov 2023 09:39:07 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WlXddIeI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701247148; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Mx8p2Nr1DRyiIfDGlk2JIlRBtiMCCAZvcKGN5ifAgns=; b=OkMuxr4lhZ6CS5oNr77vXmeZERJL/PAO0LdyIBtGNW54wJh+pXks9OzHCNUrfXpkzpfr9g uZOtkAqE18/NAGDW5VbzFtdWgTwo/ioPPYqPG0wF3WO9PyVJW1q7rkia5ptvktYiUPJZAV oJX/EChIg3KoJFz5VtGSS5KJNoAPAiPoNoWf+MnihkrVA3tN8/v5GC7/ba6T5930mwhlqu /wo6Gsj2OEbQRYCgNpCVJ8CSBiRx2u2leyWxog+LXkSqVW2pmQE3IkJEnPfBabnvudswei zvVgWFJCqWGqvKqBrx4XYZeEjPw8GwQ0TBMjPVnEUJ7ZesUGhsR5plmoRaI9Lw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WlXddIeI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701247148; a=rsa-sha256; cv=none; b=mj5fBi9GqEPpG+gJdw5m9P07SMTE2Sri5N2MWHDkbHhIyxyajFDj2SkFVHbxsz+FGsruRa gDtKHzgo19fAfdSlosJI3AK1DxQl72TyR6TVyJI6H/dfIqcjDu1T4ASMcKNZM/LDfR/BLz sgubMPkebPyuq7G26etMULNEgoFOgMV+ykhIQRQJTUF578Uy3WLfBo4dtOIcyEMk6NP5Kv XAGJphP/bZavkUs4UuqnczaSGdK4J20FenamIbwxWe2GJMF8ZFDCqtb9XOSBvnXLPN+RP5 YrTfeLaYOkB9xZPyDxPypqWMBSS+pdHoluRWo6rVpVZ7PCbqpP41fkggpwcd4Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8G5b-0002UL-Ho; Wed, 29 Nov 2023 03:38:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8G5U-0002Ss-Tf for help-guix@gnu.org; Wed, 29 Nov 2023 03:38:30 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r8G5R-0004yU-E9 for help-guix@gnu.org; Wed, 29 Nov 2023 03:38:27 -0500 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c9b88cf626so15374301fa.3 for ; Wed, 29 Nov 2023 00:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701247104; x=1701851904; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Mx8p2Nr1DRyiIfDGlk2JIlRBtiMCCAZvcKGN5ifAgns=; b=WlXddIeIQY6tEmwAeSLvxQKG7b8e2OCQ1gLX5tojxOb6REYGlAbUAf0wmdZOGgVyZ0 x6sByIUqms4kpzyKJiUUgqnEswLJ2FCSNOd1D633+B9Q8jiEqFZ6051KcoQ1G2CG//j+ Afde2gtGp3yo0bUX7ILxiLMwNo3v5bAHBPbWZY1efeWAO/1cbdhqsaxILv7smZcicHq9 mg/JVWp/RcyDp8VXv07S4TRFn0IfNAXbSlSajevntCC4UrtIUT2BzgLjDJgjwjJaXwrE A8LlF9UBqx0LwggNv06tq3SGE+XqcKMBTkk3or2t1Eg2QvrRq60xmrSS44VqEKbtTsEZ O53Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701247104; x=1701851904; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Mx8p2Nr1DRyiIfDGlk2JIlRBtiMCCAZvcKGN5ifAgns=; b=AsRbXb+n0VITxt32TfLpbFqgKLCsTXFEHhjGUp9CDdGYtgdilDwfQvvadOqRef+OPC qWe0OzyRxg79ilpkiKvgrb+L6jvPle7qzNaMnp5unWeeEjG/mIXDg8Z8sizf0i+9aQlW rHLj7eSTAMPzyO6XxSemD7OTIXWMj0kkDeJlBnXSGILub39/Lz8NBh62zM9qDm49zNTA nx5NrRSreVbi1ys07lbVkXsONPejLLY6DuuAn5ThEYV6KL1KjMI5elhO2KdLDwhB4Xbs +4+BKgXZ2gJiZE11zFq7AymD3r7kuDhjVMRRDhD4OIuz7iyuIDicaJWMg0WALLmk2jYe at0g== X-Gm-Message-State: AOJu0YzALI3Hy1ICRC4EFjQPTKVHnryKuU2QMTMfclOCEVsZfCF/JLZf 1BAqnVGM3S6pNTVSpRr9ylI= X-Google-Smtp-Source: AGHT+IG8cXOT4ZXvCZWx/b0RIKGyPzGhXuGT8upeoM0NvVMNGLVAdkEalNKiiL8ihHxOJT4UdmtD4w== X-Received: by 2002:a19:f80b:0:b0:50b:bafd:5954 with SMTP id a11-20020a19f80b000000b0050bbafd5954mr2750650lff.38.1701247103303; Wed, 29 Nov 2023 00:38:23 -0800 (PST) Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78]) by smtp.gmail.com with ESMTPSA id f15-20020a05651232cf00b0050ba6e989d6sm1631876lfg.268.2023.11.29.00.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 00:38:22 -0800 (PST) Date: Wed, 29 Nov 2023 09:38:17 +0100 From: Lars Rustand To: Oleg Pykhalov Cc: help-guix@gnu.org Subject: Re: Setting up multiple NICs Message-ID: <6shzdzqgez5zr45mx3pljqqcyeizxwbne5jeni5nbyzjlihhrc@nnlrvtkoxj22> References: <87v89lt3dy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l5ihkt7tmfp2jmnb" Content-Disposition: inline In-Reply-To: <87v89lt3dy.fsf@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=rustand.lars@gmail.com; helo=mail-lj1-x22b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -11.05 X-Spam-Score: -11.05 X-Migadu-Queue-Id: A8E11136EB X-Migadu-Scanner: mx12.migadu.com X-TUID: jIEwVKMi9zrc --l5ihkt7tmfp2jmnb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 23/11/29 10:39AM, Oleg Pykhalov wrote: > I think this "management@enp4s0f1" syntax is not what is expected by the > configuration. I think this is the normal naming convention used for VLAN interfaces, at l= east in normal distros. It is also what the interface gets named in the output of `ip link` when I create a `network-link` called "management". > You mentioned that you tried a development version manual. Did you try > configuration similar to the example in that manual? >=20 > https://guix.gnu.org/en/manual/devel/pt-br/html_node/Networking-Setup= =2Ehtml >=20 > --8<---------------cut here---------------start------------->8--- > (static-networking > (links (list (network-link > (name "bond0") > (type 'bond) > (arguments '((mode . "802.3ad") > (miimon . 100) > (lacp-active . "on") > (lacp-rate . "fast")))) >=20 > (network-link > (mac-address "98:11:22:33:44:55") > (arguments '((master . "bond0")))) >=20 > (network-link > (mac-address "98:11:22:33:44:56") > (arguments '((master . "bond0")))) >=20 > (network-link > (name "bond0.1055") > (type 'vlan) > (arguments '((id . 1055) > (link . "bond0")))))) > (addresses (list (network-address > (value "192.168.1.4/24") > (device "bond0.1055"))))) > --8<---------------cut here---------------end--------------->8--- Yes, that is the example I have based my config on. > So your configuration would be like: > --8<---------------cut here---------------start------------->8--- > (service static-networking-service-type > (list (static-networking > (links > (list (network-link > (name "enp4s0f1.3") > (type 'vlan) > (arguments '((id . 3) > (link . "enp4s0f1")))) > (network-link > (name "enp4s0f1.4") > (type 'vlan) > (arguments '((id . 4) > (link . "enp4s0f1")))) > (network-link > (name "enp4s0f1.5") > (type 'vlan) > (arguments '((id . 5) > (link . "enp4s0f1")))) > (network-link > (name "enp4s0f1.6") > (type 'vlan) > (arguments '((id . 6) > (link . "enp4s0f1")))) > (network-link > (name "enp4s0f1.2") > (type 'vlan) > (arguments '((id . 2) > (link . "enp4s0f1")))))) > (addresses > (list (network-address > (device "enp2s0") > (value "192.168.10.2/24")) > (network-address > (device "enp4s0f1.3") > (value "10.0.3.1/24")) > (network-address > (device "enp4s0f1.4") > (value "10.0.4.1/24")) > (network-address > (device "enp4s0f1.5") > (value "10.0.5.1/24")) > (network-address > (device "enp4s0f1.6") > (value "10.0.6.1/24")) > (network-address > (device "enp4s0f1.2") > (value "192.168.0.2/24"))))))) > --8<---------------cut here---------------end--------------->8--- Thanks, I tried that but it gave the same type of error. When trying to sta= rt the networking service I get an error "#<&netlink-response-error errno: 17>= ", which, from what I can tell, means file exists. I think it might have problems creating multiple VLAN interfaces on the sam= e NIC for some reason. Also, when using your config above, only one of the VLAN interfaces are cre= ated, and it is named "enp4s0f1.3@enp4s0f1" in the output of `ip link`. > Also, may try without =E2=80=98(network-address (device "enp2s0") (value > "192.168.10.2/24"))=E2=80=99 block. I can't do that, since this is the interface I use to log in to the machine. And, this part is actually working, so there should be no reason to remove = it. --l5ihkt7tmfp2jmnb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEiiCJ+2D6IxEwRlF4Aitf/nru9hkFAmVm+HkACgkQAitf/nru 9hmgLgv/eYTHBle9ede9pFbpP+69BRfgvH2fgIIG0nkIiuUYdhtYuVCIyhd11eM3 /O1C7t2qZTrkIK8SFHEjSxx1dqaeyWvphkaTaBFL6u4AXDZArkZCj+46oREWpm8f lGCO72/V3YGr5nqll0d5ltY4Ayrq4uTKqeI2XCIYHlB2casMjHZ8g9yIG1iw3/ky or4qiEoMYDkhQXSHm16jnjxyfGmXfvtDeV2r3qmJS1uPUuiApq8E6dyT5QikEN80 Xz0tQmR2jxse5nw48Rt8VIcYKOMOBDD680MuqvZ383Fo4IBkYPCcau/dPskkbWAF iU4lY5vyRnEgSDq/Xs1H3EDXR6g8V6PLH517eCavwGqhKG6fH/+BzfhK00HO8vUi 5279VTjpsSXE+0iUaofNUsdVJ8VhrYL3D/kqCRdPwCW5utNJQp8greAsRjFS2Dc8 fgX2IcNlyH0PqdABz+zI9xFygYj+QX6L9DUuFIH7JWluWmYX21j8vBQLFrsDT0N7 QGt+mLnQ =idAy -----END PGP SIGNATURE----- --l5ihkt7tmfp2jmnb--