Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 2B4DC224089 for <~alpine/users@lists.alpinelinux.org>; Wed, 11 Oct 2023 15:01:31 +0000 (UTC) Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-522bd411679so11405296a12.0 for <~alpine/users@lists.alpinelinux.org>; Wed, 11 Oct 2023 08:01:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697036490; x=1697641290; 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=3g4gbuv92Z2fkelq/QvUYq9IU0l9sLor6CKfviw0+gs=; b=QukLedVb+UfkSXJNPTpeYO+PoG668r3bKlmR0ALi7sSBfErmXgndJ62bWiYZflPfO0 SfLtZnl3HyQqr20bxah+J1BiXdp3v8FCBOAcG4ka7bmFgDIHdstrIDp+LWQ4W1Q3Ya9X El2MjraK7ijtF6VIsXOkHiSUfEgQjMacc2aTN6lS4Fnr6ucuJ0jK9ZSvV7HzGxUqJhmy Wi4pbQtNa7bYDNKQJ3UFzjnnodNC16O3tQePziOq7J146nCUvHimiyCHpqwW9gB3F76i T5qP5DQDvJHQnMzS9VEFNaJ7ncKLfJVMSswUkY72qqdcpS9Ufp1WJi3H/zfHfqAphkpl i9cQ== X-Gm-Message-State: AOJu0YzUy7yF77gI9FrLyodpQKOh2NaE1C69rTjXZ0nS/drZaGjMDwaO lNNBUTNcwXgA32KE5q8bmanTMfepSqdi5h3mJJY= X-Google-Smtp-Source: AGHT+IEOzrt9XzrJ2spokv4AKmqHwpVnpOBL3EXYpz7uUg3mbAohznl2PKcf9bOEDEhvKAGLkShC70DfwVKmeTXV5zY= X-Received: by 2002:aa7:dc0f:0:b0:52c:b469:bafd with SMTP id b15-20020aa7dc0f000000b0052cb469bafdmr17909706edu.41.1697036490206; Wed, 11 Oct 2023 08:01:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Guido Trotter Date: Wed, 11 Oct 2023 17:01:18 +0200 Message-ID: Subject: Re: using ip command to config bond interface To: Guning Lin Cc: noloader@gmail.com, ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" 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 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 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