Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 2750A224155 for <~alpine/users@lists.alpinelinux.org>; Wed, 11 Oct 2023 15:44:58 +0000 (UTC) Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-1dcf357deedso4347815fac.0 for <~alpine/users@lists.alpinelinux.org>; Wed, 11 Oct 2023 08:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697039097; x=1697643897; darn=lists.alpinelinux.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Sz+800mv/M54VJmeHf1l7GD7RKKS7eShLHMIudAmGq4=; b=MIIwv62FieHgPvXxISdCp1X4ps8J7X4QgUrQdh9SYk7vBE6pDMTtxwuXcpwN/vB6nC AYXBtaiI2GFAFGMDfc9qUeOXJwcr2XDwP7fFgCRF44uW3jNQ0ZvrtAPfyeGd40KNPO0n EEWQUTfK9dX74plR848A6fMZXw0OfiVWKlZhWrDBbIpwqcB0RQzTbx0ZnW1GAyqB24BA 13T5oCIR4NVOxcXFwgqqo3us6xr6Ss9KHLgKAHDtIy7JNiQRrnm/Rjot4XYr6xfhVtaB G5UKauFgJ3IBd1ign+Nip0SBVYl7Xh4aXnbksmCkx3GRD0tEeb9MFpQdF5Tp+no/R1F6 WyCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697039097; x=1697643897; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Sz+800mv/M54VJmeHf1l7GD7RKKS7eShLHMIudAmGq4=; b=jK2GdaijUAd5rGijP0kAcLRgC/+kQcuyzz5wQDJBbKu5BlXLGRLigagPFCu68kq+QW KAT36QegCju8bQSsXgkPca+Yi8WKSaMoN22Y3u5MmtAsNBVVzn9sukilMyTnQGWyebTN uLgjtYnNgCdbIkL1bIqjGfsH9Cgfc5lBnRbqUE62WXnxrXNI2wL9dHX2mY7v2Z1gYe/Z 6Jf55ld0iUJvLWAFU4wPFo3c6Nznyv7UoYELXYFvO7xptkGC3elRauDprCu96Klis92T 4+pblcnKWtuYM11wp1QOXwxtPRzYsGvevKWLt45YtqfZxunhvfJfqTQGgCf91beOx2q5 zLpA== X-Gm-Message-State: AOJu0YyexhoL3MQWtZ+oPaVMX+4qfnWta4YzZWElN4SEysYIHjT+mDSj Le/Z/meab0ov+I38a8okFxopi6bEwL2cM6rnasM= X-Google-Smtp-Source: AGHT+IGwzcCcPqvAIgPJ9tw9p776M+hPmiNvtDUWQ41B5lLyIQpActwSSpfGPC0v5xlZpDjNua3GJgJNdxP+N+mtzHE= X-Received: by 2002:a05:6870:a550:b0:1d6:ef37:9416 with SMTP id p16-20020a056870a55000b001d6ef379416mr28051249oal.22.1697039097542; Wed, 11 Oct 2023 08:44:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Guning Lin Date: Wed, 11 Oct 2023 23:44:46 +0800 Message-ID: Subject: Re: using ip command to config bond interface To: Guido Trotter Cc: noloader@gmail.com, ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000943a9f060772b47f" --000000000000943a9f060772b47f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, I'll check it out! Guido Trotter =E4=BA=8E2023=E5=B9=B410=E6=9C=8811=E6= =97=A5=E5=91=A8=E4=B8=89 23:01=E5=86=99=E9=81=93=EF=BC=9A > On Wed, 11 Oct 2023 at 16:04, Guning Lin wrote: > > > > Hi Jeff: > > I read the manul you provided above and try some commands again. Here i= s > my commands and outputs: > > ----- > > localhost:~# ip link del bond0 > > localhost:~# ip link add bond0 type bond mode active-backup > > Just checking: did you do "apk add iproute2" ? > It seems the "ip" version that comes by default in busybox may not > support all options and might be ignoring your arguments. > I was able to reproduce your error on busybox, and it went away after > I installed iproute2 > > Alternatively the wiki suggests installing the "bonding" packages and > configuring through the interfaces file which I guess does it > differently. > > Cheers, > > Guido > --000000000000943a9f060772b47f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, I'll check it out!=C2=A0

Guido Trotter <= ultrotter@debian.org> =E4=BA= =8E2023=E5=B9=B410=E6=9C=8811=E6=97=A5=E5=91=A8=E4=B8=89 23:01=E5=86=99=E9= =81=93=EF=BC=9A
= On Wed, 11 Oct 2023 at 16:04, Guning Lin <guningh@gmail.com> wrote:
>
> Hi Jeff:
> I read the manul you provided above and try some commands again. Here = is my commands and outputs:
> -----
> localhost:~# ip link del bond0
> localhost:~# ip link add bond0 type bond mode active-backup

Just checking: did you do "apk add iproute2" ?
It seems the "ip" version that comes by default in busybox may no= t
support all options and might be ignoring your arguments.
I was able to reproduce your error on busybox, and it went away after
I installed iproute2

Alternatively the wiki suggests installing the "bonding" packages= and
configuring through the interfaces file which I guess does it
differently.

Cheers,

Guido
--000000000000943a9f060772b47f--