From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-user-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
	by lore.proxmox.com (Postfix) with ESMTPS id 28D5F1FF16C
	for <inbox@lore.proxmox.com>; Fri, 16 Aug 2024 13:26:35 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 733911479B;
	Fri, 16 Aug 2024 13:26:47 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1723807598; x=1724412398; darn=lists.proxmox.com;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=BZLSrmjTXs03W1bGLURJMQEPu7GDWxrnRJ0v3sKgDSM=;
 b=AWq7LKC4ZDq0CWZ+glrvuE4TIuIKmuUEMF9LfRWVobVBkpbieQs7b5s/+tzdpW2Q93
 +lwqm2AzgPzAUlEDVBGSE0j0jujU5xfQ1CaZagEvAqBJVDtAHm/c5KCjWyou8e56ivk5
 8ghpcDK9LnpD98NJJGmrvyUx3DfkpQFKARnKL3/3H7Z1KpyPDwpw/F/OGJJs4AeXncng
 xlnk/IH5rCWC4wYbHSxRznt7RUL7FdA/fsuTDOMIhHARAtqi4w3dOvj/OfJKj1lLPnMd
 WqMQl4qVKu/esmYSWCTrYUwxwLAHasAnvI/0IiOCagNFN1HZQcqVYhyzaW8V6t6/RSk+
 3eJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1723807598; x=1724412398;
 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=BZLSrmjTXs03W1bGLURJMQEPu7GDWxrnRJ0v3sKgDSM=;
 b=agKjdCZkbdTOCu9JlO134t321GEXk/uqB9vPQgTiKTsLQ0pnhYpFoR2uTGmrzpLKyb
 pyS0otBJNmus4Ls1zYchPXQgFXDeLo8breHBA1CV1XU9REmmnn11D0mUEbxADbzJjoDY
 ucdE0QFLfpORPuqvetSu2Im7m6Yb1JXM/efYOFZGMKlzdMeLamheQbwltVMf+LapbZxH
 o7pCpjfoc7Rt6naVSBoP5G991IGYBZPdg6DCx7QUi5XUKRBh1PjSozfLxr6gjmvoeGnK
 Rm+r7v458v2S6wWGwH4UqthwjQp2manNvL3sA3IOX+rBqzFiEboReBpwlxsUNte502xG
 3e5w==
X-Forwarded-Encrypted: i=1;
 AJvYcCVMo6wVWnzJDnZ8uV/a4hZdiTn4Zp3GA9Bwv0hC3TOUlrTdgHoOzkVMUW5y42AmpipweYKvErtF2xjnKzx2MkcT31Y4Buq1SnZTYw==
X-Gm-Message-State: AOJu0YxZCvRRChrk5yFc74vusFAVJcZOvJfhUQmQxHwGKSmaZgouIPPD
 o6FVnmTKN6fKatH4ohgTPCzwy7nElkMvF1pMKVlfRCFk/WUkzpbnZg4rdhXr3VaDxLZ7hYGxk9v
 L7biKaCrPbtv92BZBgw44g1k38Xk=
X-Google-Smtp-Source: AGHT+IHqdd4wlBn2GBb1e1TQ3MOfgZWKL24ikQ0Ds8jjVkox6oGntX0MwC/AsqFD3ecqnpPZDY51uQea3EOxdF3uTYI=
X-Received: by 2002:a05:6512:12c7:b0:52c:deba:7e6e with SMTP id
 2adb3069b0e04-5331c6b2726mr1872415e87.29.1723807596919; Fri, 16 Aug 2024
 04:26:36 -0700 (PDT)
MIME-Version: 1.0
References: <c6aa5e29-4a11-43e3-b9d8-76890bfd52b2@gmail.com>
 <822bb310-e82f-4690-bf83-a73cbe957959@proxmox.com>
 <534f2488-4441-43eb-9767-5e20b531f6b3@gmail.com>
In-Reply-To: <534f2488-4441-43eb-9767-5e20b531f6b3@gmail.com>
From: Gilberto Ferreira <gilberto.nunes32@gmail.com>
Date: Fri, 16 Aug 2024 08:26:24 -0300
Message-ID: <CAOKSTBu75pYDCQs7KDN7xP2-9-J512pX74bnVrqLC-1R-Q8G0Q@mail.gmail.com>
To: matthew@peregrineit.net, Proxmox VE user list <pve-user@lists.proxmox.com>
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.581 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain DMARC_PASS               -0.1 DMARC pass policy
 FREEMAIL_ENVFROM_END_DIGIT 0.25 Envelope-from freemail username ends in digit
 FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider
 HTML_MESSAGE            0.001 HTML included in message
 NUMERIC_HTTP_ADDR       1.242 Uses a numeric IP address in URL
 POISEN_SPAM_PILL_4        0.1 random spam to be learned in bayes
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 T_SCC_BODY_TEXT_LINE    -0.01 -
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [proxmox.com]
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
Subject: Re: [PVE-User] Problem With Bond & VLANs - Help Please
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
Reply-To: Proxmox VE user list <pve-user@lists.proxmox.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pve-user-bounces@lists.proxmox.com
Sender: "pve-user" <pve-user-bounces@lists.proxmox.com>

There's a lot of DOWN and NO CARRIER
I think this indicates a physical connection problem or some sort of
---
Gilberto Nunes Ferreira
+55 (47) 99676-7530
Proxmox VE
VinChin Backup & Restore

Em sex., 16 de ago. de 2024, 07:51, duluxoz <duluxoz@gmail.com> escreveu:

> Hi Stephan,
>
> My apologises, I should have been more precise.
>
> What doesn't work? Most of the ifaces are down (won't come up
> automatically as I expect (not even NIC3)), and so I have no
> connectivity to the LAN, let alone the rest of the outside world.
>
> Yes, each VLAN should have its own gateway - each VLAN is its own
> subnet, of course.
>
> Results of `ip r`:
>
> ~~~
> default via 10.0.200.1 dev vmbr0 proto kernal onlink linkdown
> 10.0.100.0/24 dev bond0.100 proto kernal scope link src 10.0.100.0
> linkdown
> 10.0.200.0/24 dev bond0.200 proto kernal scope link src 10.0.200.0
> linkdown
> 10.0.200.0/24 dev vmbr0 proto kernal scope link src 10.0.200.100 linkdown
> ~~~
>
> Results of `ip a`:
>
> ~~~
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1000
>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>    inet 127.0.0.1/8 scope host lo
>      valid_lft forever preferred_lft forever
>    inet6 ::1/128 scope host noprefixroute
>      valid_lft forever preferred_lft forever
> 2: eno0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
> default qlen 1000
>    link/ether 00:1b:21:e4:a6:f4 brd ff:ff:ff:ff:ff:ff
> 3: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
> default qlen 1000
>    link/ether 00:1b:21:e4:a6:f5 brd ff:ff:ff:ff:ff:ff
> 4: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
> default qlen 1000
>    link/ether 00:1b:21:e4:a6:f6 brd ff:ff:ff:ff:ff:ff
> 5: bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc
> noqueue master vmbr0 state DOWN group default qlen 1000
>    link/ether 4a:3a:67:59:ac:d3 brd ff:ff:ff:ff:ff:ff
> 6: bond0.100@bond0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> noqueue state LOWERLAYERDOWN group default qlen 1000
>    link/ether 4a:3a:67:59:ac:d3 brd ff:ff:ff:ff:ff:ff
>    inet 10.0.100.0/24 scope global bond0.100
>      valid_lft forever preferred_lft forever
> 7: bond0.200@bond0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> noqueue state LOWERLAYERDOWN group default qlen 1000
>    link/ether 4a:3a:67:59:ac:d3 brd ff:ff:ff:ff:ff:ff
>    inet 10.0.200.0/24 scope global bond0.200
>      valid_lft forever preferred_lft forever
> 8: vmbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
> state DOWN group default qlen 1000
>    link/ether 4a:3a:67:59:ac:d3 brd ff:ff:ff:ff:ff:ff
>    inet 10.0.200.100/24 scope global vmbr0
>      valid_lft forever preferred_lft forever
> ~~~
>
> Thanks for taking a look
>
> Cheers
>
> dulux-oz
>
>
> On 16/8/24 19:53, Stefan Hanreich wrote:
> >
> > On 8/16/24 09:36, duluxoz wrote:
> >> Hi All,
> >>
> >> Disclaimer: I'm coming from an EL background - this is my first venture
> >> into Debian-world  :-)
> >>
> >> So I'm having an issue getting the NICs, Bond, and VLANs correctly
> >> configured on a new Proxmox Node (Old oVirt Node). This worked on the
> >> old oVirt config (abit a different set of config files/statements).
> >>
> >> What I'm trying to achieve:
> >>
> >>   * Proxmox Node IP Address: 10.0.200.100/24, Tag:VLAN 200
> >>   * Gateway: 10.0.200.1
> >>   * Bond: NIC1 (eno0) & NIC2 (eno1), 802.3ad
> >>   * VLAN bond0.100: 10.0.100.0/24, Gateway 10.0.100.1
> >>   * VLAN bond0.200: 10.0.200.0/24, Gateway 10.0.200.1
> >>   * NIC3 (eno2): 10.0.300.100/24 - not really relevant, as its not part
> >>     of the Bond, but I've included it to be thorough
> > What *exactly* doesn't work?
> > Does the configuration not apply? Do you not get any connectivity with
> > internet / specific networks?
> >
> >
> > First thing that springs to mind is that you cannot configure two
> > default gateways. There can only be one default gateway. You can
> > configure different gateways for different subnets / interfaces. Or you
> > can configure different routing tables for different processes.
> >
> > Your current configuration specifies three gateways. I assume you want
> > to use different gateways for different subnets?
> >
> >
> > How does the output of the following commands look like?
> >
> > ip a
> > ip r
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user